@Generated(value="software.amazon.awssdk:codegen") public final class SegmentsResponse extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SegmentsResponse.Builder,SegmentsResponse>
Provides information about all the segments that are associated with an application.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SegmentsResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SegmentsResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasItem()
Returns true if the Item property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
List<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).
|
String |
nextToken()
The string to use in a subsequent request to get the next page of results in a paginated response.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SegmentsResponse.Builder> |
serializableBuilderClass() |
SegmentsResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic boolean hasItem()
public List<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).
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasItem() to see if a value was sent in this field.
public 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.
public SegmentsResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SegmentsResponse.Builder,SegmentsResponse>public static SegmentsResponse.Builder builder()
public static Class<? extends SegmentsResponse.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.