Interface ListSegmentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSegmentsResponse.Builder,ListSegmentsResponse>,EvidentlyResponse.Builder,SdkBuilder<ListSegmentsResponse.Builder,ListSegmentsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListSegmentsResponse
public static interface ListSegmentsResponse.Builder extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<ListSegmentsResponse.Builder,ListSegmentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSegmentsResponse.BuildernextToken(String nextToken)The token to use in a subsequentListSegmentsoperation to return the next set of results.ListSegmentsResponse.Buildersegments(Collection<Segment> segments)An array of structures that contain information about the segments in this Region.ListSegmentsResponse.Buildersegments(Consumer<Segment.Builder>... segments)An array of structures that contain information about the segments in this Region.ListSegmentsResponse.Buildersegments(Segment... segments)An array of structures that contain information about the segments in this Region.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.evidently.model.EvidentlyResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListSegmentsResponse.Builder nextToken(String nextToken)
The token to use in a subsequent
ListSegmentsoperation to return the next set of results.- Parameters:
nextToken- The token to use in a subsequentListSegmentsoperation to return the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segments
ListSegmentsResponse.Builder segments(Collection<Segment> segments)
An array of structures that contain information about the segments in this Region.
- Parameters:
segments- An array of structures that contain information about the segments in this Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segments
ListSegmentsResponse.Builder segments(Segment... segments)
An array of structures that contain information about the segments in this Region.
- Parameters:
segments- An array of structures that contain information about the segments in this Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segments
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.Builderavoiding the need to create one manually viaSegment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#segments(List.) - Parameters:
segments- a consumer that will call methods onSegment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#segments(java.util.Collection)
-
-