Class CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.customerprofiles.CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty>
- Enclosing interface:
CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty
@Stability(Stable)
public static final class CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty>
A builder for
CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountNumber(IResolvable accountNumber) additionalInformation(CfnSegmentDefinitionPropsMixin.ExtraLengthValueProfileDimensionProperty additionalInformation) additionalInformation(IResolvable additionalInformation) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getAddress()address(IResolvable address) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getAddress()attributes(Map<String, ? extends Object> attributes) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getAttributes()attributes(IResolvable attributes) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getAttributes()billingAddress(IResolvable billingAddress) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getBirthDate()birthDate(IResolvable birthDate) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getBirthDate()build()Builds the configured instance.businessEmailAddress(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty businessEmailAddress) businessEmailAddress(IResolvable businessEmailAddress) businessName(IResolvable businessName) businessPhoneNumber(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty businessPhoneNumber) businessPhoneNumber(IResolvable businessPhoneNumber) emailAddress(IResolvable emailAddress) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getFirstName()firstName(IResolvable firstName) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getFirstName()genderString(IResolvable genderString) homePhoneNumber(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty homePhoneNumber) homePhoneNumber(IResolvable homePhoneNumber) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getLastName()lastName(IResolvable lastName) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getLastName()mailingAddress(IResolvable mailingAddress) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getMiddleName()middleName(IResolvable middleName) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getMiddleName()mobilePhoneNumber(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty mobilePhoneNumber) mobilePhoneNumber(IResolvable mobilePhoneNumber) partyTypeString(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty partyTypeString) partyTypeString(IResolvable partyTypeString) personalEmailAddress(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty personalEmailAddress) personalEmailAddress(IResolvable personalEmailAddress) phoneNumber(IResolvable phoneNumber) profileType(IResolvable profileType) shippingAddress(CfnSegmentDefinitionPropsMixin.AddressDimensionProperty shippingAddress) shippingAddress(IResolvable shippingAddress)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountNumber
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder accountNumber(IResolvable accountNumber) - Parameters:
accountNumber- A field to describe values to segment on within account number.- Returns:
this
-
accountNumber
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder accountNumber(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty accountNumber) - Parameters:
accountNumber- A field to describe values to segment on within account number.- Returns:
this
-
additionalInformation
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder additionalInformation(IResolvable additionalInformation) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getAdditionalInformation()- Parameters:
additionalInformation- A field to describe values to segment on within additional information.- Returns:
this
-
additionalInformation
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder additionalInformation(CfnSegmentDefinitionPropsMixin.ExtraLengthValueProfileDimensionProperty additionalInformation) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getAdditionalInformation()- Parameters:
additionalInformation- A field to describe values to segment on within additional information.- Returns:
this
-
address
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder address(IResolvable address) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getAddress()- Parameters:
address- A field to describe values to segment on within address.- Returns:
this
-
address
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder address(CfnSegmentDefinitionPropsMixin.AddressDimensionProperty address) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getAddress()- Parameters:
address- A field to describe values to segment on within address.- Returns:
this
-
attributes
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder attributes(IResolvable attributes) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getAttributes()- Parameters:
attributes- A field to describe values to segment on within attributes.- Returns:
this
-
attributes
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder attributes(Map<String, ? extends Object> attributes) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getAttributes()- Parameters:
attributes- A field to describe values to segment on within attributes.- Returns:
this
-
billingAddress
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder billingAddress(IResolvable billingAddress) - Parameters:
billingAddress- A field to describe values to segment on within billing address.- Returns:
this
-
billingAddress
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder billingAddress(CfnSegmentDefinitionPropsMixin.AddressDimensionProperty billingAddress) - Parameters:
billingAddress- A field to describe values to segment on within billing address.- Returns:
this
-
birthDate
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder birthDate(IResolvable birthDate) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getBirthDate()- Parameters:
birthDate- A field to describe values to segment on within birthDate.- Returns:
this
-
birthDate
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder birthDate(CfnSegmentDefinitionPropsMixin.DateDimensionProperty birthDate) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getBirthDate()- Parameters:
birthDate- A field to describe values to segment on within birthDate.- Returns:
this
-
businessEmailAddress
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder businessEmailAddress(IResolvable businessEmailAddress) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getBusinessEmailAddress()- Parameters:
businessEmailAddress- A field to describe values to segment on within business email address.- Returns:
this
-
businessEmailAddress
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder businessEmailAddress(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty businessEmailAddress) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getBusinessEmailAddress()- Parameters:
businessEmailAddress- A field to describe values to segment on within business email address.- Returns:
this
-
businessName
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder businessName(IResolvable businessName) - Parameters:
businessName- A field to describe values to segment on within business name.- Returns:
this
-
businessName
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder businessName(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty businessName) - Parameters:
businessName- A field to describe values to segment on within business name.- Returns:
this
-
businessPhoneNumber
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder businessPhoneNumber(IResolvable businessPhoneNumber) - Parameters:
businessPhoneNumber- A field to describe values to segment on within business phone number.- Returns:
this
-
businessPhoneNumber
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder businessPhoneNumber(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty businessPhoneNumber) - Parameters:
businessPhoneNumber- A field to describe values to segment on within business phone number.- Returns:
this
-
emailAddress
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder emailAddress(IResolvable emailAddress) - Parameters:
emailAddress- A field to describe values to segment on within email address.- Returns:
this
-
emailAddress
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder emailAddress(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty emailAddress) - Parameters:
emailAddress- A field to describe values to segment on within email address.- Returns:
this
-
firstName
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder firstName(IResolvable firstName) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getFirstName()- Parameters:
firstName- A field to describe values to segment on within first name.- Returns:
this
-
firstName
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder firstName(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty firstName) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getFirstName()- Parameters:
firstName- A field to describe values to segment on within first name.- Returns:
this
-
genderString
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder genderString(IResolvable genderString) - Parameters:
genderString- A field to describe values to segment on within genderString.- Returns:
this
-
genderString
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder genderString(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty genderString) - Parameters:
genderString- A field to describe values to segment on within genderString.- Returns:
this
-
homePhoneNumber
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder homePhoneNumber(IResolvable homePhoneNumber) - Parameters:
homePhoneNumber- A field to describe values to segment on within home phone number.- Returns:
this
-
homePhoneNumber
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder homePhoneNumber(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty homePhoneNumber) - Parameters:
homePhoneNumber- A field to describe values to segment on within home phone number.- Returns:
this
-
lastName
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder lastName(IResolvable lastName) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getLastName()- Parameters:
lastName- A field to describe values to segment on within last name.- Returns:
this
-
lastName
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder lastName(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty lastName) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getLastName()- Parameters:
lastName- A field to describe values to segment on within last name.- Returns:
this
-
mailingAddress
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder mailingAddress(IResolvable mailingAddress) - Parameters:
mailingAddress- A field to describe values to segment on within mailing address.- Returns:
this
-
mailingAddress
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder mailingAddress(CfnSegmentDefinitionPropsMixin.AddressDimensionProperty mailingAddress) - Parameters:
mailingAddress- A field to describe values to segment on within mailing address.- Returns:
this
-
middleName
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder middleName(IResolvable middleName) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getMiddleName()- Parameters:
middleName- A field to describe values to segment on within middle name.- Returns:
this
-
middleName
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder middleName(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty middleName) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getMiddleName()- Parameters:
middleName- A field to describe values to segment on within middle name.- Returns:
this
-
mobilePhoneNumber
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder mobilePhoneNumber(IResolvable mobilePhoneNumber) - Parameters:
mobilePhoneNumber- A field to describe values to segment on within mobile phone number.- Returns:
this
-
mobilePhoneNumber
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder mobilePhoneNumber(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty mobilePhoneNumber) - Parameters:
mobilePhoneNumber- A field to describe values to segment on within mobile phone number.- Returns:
this
-
partyTypeString
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder partyTypeString(IResolvable partyTypeString) - Parameters:
partyTypeString- A field to describe values to segment on within partyTypeString.- Returns:
this
-
partyTypeString
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder partyTypeString(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty partyTypeString) - Parameters:
partyTypeString- A field to describe values to segment on within partyTypeString.- Returns:
this
-
personalEmailAddress
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder personalEmailAddress(IResolvable personalEmailAddress) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getPersonalEmailAddress()- Parameters:
personalEmailAddress- A field to describe values to segment on within personal email address.- Returns:
this
-
personalEmailAddress
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder personalEmailAddress(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty personalEmailAddress) Sets the value ofCfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.getPersonalEmailAddress()- Parameters:
personalEmailAddress- A field to describe values to segment on within personal email address.- Returns:
this
-
phoneNumber
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder phoneNumber(IResolvable phoneNumber) - Parameters:
phoneNumber- A field to describe values to segment on within phone number.- Returns:
this
-
phoneNumber
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder phoneNumber(CfnSegmentDefinitionPropsMixin.ProfileDimensionProperty phoneNumber) - Parameters:
phoneNumber- A field to describe values to segment on within phone number.- Returns:
this
-
profileType
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder profileType(IResolvable profileType) - Parameters:
profileType- The type of profile.- Returns:
this
-
profileType
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder profileType(CfnSegmentDefinitionPropsMixin.ProfileTypeDimensionProperty profileType) - Parameters:
profileType- The type of profile.- Returns:
this
-
shippingAddress
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder shippingAddress(IResolvable shippingAddress) - Parameters:
shippingAddress- A field to describe values to segment on within shipping address.- Returns:
this
-
shippingAddress
@Stability(Stable) public CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty.Builder shippingAddress(CfnSegmentDefinitionPropsMixin.AddressDimensionProperty shippingAddress) - Parameters:
shippingAddress- A field to describe values to segment on within shipping address.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty>- Returns:
- a new instance of
CfnSegmentDefinitionPropsMixin.ProfileAttributesProperty - Throws:
NullPointerException- if any required attribute was not provided
-