Class CfnSegment.SetDimensionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnSegment.SetDimensionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSegment.SetDimensionProperty>
- Enclosing interface:
- CfnSegment.SetDimensionProperty
@Stability(Stable)
public static final class CfnSegment.SetDimensionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSegment.SetDimensionProperty>
A builder for
CfnSegment.SetDimensionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.dimensionType
(String dimensionType) Sets the value ofCfnSegment.SetDimensionProperty.getDimensionType()
Sets the value ofCfnSegment.SetDimensionProperty.getValues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dimensionType
@Stability(Stable) public CfnSegment.SetDimensionProperty.Builder dimensionType(String dimensionType) Sets the value ofCfnSegment.SetDimensionProperty.getDimensionType()
- Parameters:
dimensionType
- The type of segment dimension to use. Valid values are:INCLUSIVE
, endpoints that match the criteria are included in the segment; and,EXCLUSIVE
, endpoints that match the criteria are excluded from the segment.- Returns:
this
-
values
Sets the value ofCfnSegment.SetDimensionProperty.getValues()
- Parameters:
values
- The criteria values to use for the segment dimension. Depending on the value of theDimensionType
property, endpoints are included or excluded from the segment if their values match the criteria values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSegment.SetDimensionProperty>
- Returns:
- a new instance of
CfnSegment.SetDimensionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-