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.
|
copy
applyMutation, build
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).
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 that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #item(List)
.item
- a consumer that will call methods on List.Builder
#item(List)
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 © 2019. All rights reserved.