Interface SegmentsResponse.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SegmentsResponse.Builder,SegmentsResponse>,SdkBuilder<SegmentsResponse.Builder,SegmentsResponse>,SdkPojo
- Enclosing class:
- SegmentsResponse
public static interface SegmentsResponse.Builder extends SdkPojo, CopyableBuilder<SegmentsResponse.Builder,SegmentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SegmentsResponse.Builderitem(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.Builderitem(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.Builderitem(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.BuildernextToken(String nextToken)The string to use in a subsequent request to get the next page of results in a paginated response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
item
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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
item
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.Builderavoiding the need to create one manually viaSegmentResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#item(List.) - Parameters:
item- a consumer that will call methods onSegmentResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#item(java.util.Collection)
-
nextToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-