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
-
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_ONE
orMANY_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
- TheAddress
type. You can choose fromAddress
,BusinessAddress
,MaillingAddress
, andShippingAddress
. You only can use theAddress
type in theMatchingRule
. For example, if you want to match a profile based onBusinessAddress.City
orMaillingAddress.City
, you can choose theBusinessAddress
and theMaillingAddress
to represent theAddress
type and specify theAddress.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 fromEmailAddress
,BusinessEmailAddress
andPersonalEmailAddress
. You only can use theEmailAddress
type in theMatchingRule
. For example, if you want to match profile based onPersonalEmailAddress
orBusinessEmailAddress
, you can choose thePersonalEmailAddress
and theBusinessEmailAddress
to represent theEmailAddress
type and only specify theEmailAddress
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
- ThePhoneNumber
type. You can choose fromPhoneNumber
,HomePhoneNumber
, andMobilePhoneNumber
. You only can use thePhoneNumber
type in theMatchingRule
. For example, if you want to match a profile based onPhone
orHomePhone
, you can choose thePhone
and theHomePhone
to represent thePhoneNumber
type and only specify thePhoneNumber
on the matching rule.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomain.AttributeTypesSelectorProperty>
- Returns:
- a new instance of
CfnDomain.AttributeTypesSelectorProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-