Class CfnSegmentDefinition.CalculatedAttributeDimensionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.customerprofiles.CfnSegmentDefinition.CalculatedAttributeDimensionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSegmentDefinition.CalculatedAttributeDimensionProperty>
- Enclosing interface:
CfnSegmentDefinition.CalculatedAttributeDimensionProperty
@Stability(Stable)
public static final class CfnSegmentDefinition.CalculatedAttributeDimensionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSegmentDefinition.CalculatedAttributeDimensionProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.conditionOverrides(IResolvable conditionOverrides) conditionOverrides(CfnSegmentDefinition.ConditionOverridesProperty conditionOverrides) dimensionType(String dimensionType) Sets the value ofCfnSegmentDefinition.CalculatedAttributeDimensionProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dimensionType
@Stability(Stable) public CfnSegmentDefinition.CalculatedAttributeDimensionProperty.Builder dimensionType(String dimensionType) - Parameters:
dimensionType- The action to segment with. This parameter is required.- Returns:
this
-
values
@Stability(Stable) public CfnSegmentDefinition.CalculatedAttributeDimensionProperty.Builder values(List<String> values) Sets the value ofCfnSegmentDefinition.CalculatedAttributeDimensionProperty.getValues()- Parameters:
values- The values to apply the DimensionType with. This parameter is required.- Returns:
this
-
conditionOverrides
@Stability(Stable) public CfnSegmentDefinition.CalculatedAttributeDimensionProperty.Builder conditionOverrides(IResolvable conditionOverrides) - Parameters:
conditionOverrides- Applies the given condition over the initial Calculated Attribute's definition.- Returns:
this
-
conditionOverrides
@Stability(Stable) public CfnSegmentDefinition.CalculatedAttributeDimensionProperty.Builder conditionOverrides(CfnSegmentDefinition.ConditionOverridesProperty conditionOverrides) - Parameters:
conditionOverrides- Applies the given condition over the initial Calculated Attribute's definition.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSegmentDefinition.CalculatedAttributeDimensionProperty>- Returns:
- a new instance of
CfnSegmentDefinition.CalculatedAttributeDimensionProperty - Throws:
NullPointerException- if any required attribute was not provided
-