Interface CreateSegmentDefinitionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSegmentDefinitionRequest.Builder,,CreateSegmentDefinitionRequest> CustomerProfilesRequest.Builder,SdkBuilder<CreateSegmentDefinitionRequest.Builder,,CreateSegmentDefinitionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateSegmentDefinitionRequest
@Mutable
@NotThreadSafe
public static interface CreateSegmentDefinitionRequest.Builder
extends CustomerProfilesRequest.Builder, SdkPojo, CopyableBuilder<CreateSegmentDefinitionRequest.Builder,CreateSegmentDefinitionRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of the segment definition.displayName(String displayName) The display name of the segment definition.domainName(String domainName) The unique name of the domain.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.segmentDefinitionName(String segmentDefinitionName) The unique name of the segment definition.segmentGroups(Consumer<SegmentGroup.Builder> segmentGroups) Specifies the base segments and dimensions for a segment definition along with their respective relationship.segmentGroups(SegmentGroup segmentGroups) Specifies the base segments and dimensions for a segment definition along with their respective relationship.The tags used to organize, track, or control access for this resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
domainName
The unique name of the domain.
- Parameters:
domainName- The unique name of the domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentDefinitionName
The unique name of the segment definition.
- Parameters:
segmentDefinitionName- The unique name of the segment definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
The display name of the segment definition.
- Parameters:
displayName- The display name of the segment definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the segment definition.
- Parameters:
description- The description of the segment definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentGroups
Specifies the base segments and dimensions for a segment definition along with their respective relationship.
- Parameters:
segmentGroups- Specifies the base segments and dimensions for a segment definition along with their respective relationship.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentGroups
default CreateSegmentDefinitionRequest.Builder segmentGroups(Consumer<SegmentGroup.Builder> segmentGroups) Specifies the base segments and dimensions for a segment definition along with their respective relationship.
This is a convenience method that creates an instance of theSegmentGroup.Builderavoiding the need to create one manually viaSegmentGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosegmentGroups(SegmentGroup).- Parameters:
segmentGroups- a consumer that will call methods onSegmentGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags used to organize, track, or control access for this resource.
- Parameters:
tags- The tags used to organize, track, or control access for this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSegmentDefinitionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateSegmentDefinitionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-