@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SegmentsResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about all the segments that are associated with an application.
Constructor and Description |
---|
SegmentsResponse() |
Modifier and Type | Method and Description |
---|---|
SegmentsResponse |
clone() |
boolean |
equals(Object obj) |
List<SegmentResponse> |
getItem()
An array of responses, one for each segment that's associated with the application (Segments resource) or each
version of a segment that's associated with the application (Segment Versions resource).
|
String |
getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setItem(Collection<SegmentResponse> item)
An array of responses, one for each segment that's associated with the application (Segments resource) or each
version of a segment that's associated with the application (Segment Versions resource).
|
void |
setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
String |
toString()
Returns a string representation of this object.
|
SegmentsResponse |
withItem(Collection<SegmentResponse> item)
An array of responses, one for each segment that's associated with the application (Segments resource) or each
version of a segment that's associated with the application (Segment Versions resource).
|
SegmentsResponse |
withItem(SegmentResponse... item)
An array of responses, one for each segment that's associated with the application (Segments resource) or each
version of a segment that's associated with the application (Segment Versions resource).
|
SegmentsResponse |
withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
public List<SegmentResponse> getItem()
An array of responses, one for each segment that's associated with the application (Segments resource) or each version of a segment that's associated with the application (Segment Versions resource).
public void setItem(Collection<SegmentResponse> item)
An array of responses, one for each segment that's associated with the application (Segments resource) or each version of a segment that's associated with the application (Segment Versions resource).
item
- An array of responses, one for each segment that's associated with the application (Segments resource) or
each version of a segment that's associated with the application (Segment Versions resource).public SegmentsResponse withItem(SegmentResponse... item)
An array of responses, one for each segment that's associated with the application (Segments resource) or each version of a segment that's associated with the application (Segment Versions resource).
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
- An array of responses, one for each segment that's associated with the application (Segments resource) or
each version of a segment that's associated with the application (Segment Versions resource).public SegmentsResponse withItem(Collection<SegmentResponse> item)
An array of responses, one for each segment that's associated with the application (Segments resource) or each version of a segment that's associated with the application (Segment Versions resource).
item
- An array of responses, one for each segment that's associated with the application (Segments resource) or
each version of a segment that's associated with the application (Segment Versions resource).public void setNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String getNextToken()
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
public SegmentsResponse withNextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
nextToken
- The string to use in a subsequent request to get the next page of results in a paginated response. This
value is null if there are no additional pages.public String toString()
toString
in class Object
Object.toString()
public SegmentsResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.