public static final class CfnSegment.GroupsProperty.Builder
extends java.lang.Object
CfnSegment.GroupsProperty
Constructor and Description |
---|
Builder() |
public CfnSegment.GroupsProperty.Builder dimensions(IResolvable dimensions)
CfnSegment.GroupsProperty.getDimensions()
dimensions
- An array that defines the dimensions to include or exclude from the segment.this
public CfnSegment.GroupsProperty.Builder dimensions(java.util.List<? extends java.lang.Object> dimensions)
CfnSegment.GroupsProperty.getDimensions()
dimensions
- An array that defines the dimensions to include or exclude from the segment.this
public CfnSegment.GroupsProperty.Builder sourceSegments(IResolvable sourceSegments)
CfnSegment.GroupsProperty.getSourceSegments()
sourceSegments
- The base segment to build the segment on.
A base segment, also called a source segment , defines the initial population of endpoints for a segment. When you add dimensions to the segment, Amazon Pinpoint filters the base segment by using the dimensions that you specify.
You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the segment size estimate that displays on the Amazon Pinpoint console indicates the size of the imported segment without any filters applied to it.
this
public CfnSegment.GroupsProperty.Builder sourceSegments(java.util.List<? extends java.lang.Object> sourceSegments)
CfnSegment.GroupsProperty.getSourceSegments()
sourceSegments
- The base segment to build the segment on.
A base segment, also called a source segment , defines the initial population of endpoints for a segment. When you add dimensions to the segment, Amazon Pinpoint filters the base segment by using the dimensions that you specify.
You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the segment size estimate that displays on the Amazon Pinpoint console indicates the size of the imported segment without any filters applied to it.
this
public CfnSegment.GroupsProperty.Builder sourceType(java.lang.String sourceType)
CfnSegment.GroupsProperty.getSourceType()
sourceType
- Specifies how to handle multiple base segments for the segment.
For example, if you specify three base segments for the segment, whether the resulting segment is based on all, any, or none of the base segments.this
public CfnSegment.GroupsProperty.Builder type(java.lang.String type)
CfnSegment.GroupsProperty.getType()
type
- Specifies how to handle multiple dimensions for the segment.
For example, if you specify three dimensions for the segment, whether the resulting segment includes endpoints that match all, any, or none of the dimensions.this
public CfnSegment.GroupsProperty build()
CfnSegment.GroupsProperty
java.lang.NullPointerException
- if any required attribute was not provided