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