public static interface SegmentsResponse.Builder extends CopyableBuilder<SegmentsResponse.Builder,SegmentsResponse>
Modifier and Type | Method and Description |
---|---|
SegmentsResponse.Builder |
item(Collection<SegmentResponse> item)
The list of segments.
|
SegmentsResponse.Builder |
item(Consumer<SegmentResponse.Builder>... item)
The list of segments.
|
SegmentsResponse.Builder |
item(SegmentResponse... item)
The list of segments.
|
SegmentsResponse.Builder |
nextToken(String nextToken)
An identifier used to retrieve the next page of results.
|
copy
applyMutation, build
SegmentsResponse.Builder item(Collection<SegmentResponse> item)
item
- The list of segments.SegmentsResponse.Builder item(SegmentResponse... item)
item
- The list of segments.SegmentsResponse.Builder item(Consumer<SegmentResponse.Builder>... item)
.Builder
avoiding the need to create one manually via #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)
nextToken
- An identifier used to retrieve the next page of results. The token is null if no additional pages
exist.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.