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