public static final class CfnSegment.SetDimensionProperty.Builder
extends java.lang.Object
CfnSegment.SetDimensionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnSegment.SetDimensionProperty |
build()
Builds the configured instance.
|
CfnSegment.SetDimensionProperty.Builder |
dimensionType(java.lang.String dimensionType)
Sets the value of
CfnSegment.SetDimensionProperty.getDimensionType() |
CfnSegment.SetDimensionProperty.Builder |
values(java.util.List<java.lang.String> values)
Sets the value of
CfnSegment.SetDimensionProperty.getValues() |
public CfnSegment.SetDimensionProperty.Builder dimensionType(java.lang.String dimensionType)
CfnSegment.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 CfnSegment.SetDimensionProperty.Builder values(java.util.List<java.lang.String> values)
CfnSegment.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 CfnSegment.SetDimensionProperty build()
CfnSegment.SetDimensionProperty
java.lang.NullPointerException
- if any required attribute was not provided