public static interface ListSegmentsResponse.Builder extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<ListSegmentsResponse.Builder,ListSegmentsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListSegmentsResponse.Builder |
nextToken(String nextToken)
The token to use in a subsequent
ListSegments operation to return the next set of results. |
ListSegmentsResponse.Builder |
segments(Collection<Segment> segments)
An array of structures that contain information about the segments in this Region.
|
ListSegmentsResponse.Builder |
segments(Consumer<Segment.Builder>... segments)
An array of structures that contain information about the segments in this Region.
|
ListSegmentsResponse.Builder |
segments(Segment... segments)
An array of structures that contain information about the segments in this Region.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListSegmentsResponse.Builder nextToken(String nextToken)
The token to use in a subsequent ListSegments operation to return the next set of results.
nextToken - The token to use in a subsequent ListSegments operation to return the next set of
results.ListSegmentsResponse.Builder segments(Collection<Segment> segments)
An array of structures that contain information about the segments in this Region.
segments - An array of structures that contain information about the segments in this Region.ListSegmentsResponse.Builder segments(Segment... segments)
An array of structures that contain information about the segments in this Region.
segments - An array of structures that contain information about the segments in this Region.ListSegmentsResponse.Builder segments(Consumer<Segment.Builder>... segments)
An array of structures that contain information about the segments in this Region.
This is a convenience method that creates an instance of theSegment.Builder avoiding the need to create one
manually via Segment.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #segments(List.
segments - a consumer that will call methods on
Segment.Builder#segments(java.util.Collection) Copyright © 2022. All rights reserved.