public class SegmentsResponse
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SegmentsResponse() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<SegmentResponse> |
getItem()
The list of segments.
|
java.lang.String |
getNextToken()
An identifier used to retrieve the next page of results.
|
int |
hashCode() |
void |
setItem(java.util.Collection<SegmentResponse> item)
The list of segments.
|
void |
setNextToken(java.lang.String nextToken)
An identifier used to retrieve the next page of results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SegmentsResponse |
withItem(java.util.Collection<SegmentResponse> item)
The list of segments.
|
SegmentsResponse |
withItem(SegmentResponse... item)
The list of segments.
|
SegmentsResponse |
withNextToken(java.lang.String nextToken)
An identifier used to retrieve the next page of results.
|
public java.util.List<SegmentResponse> getItem()
public void setItem(java.util.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(java.util.Collection<SegmentResponse> item)
Returns a reference to this object so that method calls can be chained together.
item
- The list of segments.public java.lang.String getNextToken()
public void setNextToken(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.