Class CfnSegmentPropsMixin.GroupsProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.pinpoint.mixins.CfnSegmentPropsMixin.GroupsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSegmentPropsMixin.GroupsProperty>
- Enclosing interface:
CfnSegmentPropsMixin.GroupsProperty
@Stability(Stable)
public static final class CfnSegmentPropsMixin.GroupsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSegmentPropsMixin.GroupsProperty>
A builder for
CfnSegmentPropsMixin.GroupsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dimensions(List<? extends Object> dimensions) Sets the value ofCfnSegmentPropsMixin.GroupsProperty.getDimensions()dimensions(IResolvable dimensions) Sets the value ofCfnSegmentPropsMixin.GroupsProperty.getDimensions()sourceSegments(List<? extends Object> sourceSegments) Sets the value ofCfnSegmentPropsMixin.GroupsProperty.getSourceSegments()sourceSegments(IResolvable sourceSegments) Sets the value ofCfnSegmentPropsMixin.GroupsProperty.getSourceSegments()sourceType(String sourceType) Sets the value ofCfnSegmentPropsMixin.GroupsProperty.getSourceType()Sets the value ofCfnSegmentPropsMixin.GroupsProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dimensions
@Stability(Stable) public CfnSegmentPropsMixin.GroupsProperty.Builder dimensions(IResolvable dimensions) Sets the value ofCfnSegmentPropsMixin.GroupsProperty.getDimensions()- Parameters:
dimensions- An array that defines the dimensions to include or exclude from the segment.- Returns:
this
-
dimensions
@Stability(Stable) public CfnSegmentPropsMixin.GroupsProperty.Builder dimensions(List<? extends Object> dimensions) Sets the value ofCfnSegmentPropsMixin.GroupsProperty.getDimensions()- Parameters:
dimensions- An array that defines the dimensions to include or exclude from the segment.- Returns:
this
-
sourceSegments
@Stability(Stable) public CfnSegmentPropsMixin.GroupsProperty.Builder sourceSegments(IResolvable sourceSegments) Sets the value ofCfnSegmentPropsMixin.GroupsProperty.getSourceSegments()- Parameters:
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.
- Returns:
this
-
sourceSegments
@Stability(Stable) public CfnSegmentPropsMixin.GroupsProperty.Builder sourceSegments(List<? extends Object> sourceSegments) Sets the value ofCfnSegmentPropsMixin.GroupsProperty.getSourceSegments()- Parameters:
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.
- Returns:
this
-
sourceType
Sets the value ofCfnSegmentPropsMixin.GroupsProperty.getSourceType()- Parameters:
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.- Returns:
this
-
type
Sets the value ofCfnSegmentPropsMixin.GroupsProperty.getType()- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSegmentPropsMixin.GroupsProperty>- Returns:
- a new instance of
CfnSegmentPropsMixin.GroupsProperty - Throws:
NullPointerException- if any required attribute was not provided
-