Class CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.wisdom.CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty>
- Enclosing interface:
CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty
@Stability(Stable)
public static final class CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountNumber(String accountNumber) additionalInformation(String additionalInformation) billingAddress1(String billingAddress1) billingAddress2(String billingAddress2) billingAddress3(String billingAddress3) billingAddress4(String billingAddress4) billingCity(String billingCity) billingCountry(String billingCountry) billingCounty(String billingCounty) billingPostalCode(String billingPostalCode) billingProvince(String billingProvince) billingState(String billingState) build()Builds the configured instance.businessEmailAddress(String businessEmailAddress) businessName(String businessName) businessPhoneNumber(String businessPhoneNumber) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getCity()custom(IResolvable custom) emailAddress(String emailAddress) homePhoneNumber(String homePhoneNumber) mailingAddress1(String mailingAddress1) mailingAddress2(String mailingAddress2) mailingAddress3(String mailingAddress3) mailingAddress4(String mailingAddress4) mailingCity(String mailingCity) mailingCountry(String mailingCountry) mailingCounty(String mailingCounty) mailingPostalCode(String mailingPostalCode) mailingProvince(String mailingProvince) mailingState(String mailingState) middleName(String middleName) mobilePhoneNumber(String mobilePhoneNumber) phoneNumber(String phoneNumber) postalCode(String postalCode) profileArn(String profileArn) shippingAddress1(String shippingAddress1) shippingAddress2(String shippingAddress2) shippingAddress3(String shippingAddress3) shippingAddress4(String shippingAddress4) shippingCity(String shippingCity) shippingCountry(String shippingCountry) shippingCounty(String shippingCounty) shippingPostalCode(String shippingPostalCode) shippingProvince(String shippingProvince) shippingState(String shippingState)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountNumber
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder accountNumber(String accountNumber) - Parameters:
accountNumber- A unique account number that you have given to the customer.- Returns:
this
-
additionalInformation
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder additionalInformation(String additionalInformation) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getAdditionalInformation()- Parameters:
additionalInformation- Any additional information relevant to the customer's profile.- Returns:
this
-
address1
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder address1(String address1) - Parameters:
address1- The first line of a customer address.- Returns:
this
-
address2
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder address2(String address2) - Parameters:
address2- The second line of a customer address.- Returns:
this
-
address3
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder address3(String address3) - Parameters:
address3- The third line of a customer address.- Returns:
this
-
address4
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder address4(String address4) - Parameters:
address4- The fourth line of a customer address.- Returns:
this
-
billingAddress1
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder billingAddress1(String billingAddress1) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getBillingAddress1()- Parameters:
billingAddress1- The first line of a customer’s billing address.- Returns:
this
-
billingAddress2
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder billingAddress2(String billingAddress2) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getBillingAddress2()- Parameters:
billingAddress2- The second line of a customer’s billing address.- Returns:
this
-
billingAddress3
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder billingAddress3(String billingAddress3) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getBillingAddress3()- Parameters:
billingAddress3- The third line of a customer’s billing address.- Returns:
this
-
billingAddress4
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder billingAddress4(String billingAddress4) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getBillingAddress4()- Parameters:
billingAddress4- The fourth line of a customer’s billing address.- Returns:
this
-
billingCity
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder billingCity(String billingCity) - Parameters:
billingCity- The city of a customer’s billing address.- Returns:
this
-
billingCountry
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder billingCountry(String billingCountry) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getBillingCountry()- Parameters:
billingCountry- The country of a customer’s billing address.- Returns:
this
-
billingCounty
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder billingCounty(String billingCounty) - Parameters:
billingCounty- The county of a customer’s billing address.- Returns:
this
-
billingPostalCode
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder billingPostalCode(String billingPostalCode) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getBillingPostalCode()- Parameters:
billingPostalCode- The postal code of a customer’s billing address.- Returns:
this
-
billingProvince
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder billingProvince(String billingProvince) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getBillingProvince()- Parameters:
billingProvince- The province of a customer’s billing address.- Returns:
this
-
billingState
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder billingState(String billingState) - Parameters:
billingState- The state of a customer’s billing address.- Returns:
this
-
birthDate
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder birthDate(String birthDate) - Parameters:
birthDate- The customer's birth date.- Returns:
this
-
businessEmailAddress
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder businessEmailAddress(String businessEmailAddress) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getBusinessEmailAddress()- Parameters:
businessEmailAddress- The customer's business email address.- Returns:
this
-
businessName
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder businessName(String businessName) - Parameters:
businessName- The name of the customer's business.- Returns:
this
-
businessPhoneNumber
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder businessPhoneNumber(String businessPhoneNumber) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getBusinessPhoneNumber()- Parameters:
businessPhoneNumber- The customer's business phone number.- Returns:
this
-
city
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder city(String city) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getCity()- Parameters:
city- The city in which a customer lives.- Returns:
this
-
country
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder country(String country) - Parameters:
country- The country in which a customer lives.- Returns:
this
-
county
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder county(String county) - Parameters:
county- The county in which a customer lives.- Returns:
this
-
custom
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder custom(Map<String, String> custom) - Parameters:
custom- The custom attributes in customer profile attributes.- Returns:
this
-
custom
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder custom(IResolvable custom) - Parameters:
custom- The custom attributes in customer profile attributes.- Returns:
this
-
emailAddress
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder emailAddress(String emailAddress) - Parameters:
emailAddress- The customer's email address, which has not been specified as a personal or business address.- Returns:
this
-
firstName
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder firstName(String firstName) - Parameters:
firstName- The customer's first name.- Returns:
this
-
gender
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder gender(String gender) - Parameters:
gender- The customer's gender.- Returns:
this
-
homePhoneNumber
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder homePhoneNumber(String homePhoneNumber) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getHomePhoneNumber()- Parameters:
homePhoneNumber- The customer's mobile phone number.- Returns:
this
-
lastName
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder lastName(String lastName) - Parameters:
lastName- The customer's last name.- Returns:
this
-
mailingAddress1
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder mailingAddress1(String mailingAddress1) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getMailingAddress1()- Parameters:
mailingAddress1- The first line of a customer’s mailing address.- Returns:
this
-
mailingAddress2
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder mailingAddress2(String mailingAddress2) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getMailingAddress2()- Parameters:
mailingAddress2- The second line of a customer’s mailing address.- Returns:
this
-
mailingAddress3
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder mailingAddress3(String mailingAddress3) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getMailingAddress3()- Parameters:
mailingAddress3- The third line of a customer’s mailing address.- Returns:
this
-
mailingAddress4
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder mailingAddress4(String mailingAddress4) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getMailingAddress4()- Parameters:
mailingAddress4- The fourth line of a customer’s mailing address.- Returns:
this
-
mailingCity
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder mailingCity(String mailingCity) - Parameters:
mailingCity- The city of a customer’s mailing address.- Returns:
this
-
mailingCountry
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder mailingCountry(String mailingCountry) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getMailingCountry()- Parameters:
mailingCountry- The country of a customer’s mailing address.- Returns:
this
-
mailingCounty
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder mailingCounty(String mailingCounty) - Parameters:
mailingCounty- The county of a customer’s mailing address.- Returns:
this
-
mailingPostalCode
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder mailingPostalCode(String mailingPostalCode) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getMailingPostalCode()- Parameters:
mailingPostalCode- The postal code of a customer’s mailing address.- Returns:
this
-
mailingProvince
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder mailingProvince(String mailingProvince) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getMailingProvince()- Parameters:
mailingProvince- The province of a customer’s mailing address.- Returns:
this
-
mailingState
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder mailingState(String mailingState) - Parameters:
mailingState- The state of a customer’s mailing address.- Returns:
this
-
middleName
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder middleName(String middleName) - Parameters:
middleName- The customer's middle name.- Returns:
this
-
mobilePhoneNumber
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder mobilePhoneNumber(String mobilePhoneNumber) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getMobilePhoneNumber()- Parameters:
mobilePhoneNumber- The customer's mobile phone number.- Returns:
this
-
partyType
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder partyType(String partyType) - Parameters:
partyType- The customer's party type.- Returns:
this
-
phoneNumber
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder phoneNumber(String phoneNumber) - Parameters:
phoneNumber- The customer's phone number, which has not been specified as a mobile, home, or business number.- Returns:
this
-
postalCode
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder postalCode(String postalCode) - Parameters:
postalCode- The postal code of a customer address.- Returns:
this
-
profileArn
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder profileArn(String profileArn) - Parameters:
profileArn- The ARN of a customer profile.- Returns:
this
-
profileId
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder profileId(String profileId) - Parameters:
profileId- The unique identifier of a customer profile.- Returns:
this
-
province
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder province(String province) - Parameters:
province- The province in which a customer lives.- Returns:
this
-
shippingAddress1
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder shippingAddress1(String shippingAddress1) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getShippingAddress1()- Parameters:
shippingAddress1- The first line of a customer’s shipping address.- Returns:
this
-
shippingAddress2
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder shippingAddress2(String shippingAddress2) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getShippingAddress2()- Parameters:
shippingAddress2- The second line of a customer’s shipping address.- Returns:
this
-
shippingAddress3
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder shippingAddress3(String shippingAddress3) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getShippingAddress3()- Parameters:
shippingAddress3- The third line of a customer’s shipping address.- Returns:
this
-
shippingAddress4
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder shippingAddress4(String shippingAddress4) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getShippingAddress4()- Parameters:
shippingAddress4- The fourth line of a customer’s shipping address.- Returns:
this
-
shippingCity
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder shippingCity(String shippingCity) - Parameters:
shippingCity- The city of a customer’s shipping address.- Returns:
this
-
shippingCountry
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder shippingCountry(String shippingCountry) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getShippingCountry()- Parameters:
shippingCountry- The country of a customer’s shipping address.- Returns:
this
-
shippingCounty
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder shippingCounty(String shippingCounty) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getShippingCounty()- Parameters:
shippingCounty- The county of a customer’s shipping address.- Returns:
this
-
shippingPostalCode
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder shippingPostalCode(String shippingPostalCode) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getShippingPostalCode()- Parameters:
shippingPostalCode- The postal code of a customer’s shipping address.- Returns:
this
-
shippingProvince
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder shippingProvince(String shippingProvince) Sets the value ofCfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.getShippingProvince()- Parameters:
shippingProvince- The province of a customer’s shipping address.- Returns:
this
-
shippingState
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder shippingState(String shippingState) - Parameters:
shippingState- The state of a customer’s shipping address.- Returns:
this
-
state
@Stability(Stable) public CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty.Builder state(String state) - Parameters:
state- The state in which a customer lives.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty>- Returns:
- a new instance of
CfnMessageTemplatePropsMixin.CustomerProfileAttributesProperty - Throws:
NullPointerException- if any required attribute was not provided
-