Class CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.customerprofiles.CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty>
- Enclosing interface:
CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty
@Stability(Stable)
public static final class CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty>
A builder for
CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dimensionType(String dimensionType) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileDimensionProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dimensionType
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty.Builder dimensionType(String dimensionType) - Parameters:
dimensionType- The action to segment on.- Returns:
this
-
values
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty.Builder values(List<String> values) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileDimensionProperty.getValues()- Parameters:
values- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty>- Returns:
- a new instance of
CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty - Throws:
NullPointerException- if any required attribute was not provided
-