Class CfnSegmentPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pinpoint.CfnSegmentPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSegmentPropsMixin>
- Enclosing class:
CfnSegmentPropsMixin
@Stability(Stable)
public static final class CfnSegmentPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSegmentPropsMixin>
A fluent builder for
CfnSegmentPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The unique identifier for the Amazon Pinpoint application that the segment is associated with.build()static CfnSegmentPropsMixin.Buildercreate()static CfnSegmentPropsMixin.Buildercreate(CfnPropertyMixinOptions options) An array that defines the dimensions for the segment.dimensions(IResolvable dimensions) An array that defines the dimensions for the segment.The name of the segment.segmentGroups(CfnSegmentPropsMixin.SegmentGroupsProperty segmentGroups) The segment group to use and the dimensions to apply to the group's base segments in order to build the segment.segmentGroups(IResolvable segmentGroups) The segment group to use and the dimensions to apply to the group's base segments in order to build the segment.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnSegmentPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSegmentPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSegmentPropsMixin.Builder.
-
applicationId
The unique identifier for the Amazon Pinpoint application that the segment is associated with.- Parameters:
applicationId- The unique identifier for the Amazon Pinpoint application that the segment is associated with. This parameter is required.- Returns:
this- See Also:
-
dimensions
An array that defines the dimensions for the segment.- Parameters:
dimensions- An array that defines the dimensions for the segment. This parameter is required.- Returns:
this- See Also:
-
dimensions
@Stability(Stable) public CfnSegmentPropsMixin.Builder dimensions(CfnSegmentPropsMixin.SegmentDimensionsProperty dimensions) An array that defines the dimensions for the segment.- Parameters:
dimensions- An array that defines the dimensions for the segment. This parameter is required.- Returns:
this- See Also:
-
name
The name of the segment.A segment must have a name otherwise it will not appear in the Amazon Pinpoint console.
- Parameters:
name- The name of the segment. This parameter is required.- Returns:
this- See Also:
-
segmentGroups
The segment group to use and the dimensions to apply to the group's base segments in order to build the segment.A segment group can consist of zero or more base segments. Your request can include only one segment group.
- Parameters:
segmentGroups- The segment group to use and the dimensions to apply to the group's base segments in order to build the segment. This parameter is required.- Returns:
this- See Also:
-
segmentGroups
@Stability(Stable) public CfnSegmentPropsMixin.Builder segmentGroups(CfnSegmentPropsMixin.SegmentGroupsProperty segmentGroups) The segment group to use and the dimensions to apply to the group's base segments in order to build the segment.A segment group can consist of zero or more base segments. Your request can include only one segment group.
- Parameters:
segmentGroups- The segment group to use and the dimensions to apply to the group's base segments in order to build the segment. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSegmentPropsMixin>- Returns:
- a newly built instance of
CfnSegmentPropsMixin.
-