public class SegmentsResponse extends Object implements Serializable
Constructor and Description |
---|
SegmentsResponse() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<SegmentResponse> |
getItem()
The list of segments.
|
String |
getNextToken()
An identifier used to retrieve the next page of results.
|
int |
hashCode() |
void |
setItem(Collection<SegmentResponse> item)
The list of segments.
|
void |
setNextToken(String nextToken)
An identifier used to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SegmentsResponse |
withItem(Collection<SegmentResponse> item)
The list of segments.
|
SegmentsResponse |
withItem(SegmentResponse... item)
The list of segments.
|
SegmentsResponse |
withNextToken(String nextToken)
An identifier used to retrieve the next page of results.
|
public List<SegmentResponse> getItem()
public void setItem(Collection<SegmentResponse> item)
item
- The list of segments.public SegmentsResponse withItem(SegmentResponse... item)
Returns a reference to this object so that method calls can be chained together.
item
- The list of segments.public SegmentsResponse withItem(Collection<SegmentResponse> item)
Returns a reference to this object so that method calls can be chained together.
item
- The list of segments.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- An identifier used to retrieve the next page of results.
The token is null if no additional pages exist.public SegmentsResponse withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- An identifier used to retrieve the next page of results.
The token is null if no additional pages exist.public String toString()
toString
in class Object
Object.toString()
Copyright © 2019. All rights reserved.