Interface ListSegmentDefinitionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListSegmentDefinitionsResponse.Builder,
,ListSegmentDefinitionsResponse> CustomerProfilesResponse.Builder
,SdkBuilder<ListSegmentDefinitionsResponse.Builder,
,ListSegmentDefinitionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListSegmentDefinitionsResponse
@Mutable
@NotThreadSafe
public static interface ListSegmentDefinitionsResponse.Builder
extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder<ListSegmentDefinitionsResponse.Builder,ListSegmentDefinitionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<SegmentDefinitionItem> items) List of segment definitions.items
(Consumer<SegmentDefinitionItem.Builder>... items) List of segment definitions.items
(SegmentDefinitionItem... items) List of segment definitions.The pagination token from the previous call.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse.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 Details
-
nextToken
The pagination token from the previous call.
- Parameters:
nextToken
- The pagination token from the previous call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
List of segment definitions.
- Parameters:
items
- List of segment definitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
List of segment definitions.
- Parameters:
items
- List of segment definitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
List of segment definitions.
This is a convenience method that creates an instance of theSegmentDefinitionItem.Builder
avoiding the need to create one manually viaSegmentDefinitionItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<SegmentDefinitionItem>)
.- Parameters:
items
- a consumer that will call methods onSegmentDefinitionItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-