Class CfnMessageTemplate.CustomerProfileAttributesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.wisdom.CfnMessageTemplate.CustomerProfileAttributesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMessageTemplate.CustomerProfileAttributesProperty>
- Enclosing interface:
CfnMessageTemplate.CustomerProfileAttributesProperty
@Stability(Stable)
public static final class CfnMessageTemplate.CustomerProfileAttributesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMessageTemplate.CustomerProfileAttributesProperty>
A builder for
CfnMessageTemplate.CustomerProfileAttributesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountNumber(String accountNumber) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getAccountNumber()additionalInformation(String additionalInformation) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getAddress1()Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getAddress2()Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getAddress3()Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getAddress4()billingAddress1(String billingAddress1) billingAddress2(String billingAddress2) billingAddress3(String billingAddress3) billingAddress4(String billingAddress4) billingCity(String billingCity) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getBillingCity()billingCountry(String billingCountry) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getBillingCountry()billingCounty(String billingCounty) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getBillingCounty()billingPostalCode(String billingPostalCode) billingProvince(String billingProvince) billingState(String billingState) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getBillingState()Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getBirthDate()build()Builds the configured instance.businessEmailAddress(String businessEmailAddress) businessName(String businessName) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getBusinessName()businessPhoneNumber(String businessPhoneNumber) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getCity()Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getCountry()Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getCounty()Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getCustom()custom(IResolvable custom) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getCustom()emailAddress(String emailAddress) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getEmailAddress()Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getFirstName()Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getGender()homePhoneNumber(String homePhoneNumber) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getLastName()mailingAddress1(String mailingAddress1) mailingAddress2(String mailingAddress2) mailingAddress3(String mailingAddress3) mailingAddress4(String mailingAddress4) mailingCity(String mailingCity) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getMailingCity()mailingCountry(String mailingCountry) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getMailingCountry()mailingCounty(String mailingCounty) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getMailingCounty()mailingPostalCode(String mailingPostalCode) mailingProvince(String mailingProvince) mailingState(String mailingState) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getMailingState()middleName(String middleName) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getMiddleName()mobilePhoneNumber(String mobilePhoneNumber) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getPartyType()phoneNumber(String phoneNumber) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getPhoneNumber()postalCode(String postalCode) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getPostalCode()profileArn(String profileArn) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getProfileArn()Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getProfileId()Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getProvince()shippingAddress1(String shippingAddress1) shippingAddress2(String shippingAddress2) shippingAddress3(String shippingAddress3) shippingAddress4(String shippingAddress4) shippingCity(String shippingCity) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getShippingCity()shippingCountry(String shippingCountry) shippingCounty(String shippingCounty) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getShippingCounty()shippingPostalCode(String shippingPostalCode) shippingProvince(String shippingProvince) shippingState(String shippingState) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getShippingState()Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountNumber
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder accountNumber(String accountNumber) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getAccountNumber()- Parameters:
accountNumber- A unique account number that you have given to the customer.- Returns:
this
-
additionalInformation
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder additionalInformation(String additionalInformation) - Parameters:
additionalInformation- Any additional information relevant to the customer's profile.- Returns:
this
-
address1
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder address1(String address1) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getAddress1()- Parameters:
address1- The first line of a customer address.- Returns:
this
-
address2
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder address2(String address2) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getAddress2()- Parameters:
address2- The second line of a customer address.- Returns:
this
-
address3
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder address3(String address3) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getAddress3()- Parameters:
address3- The third line of a customer address.- Returns:
this
-
address4
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder address4(String address4) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getAddress4()- Parameters:
address4- The fourth line of a customer address.- Returns:
this
-
billingAddress1
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder billingAddress1(String billingAddress1) - Parameters:
billingAddress1- The first line of a customer’s billing address.- Returns:
this
-
billingAddress2
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder billingAddress2(String billingAddress2) - Parameters:
billingAddress2- The second line of a customer’s billing address.- Returns:
this
-
billingAddress3
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder billingAddress3(String billingAddress3) - Parameters:
billingAddress3- The third line of a customer’s billing address.- Returns:
this
-
billingAddress4
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder billingAddress4(String billingAddress4) - Parameters:
billingAddress4- The fourth line of a customer’s billing address.- Returns:
this
-
billingCity
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder billingCity(String billingCity) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getBillingCity()- Parameters:
billingCity- The city of a customer’s billing address.- Returns:
this
-
billingCountry
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder billingCountry(String billingCountry) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getBillingCountry()- Parameters:
billingCountry- The country of a customer’s billing address.- Returns:
this
-
billingCounty
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder billingCounty(String billingCounty) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getBillingCounty()- Parameters:
billingCounty- The county of a customer’s billing address.- Returns:
this
-
billingPostalCode
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder billingPostalCode(String billingPostalCode) - Parameters:
billingPostalCode- The postal code of a customer’s billing address.- Returns:
this
-
billingProvince
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder billingProvince(String billingProvince) - Parameters:
billingProvince- The province of a customer’s billing address.- Returns:
this
-
billingState
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder billingState(String billingState) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getBillingState()- Parameters:
billingState- The state of a customer’s billing address.- Returns:
this
-
birthDate
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder birthDate(String birthDate) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getBirthDate()- Parameters:
birthDate- The customer's birth date.- Returns:
this
-
businessEmailAddress
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder businessEmailAddress(String businessEmailAddress) - Parameters:
businessEmailAddress- The customer's business email address.- Returns:
this
-
businessName
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder businessName(String businessName) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getBusinessName()- Parameters:
businessName- The name of the customer's business.- Returns:
this
-
businessPhoneNumber
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder businessPhoneNumber(String businessPhoneNumber) - Parameters:
businessPhoneNumber- The customer's business phone number.- Returns:
this
-
city
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder city(String city) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getCity()- Parameters:
city- The city in which a customer lives.- Returns:
this
-
country
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder country(String country) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getCountry()- Parameters:
country- The country in which a customer lives.- Returns:
this
-
county
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder county(String county) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getCounty()- Parameters:
county- The county in which a customer lives.- Returns:
this
-
custom
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder custom(Map<String, String> custom) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getCustom()- Parameters:
custom- The custom attributes in customer profile attributes.- Returns:
this
-
custom
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder custom(IResolvable custom) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getCustom()- Parameters:
custom- The custom attributes in customer profile attributes.- Returns:
this
-
emailAddress
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder emailAddress(String emailAddress) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getEmailAddress()- Parameters:
emailAddress- The customer's email address, which has not been specified as a personal or business address.- Returns:
this
-
firstName
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder firstName(String firstName) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getFirstName()- Parameters:
firstName- The customer's first name.- Returns:
this
-
gender
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder gender(String gender) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getGender()- Parameters:
gender- The customer's gender.- Returns:
this
-
homePhoneNumber
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder homePhoneNumber(String homePhoneNumber) - Parameters:
homePhoneNumber- The customer's mobile phone number.- Returns:
this
-
lastName
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder lastName(String lastName) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getLastName()- Parameters:
lastName- The customer's last name.- Returns:
this
-
mailingAddress1
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder mailingAddress1(String mailingAddress1) - Parameters:
mailingAddress1- The first line of a customer’s mailing address.- Returns:
this
-
mailingAddress2
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder mailingAddress2(String mailingAddress2) - Parameters:
mailingAddress2- The second line of a customer’s mailing address.- Returns:
this
-
mailingAddress3
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder mailingAddress3(String mailingAddress3) - Parameters:
mailingAddress3- The third line of a customer’s mailing address.- Returns:
this
-
mailingAddress4
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder mailingAddress4(String mailingAddress4) - Parameters:
mailingAddress4- The fourth line of a customer’s mailing address.- Returns:
this
-
mailingCity
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder mailingCity(String mailingCity) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getMailingCity()- Parameters:
mailingCity- The city of a customer’s mailing address.- Returns:
this
-
mailingCountry
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder mailingCountry(String mailingCountry) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getMailingCountry()- Parameters:
mailingCountry- The country of a customer’s mailing address.- Returns:
this
-
mailingCounty
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder mailingCounty(String mailingCounty) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getMailingCounty()- Parameters:
mailingCounty- The county of a customer’s mailing address.- Returns:
this
-
mailingPostalCode
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder mailingPostalCode(String mailingPostalCode) - Parameters:
mailingPostalCode- The postal code of a customer’s mailing address.- Returns:
this
-
mailingProvince
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder mailingProvince(String mailingProvince) - Parameters:
mailingProvince- The province of a customer’s mailing address.- Returns:
this
-
mailingState
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder mailingState(String mailingState) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getMailingState()- Parameters:
mailingState- The state of a customer’s mailing address.- Returns:
this
-
middleName
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder middleName(String middleName) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getMiddleName()- Parameters:
middleName- The customer's middle name.- Returns:
this
-
mobilePhoneNumber
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder mobilePhoneNumber(String mobilePhoneNumber) - Parameters:
mobilePhoneNumber- The customer's mobile phone number.- Returns:
this
-
partyType
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder partyType(String partyType) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getPartyType()- Parameters:
partyType- The customer's party type.- Returns:
this
-
phoneNumber
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder phoneNumber(String phoneNumber) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getPhoneNumber()- 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 CfnMessageTemplate.CustomerProfileAttributesProperty.Builder postalCode(String postalCode) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getPostalCode()- Parameters:
postalCode- The postal code of a customer address.- Returns:
this
-
profileArn
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder profileArn(String profileArn) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getProfileArn()- Parameters:
profileArn- The ARN of a customer profile.- Returns:
this
-
profileId
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder profileId(String profileId) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getProfileId()- Parameters:
profileId- The unique identifier of a customer profile.- Returns:
this
-
province
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder province(String province) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getProvince()- Parameters:
province- The province in which a customer lives.- Returns:
this
-
shippingAddress1
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder shippingAddress1(String shippingAddress1) - Parameters:
shippingAddress1- The first line of a customer’s shipping address.- Returns:
this
-
shippingAddress2
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder shippingAddress2(String shippingAddress2) - Parameters:
shippingAddress2- The second line of a customer’s shipping address.- Returns:
this
-
shippingAddress3
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder shippingAddress3(String shippingAddress3) - Parameters:
shippingAddress3- The third line of a customer’s shipping address.- Returns:
this
-
shippingAddress4
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder shippingAddress4(String shippingAddress4) - Parameters:
shippingAddress4- The fourth line of a customer’s shipping address.- Returns:
this
-
shippingCity
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder shippingCity(String shippingCity) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getShippingCity()- Parameters:
shippingCity- The city of a customer’s shipping address.- Returns:
this
-
shippingCountry
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder shippingCountry(String shippingCountry) - Parameters:
shippingCountry- The country of a customer’s shipping address.- Returns:
this
-
shippingCounty
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder shippingCounty(String shippingCounty) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getShippingCounty()- Parameters:
shippingCounty- The county of a customer’s shipping address.- Returns:
this
-
shippingPostalCode
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder shippingPostalCode(String shippingPostalCode) - Parameters:
shippingPostalCode- The postal code of a customer’s shipping address.- Returns:
this
-
shippingProvince
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder shippingProvince(String shippingProvince) - Parameters:
shippingProvince- The province of a customer’s shipping address.- Returns:
this
-
shippingState
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder shippingState(String shippingState) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getShippingState()- Parameters:
shippingState- The state of a customer’s shipping address.- Returns:
this
-
state
@Stability(Stable) public CfnMessageTemplate.CustomerProfileAttributesProperty.Builder state(String state) Sets the value ofCfnMessageTemplate.CustomerProfileAttributesProperty.getState()- Parameters:
state- The state in which a customer lives.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMessageTemplate.CustomerProfileAttributesProperty>- Returns:
- a new instance of
CfnMessageTemplate.CustomerProfileAttributesProperty - Throws:
NullPointerException- if any required attribute was not provided
-