Class CfnSegmentDefinitionPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.customerprofiles.CfnSegmentDefinitionPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:19:57.771Z")
@Stability(Stable)
public class CfnSegmentDefinitionPropsMixin
extends Mixin
implements software.constructs.IMixin
A segment definition resource of Amazon Connect Customer Profiles.
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.customerprofiles.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnSegmentDefinitionPropsMixin cfnSegmentDefinitionPropsMixin = CfnSegmentDefinitionPropsMixin.Builder.create(CfnSegmentDefinitionMixinProps.builder()
.description("description")
.displayName("displayName")
.domainName("domainName")
.segmentDefinitionName("segmentDefinitionName")
.segmentGroups(SegmentGroupProperty.builder()
.groups(List.of(GroupProperty.builder()
.dimensions(List.of(DimensionProperty.builder()
.calculatedAttributes(Map.of(
"calculatedAttributesKey", CalculatedAttributeDimensionProperty.builder()
.conditionOverrides(ConditionOverridesProperty.builder()
.range(RangeOverrideProperty.builder()
.end(123)
.start(123)
.unit("unit")
.build())
.build())
.dimensionType("dimensionType")
.values(List.of("values"))
.build()))
.profileAttributes(ProfileAttributesProperty.builder()
.accountNumber(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.additionalInformation(ExtraLengthValueProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.address(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())
.attributes(Map.of(
"attributesKey", AttributeDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build()))
.billingAddress(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())
.birthDate(DateDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.businessEmailAddress(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.businessName(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.businessPhoneNumber(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.emailAddress(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.firstName(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.genderString(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.homePhoneNumber(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.lastName(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.mailingAddress(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())
.middleName(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.mobilePhoneNumber(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.partyTypeString(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.personalEmailAddress(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.phoneNumber(ProfileDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.profileType(ProfileTypeDimensionProperty.builder()
.dimensionType("dimensionType")
.values(List.of("values"))
.build())
.shippingAddress(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())
.build())
.build()))
.sourceSegments(List.of(SourceSegmentProperty.builder()
.segmentDefinitionName("segmentDefinitionName")
.build()))
.sourceType("sourceType")
.type("type")
.build()))
.include("include")
.build())
.segmentSqlQuery("segmentSqlQuery")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceObject that segments on Customer Profile's address object.static interfaceObject that defines how to filter the incoming objects for the calculated attribute.static final classA fluent builder forCfnSegmentDefinitionPropsMixin.static interfaceObject that segments on Customer Profile's Calculated Attributes.static interfaceAn object to override the original condition block of a calculated attribute.static interfaceObject that segments on various Customer Profile's date fields.static interfaceDefines the attribute to segment on.static interfaceObject that segments on various Customer profile's fields that are larger than normal.static interfaceContains dimensions that determine what to segment on.static interfaceThe object used to segment on attributes within the customer profile.static interfaceObject that segments on various Customer profile's fields that are larger than normal.static interfaceSpecifies profile type based criteria for a segment.static interfaceOverrides the original range on a calculated attribute definition.static interfaceContains all groups of the segment definition.static interfaceThe source segments to build off of.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::CustomerProfiles::SegmentDefinition.CfnSegmentDefinitionPropsMixin(CfnSegmentDefinitionMixinProps props, CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::CustomerProfiles::SegmentDefinition.protectedCfnSegmentDefinitionPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnSegmentDefinitionPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnSegmentDefinitionMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnSegmentDefinitionPropsMixin
protected CfnSegmentDefinitionPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnSegmentDefinitionPropsMixin
protected CfnSegmentDefinitionPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnSegmentDefinitionPropsMixin
@Stability(Stable) public CfnSegmentDefinitionPropsMixin(@NotNull CfnSegmentDefinitionMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::CustomerProfiles::SegmentDefinition.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnSegmentDefinitionPropsMixin
@Stability(Stable) public CfnSegmentDefinitionPropsMixin(@NotNull CfnSegmentDefinitionMixinProps props) Create a mixin to apply properties toAWS::CustomerProfiles::SegmentDefinition.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-