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 theAttributeMatchingModel, you can either chooseONE_TO_ONEorMANY_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- TheAddresstype. You can choose fromAddress,BusinessAddress,MaillingAddress, andShippingAddress. You only can use theAddresstype in theMatchingRule. For example, if you want to match a profile based onBusinessAddress.CityorMaillingAddress.City, you can choose theBusinessAddressand theMaillingAddressto represent theAddresstype and specify theAddress.Cityon 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 fromEmailAddress,BusinessEmailAddressandPersonalEmailAddress. You only can use theEmailAddresstype in theMatchingRule. For example, if you want to match profile based onPersonalEmailAddressorBusinessEmailAddress, you can choose thePersonalEmailAddressand theBusinessEmailAddressto represent theEmailAddresstype and only specify theEmailAddresson the matching rule.- Returns:
this
-
phoneNumber
@Stability(Stable) public CfnDomain.AttributeTypesSelectorProperty.Builder phoneNumber(List<String> phoneNumber) Sets the value ofCfnDomain.AttributeTypesSelectorProperty.getPhoneNumber()- Parameters:
phoneNumber- ThePhoneNumbertype. You can choose fromPhoneNumber,HomePhoneNumber, andMobilePhoneNumber. You only can use thePhoneNumbertype in theMatchingRule. For example, if you want to match a profile based onPhoneorHomePhone, you can choose thePhoneand theHomePhoneto represent thePhoneNumbertype and only specify thePhoneNumberon 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
-