Class CfnSegment.AttributeDimensionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnSegment.AttributeDimensionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSegment.AttributeDimensionProperty>
- Enclosing interface:
CfnSegment.AttributeDimensionProperty
@Stability(Stable)
public static final class CfnSegment.AttributeDimensionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSegment.AttributeDimensionProperty>
A builder for
CfnSegment.AttributeDimensionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributeType(String attributeType) Sets the value ofCfnSegment.AttributeDimensionProperty.getAttributeType()build()Builds the configured instance.Sets the value ofCfnSegment.AttributeDimensionProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeType
@Stability(Stable) public CfnSegment.AttributeDimensionProperty.Builder attributeType(String attributeType) Sets the value ofCfnSegment.AttributeDimensionProperty.getAttributeType()- Parameters:
attributeType- the value to be set.- Returns:
this
-
values
Sets the value ofCfnSegment.AttributeDimensionProperty.getValues()- Parameters:
values- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSegment.AttributeDimensionProperty>- Returns:
- a new instance of
CfnSegment.AttributeDimensionProperty - Throws:
NullPointerException- if any required attribute was not provided
-