Interface CfnSegment.LocationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSegment.LocationProperty.Jsii$Proxy
- Enclosing class:
- CfnSegment
@Stability(Stable)
public static interface CfnSegment.LocationProperty
extends software.amazon.jsii.JsiiSerializable
Specifies location-based criteria, such as region or GPS coordinates, for the 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.*;
LocationProperty locationProperty = 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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSegment.LocationPropertystatic final classAn implementation forCfnSegment.LocationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCountry
The country or region code, in ISO 3166-1 alpha-2 format, for the segment. -
getGpsPoint
The GPS point dimension for the segment. -
builder
-