Interface CfnSegment.SegmentDimensionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSegment.SegmentDimensionsProperty.Jsii$Proxy
- Enclosing class:
CfnSegment
@Stability(Stable)
public static interface CfnSegment.SegmentDimensionsProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the dimension settings for a segment.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.pinpoint.*; Object attributes; Object metrics; Object userAttributes; SegmentDimensionsProperty segmentDimensionsProperty = 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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSegment.SegmentDimensionsProperty
static final class
An implementation forCfnSegment.SegmentDimensionsProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
One or more custom attributes to use as criteria for the segment.default Object
The behavior-based criteria, such as how recently users have used your app, for the segment.default Object
The demographic-based criteria, such as device platform, for the segment.default Object
The location-based criteria, such as region or GPS coordinates, for the segment.default Object
One or more custom metrics to use as criteria for the segment.default Object
One or more custom user attributes to use as criteria for the segment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttributes
One or more custom attributes to use as criteria for the segment.For more information see AttributeDimension
- See Also:
-
getBehavior
The behavior-based criteria, such as how recently users have used your app, for the segment.- See Also:
-
getDemographic
The demographic-based criteria, such as device platform, for the segment.- See Also:
-
getLocation
The location-based criteria, such as region or GPS coordinates, for the segment.- See Also:
-
getMetrics
One or more custom metrics to use as criteria for the segment.- See Also:
-
getUserAttributes
One or more custom user attributes to use as criteria for the segment.- See Also:
-
builder
-