@Stability(value=Stable) public static final class CfnSegment.Builder extends Object implements software.amazon.jsii.Builder<CfnSegment>
CfnSegment.| Modifier and Type | Method and Description |
|---|---|
CfnSegment.Builder |
applicationId(String applicationId)
The unique identifier for the Amazon Pinpoint application that the segment is associated with.
|
CfnSegment |
build() |
static CfnSegment.Builder |
create(software.constructs.Construct scope,
String id) |
CfnSegment.Builder |
dimensions(CfnSegment.SegmentDimensionsProperty dimensions)
The criteria that define the dimensions for the segment.
|
CfnSegment.Builder |
dimensions(IResolvable dimensions)
The criteria that define the dimensions for the segment.
|
CfnSegment.Builder |
name(String name)
The name of the segment.
|
CfnSegment.Builder |
segmentGroups(CfnSegment.SegmentGroupsProperty segmentGroups)
The segment group to use and the dimensions to apply to the group's base segments in order to build the segment.
|
CfnSegment.Builder |
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.
|
CfnSegment.Builder |
tags(Object tags)
An array of key-value pairs to apply to this resource.
|
@Stability(value=Stable) public static CfnSegment.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnSegment.AttributeDimensionProperty.Builder.@Stability(value=Stable) public CfnSegment.Builder applicationId(String applicationId)
applicationId - The unique identifier for the Amazon Pinpoint application that the segment is associated with. This parameter is required.this@Stability(value=Stable) public CfnSegment.Builder name(String name)
name - The name of the segment. This parameter is required.this@Stability(value=Stable) public CfnSegment.Builder dimensions(CfnSegment.SegmentDimensionsProperty dimensions)
dimensions - The criteria that define the dimensions for the segment. This parameter is required.this@Stability(value=Stable) public CfnSegment.Builder dimensions(IResolvable dimensions)
dimensions - The criteria that define the dimensions for the segment. This parameter is required.this@Stability(value=Stable) public CfnSegment.Builder segmentGroups(CfnSegment.SegmentGroupsProperty segmentGroups)
A segment group can consist of zero or more base segments. Your request can include only one segment group.
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.this@Stability(value=Stable) public CfnSegment.Builder segmentGroups(IResolvable segmentGroups)
A segment group can consist of zero or more base segments. Your request can include only one segment group.
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.this@Stability(value=Stable) public CfnSegment.Builder tags(Object tags)
For more information, see Tag .
tags - An array of key-value pairs to apply to this resource. This parameter is required.this@Stability(value=Stable) public CfnSegment build()
build in interface software.amazon.jsii.Builder<CfnSegment>Copyright © 2022. All rights reserved.