Interface CfnSegmentMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSegmentMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:02.322Z")
@Stability(Stable)
public interface CfnSegmentMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnSegmentPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.pinpoint.*;
Object attributes;
Object metrics;
Object tags;
Object userAttributes;
CfnSegmentMixinProps cfnSegmentMixinProps = CfnSegmentMixinProps.builder()
.applicationId("applicationId")
.dimensions(SegmentDimensionsProperty.builder()
.attributes(attributes)
.behavior(BehaviorProperty.builder()
.recency(RecencyProperty.builder()
.duration("duration")
.recencyType("recencyType")
.build())
.build())
.demographic(DemographicProperty.builder()
.appVersion(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.channel(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.deviceType(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.make(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.model(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.platform(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.build())
.location(LocationProperty.builder()
.country(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.gpsPoint(GPSPointProperty.builder()
.coordinates(CoordinatesProperty.builder()
.latitude(123)
.longitude(123)
.build())
.rangeInKilometers(123)
.build())
.build())
.metrics(metrics)
.userAttributes(userAttributes)
.build())
.name("name")
.segmentGroups(SegmentGroupsProperty.builder()
.groups(List.of(GroupsProperty.builder()
.dimensions(List.of(SegmentDimensionsProperty.builder()
.attributes(attributes)
.behavior(BehaviorProperty.builder()
.recency(RecencyProperty.builder()
.duration("duration")
.recencyType("recencyType")
.build())
.build())
.demographic(DemographicProperty.builder()
.appVersion(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.channel(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.deviceType(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.make(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.model(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.platform(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.build())
.location(LocationProperty.builder()
.country(SetDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.gpsPoint(GPSPointProperty.builder()
.coordinates(CoordinatesProperty.builder()
.latitude(123)
.longitude(123)
.build())
.rangeInKilometers(123)
.build())
.build())
.metrics(metrics)
.userAttributes(userAttributes)
.build()))
.sourceSegments(List.of(SourceSegmentsProperty.builder()
.id("id")
.version(123)
.build()))
.sourceType("sourceType")
.type("type")
.build()))
.include("include")
.build())
.tags(tags)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSegmentMixinPropsstatic final classAn implementation forCfnSegmentMixinProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSegmentMixinProps.Builderbuilder()default StringThe unique identifier for the Amazon Pinpoint application that the segment is associated with.default ObjectAn array that defines the dimensions for the segment.default StringgetName()The name of the segment.default ObjectThe segment group to use and the dimensions to apply to the group's base segments in order to build the segment.default ObjectgetTags()An array of key-value pairs to apply to this resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApplicationId
The unique identifier for the Amazon Pinpoint application that the segment is associated with.- See Also:
-
getDimensions
An array that defines the dimensions for the segment.Returns union: either
IResolvableorCfnSegmentPropsMixin.SegmentDimensionsProperty- See Also:
-
getName
The name of the segment.A segment must have a name otherwise it will not appear in the Amazon Pinpoint console.
- See Also:
-
getSegmentGroups
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.
Returns union: either
IResolvableorCfnSegmentPropsMixin.SegmentGroupsProperty- See Also:
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- See Also:
-
builder
- Returns:
- a
CfnSegmentMixinProps.BuilderofCfnSegmentMixinProps
-