public class SegmentsResponse extends Object implements Serializable, Cloneable
Constructor and Description |
---|
SegmentsResponse() |
Modifier and Type | Method and Description |
---|---|
SegmentsResponse |
clone() |
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)
NOTE: This method appends the values to the existing list (if any). Use
setItem(java.util.Collection)
or withItem(java.util.Collection)
if you want to override the
existing values.
item
- The list of segments.public SegmentsResponse withItem(Collection<SegmentResponse> item)
item
- The list of segments.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 String getNextToken()
public SegmentsResponse withNextToken(String nextToken)
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()
public SegmentsResponse clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.