@Stability(value=Stable) public static final class CfnSegmentProps.Builder extends Object implements software.amazon.jsii.Builder<CfnSegmentProps>
CfnSegmentProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnSegmentProps.Builder |
applicationId(String applicationId)
Sets the value of
CfnSegmentProps.getApplicationId() |
CfnSegmentProps |
build()
Builds the configured instance.
|
CfnSegmentProps.Builder |
dimensions(CfnSegment.SegmentDimensionsProperty dimensions)
Sets the value of
CfnSegmentProps.getDimensions() |
CfnSegmentProps.Builder |
dimensions(IResolvable dimensions)
Sets the value of
CfnSegmentProps.getDimensions() |
CfnSegmentProps.Builder |
name(String name)
Sets the value of
CfnSegmentProps.getName() |
CfnSegmentProps.Builder |
segmentGroups(CfnSegment.SegmentGroupsProperty segmentGroups)
Sets the value of
CfnSegmentProps.getSegmentGroups() |
CfnSegmentProps.Builder |
segmentGroups(IResolvable segmentGroups)
Sets the value of
CfnSegmentProps.getSegmentGroups() |
CfnSegmentProps.Builder |
tags(Object tags)
Sets the value of
CfnSegmentProps.getTags() |
@Stability(value=Stable) public CfnSegmentProps.Builder applicationId(String applicationId)
CfnSegmentProps.getApplicationId()applicationId - The unique identifier for the Amazon Pinpoint application that the segment is associated with. This parameter is required.this@Stability(value=Stable) public CfnSegmentProps.Builder name(String name)
CfnSegmentProps.getName()name - The name of the segment. This parameter is required.this@Stability(value=Stable) public CfnSegmentProps.Builder dimensions(CfnSegment.SegmentDimensionsProperty dimensions)
CfnSegmentProps.getDimensions()dimensions - The criteria that define the dimensions for the segment.this@Stability(value=Stable) public CfnSegmentProps.Builder dimensions(IResolvable dimensions)
CfnSegmentProps.getDimensions()dimensions - The criteria that define the dimensions for the segment.this@Stability(value=Stable) public CfnSegmentProps.Builder segmentGroups(CfnSegment.SegmentGroupsProperty segmentGroups)
CfnSegmentProps.getSegmentGroups()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.this@Stability(value=Stable) public CfnSegmentProps.Builder segmentGroups(IResolvable segmentGroups)
CfnSegmentProps.getSegmentGroups()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.this@Stability(value=Stable) public CfnSegmentProps.Builder tags(Object tags)
CfnSegmentProps.getTags()tags - An array of key-value pairs to apply to this resource.
For more information, see Tag .this@Stability(value=Stable) public CfnSegmentProps build()
build in interface software.amazon.jsii.Builder<CfnSegmentProps>CfnSegmentPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.