Class CfnDomain.AttributeTypesSelectorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.customerprofiles.CfnDomain.AttributeTypesSelectorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.AttributeTypesSelectorProperty>
- Enclosing interface:
CfnDomain.AttributeTypesSelectorProperty
@Stability(Stable)
public static final class CfnDomain.AttributeTypesSelectorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.AttributeTypesSelectorProperty>
A builder for
CfnDomain.AttributeTypesSelectorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDomain.AttributeTypesSelectorProperty.getAddress()attributeMatchingModel(String attributeMatchingModel) Sets the value ofCfnDomain.AttributeTypesSelectorProperty.getAttributeMatchingModel()build()Builds the configured instance.emailAddress(List<String> emailAddress) Sets the value ofCfnDomain.AttributeTypesSelectorProperty.getEmailAddress()phoneNumber(List<String> phoneNumber) Sets the value ofCfnDomain.AttributeTypesSelectorProperty.getPhoneNumber()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeMatchingModel
@Stability(Stable) public CfnDomain.AttributeTypesSelectorProperty.Builder attributeMatchingModel(String attributeMatchingModel) Sets the value ofCfnDomain.AttributeTypesSelectorProperty.getAttributeMatchingModel()- Parameters:
attributeMatchingModel- Configures the AttributeMatchingModel, you can either choose ONE_TO_ONE or MANY_TO_MANY. This parameter is required.- Returns:
this
-
address
@Stability(Stable) public CfnDomain.AttributeTypesSelectorProperty.Builder address(List<String> address) Sets the value ofCfnDomain.AttributeTypesSelectorProperty.getAddress()- Parameters:
address- The Address type. You can choose from Address, BusinessAddress, MaillingAddress, and ShippingAddress. You only can use the Address type in the MatchingRule. For example, if you want to match profile based on BusinessAddress.City or MaillingAddress.City, you need to choose the BusinessAddress and the MaillingAddress to represent the Address type and specify the Address.City on the matching rule.- Returns:
this
-
emailAddress
@Stability(Stable) public CfnDomain.AttributeTypesSelectorProperty.Builder emailAddress(List<String> emailAddress) Sets the value ofCfnDomain.AttributeTypesSelectorProperty.getEmailAddress()- Parameters:
emailAddress- The Email type. You can choose from EmailAddress, BusinessEmailAddress and PersonalEmailAddress. You only can use the EmailAddress type in the MatchingRule. For example, if you want to match profile based on PersonalEmailAddress or BusinessEmailAddress, you need to choose the PersonalEmailAddress and the BusinessEmailAddress to represent the EmailAddress type and only specify the EmailAddress on the matching rule.- Returns:
this
-
phoneNumber
@Stability(Stable) public CfnDomain.AttributeTypesSelectorProperty.Builder phoneNumber(List<String> phoneNumber) Sets the value ofCfnDomain.AttributeTypesSelectorProperty.getPhoneNumber()- Parameters:
phoneNumber- The PhoneNumber type. You can choose from PhoneNumber, HomePhoneNumber, and MobilePhoneNumber. You only can use the PhoneNumber type in the MatchingRule. For example, if you want to match a profile based on Phone or HomePhone, you need to choose the Phone and the HomePhone to represent the PhoneNumber type and only specify the PhoneNumber on the matching rule.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomain.AttributeTypesSelectorProperty>- Returns:
- a new instance of
CfnDomain.AttributeTypesSelectorProperty - Throws:
NullPointerException- if any required attribute was not provided
-