Interface CfnSegmentPropsMixin.LocationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSegmentPropsMixin.LocationProperty.Jsii$Proxy
- Enclosing class:
CfnSegmentPropsMixin
@Stability(Stable)
public static interface CfnSegmentPropsMixin.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.cfnpropertymixins.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSegmentPropsMixin.LocationPropertystatic final classAn implementation forCfnSegmentPropsMixin.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.Returns union: either
IResolvableorCfnSegmentPropsMixin.SetDimensionProperty- See Also:
-
getGpsPoint
The GPS point dimension for the segment.Returns union: either
IResolvableorCfnSegmentPropsMixin.GPSPointProperty- See Also:
-
builder
-