@Stability(value=Stable)
public static interface CfnSegment.GroupsProperty
extends software.amazon.jsii.JsiiSerializable
// 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;
GroupsProperty groupsProperty = 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")
// the properties below are optional
.version(123)
.build()))
.sourceType("sourceType")
.type("type")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnSegment.GroupsProperty.Builder
A builder for
CfnSegment.GroupsProperty |
static class |
CfnSegment.GroupsProperty.Jsii$Proxy
An implementation for
CfnSegment.GroupsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnSegment.GroupsProperty.Builder |
builder() |
default Object |
getDimensions()
`CfnSegment.GroupsProperty.Dimensions`.
|
default Object |
getSourceSegments()
`CfnSegment.GroupsProperty.SourceSegments`.
|
default String |
getSourceType()
`CfnSegment.GroupsProperty.SourceType`.
|
default String |
getType()
`CfnSegment.GroupsProperty.Type`.
|
@Stability(value=Stable) @Nullable default Object getDimensions()
@Stability(value=Stable) @Nullable default Object getSourceSegments()
@Stability(value=Stable) @Nullable default String getSourceType()
@Stability(value=Stable) @Nullable default String getType()
@Stability(value=Stable) static CfnSegment.GroupsProperty.Builder builder()
CfnSegment.GroupsProperty.Builder of CfnSegment.GroupsPropertyCopyright © 2021. All rights reserved.