public static interface SegmentsResponse.Builder extends SdkPojo, CopyableBuilder<SegmentsResponse.Builder,SegmentsResponse>
| Modifier and Type | Method and Description |
|---|---|
SegmentsResponse.Builder |
item(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.Builder |
item(Consumer<SegmentResponse.Builder>... 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.Builder |
item(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.Builder |
nextToken(String nextToken)
The string to use in a subsequent request to get the next page of results in a paginated response.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSegmentsResponse.Builder item(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).SegmentsResponse.Builder item(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).SegmentsResponse.Builder item(Consumer<SegmentResponse.Builder>... 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).
This is a convenience method that creates an instance of theSegmentResponse.Builder avoiding the need to create
one manually via SegmentResponse.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #item(List.
item - a consumer that will call methods on
SegmentResponse.Builder#item(java.util.Collection) SegmentsResponse.Builder nextToken(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.Copyright © 2023. All rights reserved.