@Stability(value=Stable)
public static interface CfnSegment.SegmentDimensionsProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSegment.SegmentDimensionsProperty.Builder
A builder for
CfnSegment.SegmentDimensionsProperty |
static class |
CfnSegment.SegmentDimensionsProperty.Jsii$Proxy
An implementation for
CfnSegment.SegmentDimensionsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnSegment.SegmentDimensionsProperty.Builder |
builder() |
default Object |
getAttributes()
One or more custom attributes to use as criteria for the segment.
|
default Object |
getBehavior()
The behavior-based criteria, such as how recently users have used your app, for the segment.
|
default Object |
getDemographic()
The demographic-based criteria, such as device platform, for the segment.
|
default Object |
getLocation()
The location-based criteria, such as region or GPS coordinates, for the segment.
|
default Object |
getMetrics()
One or more custom metrics to use as criteria for the segment.
|
default Object |
getUserAttributes()
One or more custom user attributes to use as criteria for the segment.
|
@Stability(value=Stable) @Nullable default Object getAttributes()
@Stability(value=Stable) @Nullable default Object getBehavior()
@Stability(value=Stable) @Nullable default Object getDemographic()
@Stability(value=Stable) @Nullable default Object getLocation()
@Stability(value=Stable) @Nullable default Object getMetrics()
@Stability(value=Stable) @Nullable default Object getUserAttributes()
@Stability(value=Stable) static CfnSegment.SegmentDimensionsProperty.Builder builder()
Copyright © 2022. All rights reserved.