Interface CfnSegmentDefinition.AddressDimensionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSegmentDefinition.AddressDimensionProperty.Jsii$Proxy
- Enclosing class:
CfnSegmentDefinition
@Stability(Stable)
public static interface CfnSegmentDefinition.AddressDimensionProperty
extends software.amazon.jsii.JsiiSerializable
Object that segments on Customer Profile's address object.
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.customerprofiles.*;
AddressDimensionProperty addressDimensionProperty = AddressDimensionProperty.builder()
.city(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.country(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.county(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.postalCode(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.province(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.state(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSegmentDefinition.AddressDimensionPropertystatic final classAn implementation forCfnSegmentDefinition.AddressDimensionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectgetCity()The city belonging to the address.default ObjectThe country belonging to the address.default ObjectThe county belonging to the address.default ObjectThe postal code belonging to the address.default ObjectThe province belonging to the address.default ObjectgetState()The state belonging to the address.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCity
The city belonging to the address.Returns union: either
IResolvableorCfnSegmentDefinition.ProfileDimensionProperty- See Also:
-
getCountry
The country belonging to the address.Returns union: either
IResolvableorCfnSegmentDefinition.ProfileDimensionProperty- See Also:
-
getCounty
The county belonging to the address.Returns union: either
IResolvableorCfnSegmentDefinition.ProfileDimensionProperty- See Also:
-
getPostalCode
The postal code belonging to the address.Returns union: either
IResolvableorCfnSegmentDefinition.ProfileDimensionProperty- See Also:
-
getProvince
The province belonging to the address.Returns union: either
IResolvableorCfnSegmentDefinition.ProfileDimensionProperty- See Also:
-
getState
The state belonging to the address.Returns union: either
IResolvableorCfnSegmentDefinition.ProfileDimensionProperty- See Also:
-
builder
-