public static final class CfnCampaign.SetDimensionProperty.Builder
extends java.lang.Object
CfnCampaign.SetDimensionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCampaign.SetDimensionProperty |
build()
Builds the configured instance.
|
CfnCampaign.SetDimensionProperty.Builder |
dimensionType(java.lang.String dimensionType)
Sets the value of
CfnCampaign.SetDimensionProperty.getDimensionType() |
CfnCampaign.SetDimensionProperty.Builder |
values(java.util.List<java.lang.String> values)
Sets the value of
CfnCampaign.SetDimensionProperty.getValues() |
public CfnCampaign.SetDimensionProperty.Builder dimensionType(java.lang.String dimensionType)
CfnCampaign.SetDimensionProperty.getDimensionType()
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.this
public CfnCampaign.SetDimensionProperty.Builder values(java.util.List<java.lang.String> values)
CfnCampaign.SetDimensionProperty.getValues()
values
- The criteria values to use for the segment dimension.
Depending on the value of the DimensionType
property, endpoints are included or excluded from the segment if their values match the criteria values.this
public CfnCampaign.SetDimensionProperty build()
CfnCampaign.SetDimensionProperty
java.lang.NullPointerException
- if any required attribute was not provided