@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttributeTypesSelector extends Object implements Serializable, Cloneable, StructuredPojo
Configuration information about the AttributeTypesSelector where the rule-based identity resolution uses
to match profiles. You can choose how profiles are compared across attribute types and which attribute to use for
matching from each type. There are three attribute types you can configure:
Email type
You can choose from Email, BusinessEmail, and PersonalEmail
Phone number type
You can choose from Phone, HomePhone, and MobilePhone
Address type
You can choose from Address, BusinessAddress, MaillingAddress, and
ShippingAddress
You can either choose ONE_TO_ONE or MANY_TO_MANY as the AttributeMatchingModel
. When choosing MANY_TO_MANY, the system can match attribute across the sub-types of an attribute type.
For example, if the value of the Email field of Profile A and the value of BusinessEmail
field of Profile B matches, the two profiles are matched on the Email type. When choosing ONE_TO_ONE the
system can only match if the sub-types are exact matches. For example, only when the value of the Email
field of Profile A and the value of the Email field of Profile B matches, the two profiles are matched
on the Email type.
| Constructor and Description |
|---|
AttributeTypesSelector() |
| Modifier and Type | Method and Description |
|---|---|
AttributeTypesSelector |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAddress()
The
Address type. |
String |
getAttributeMatchingModel()
Configures the
AttributeMatchingModel, you can either choose ONE_TO_ONE or
MANY_TO_MANY. |
List<String> |
getEmailAddress()
The
Email type. |
List<String> |
getPhoneNumber()
The
PhoneNumber type. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAddress(Collection<String> address)
The
Address type. |
void |
setAttributeMatchingModel(String attributeMatchingModel)
Configures the
AttributeMatchingModel, you can either choose ONE_TO_ONE or
MANY_TO_MANY. |
void |
setEmailAddress(Collection<String> emailAddress)
The
Email type. |
void |
setPhoneNumber(Collection<String> phoneNumber)
The
PhoneNumber type. |
String |
toString()
Returns a string representation of this object.
|
AttributeTypesSelector |
withAddress(Collection<String> address)
The
Address type. |
AttributeTypesSelector |
withAddress(String... address)
The
Address type. |
AttributeTypesSelector |
withAttributeMatchingModel(AttributeMatchingModel attributeMatchingModel)
Configures the
AttributeMatchingModel, you can either choose ONE_TO_ONE or
MANY_TO_MANY. |
AttributeTypesSelector |
withAttributeMatchingModel(String attributeMatchingModel)
Configures the
AttributeMatchingModel, you can either choose ONE_TO_ONE or
MANY_TO_MANY. |
AttributeTypesSelector |
withEmailAddress(Collection<String> emailAddress)
The
Email type. |
AttributeTypesSelector |
withEmailAddress(String... emailAddress)
The
Email type. |
AttributeTypesSelector |
withPhoneNumber(Collection<String> phoneNumber)
The
PhoneNumber type. |
AttributeTypesSelector |
withPhoneNumber(String... phoneNumber)
The
PhoneNumber type. |
public void setAttributeMatchingModel(String attributeMatchingModel)
Configures the AttributeMatchingModel, you can either choose ONE_TO_ONE or
MANY_TO_MANY.
attributeMatchingModel - Configures the AttributeMatchingModel, you can either choose ONE_TO_ONE or
MANY_TO_MANY.AttributeMatchingModelpublic String getAttributeMatchingModel()
Configures the AttributeMatchingModel, you can either choose ONE_TO_ONE or
MANY_TO_MANY.
AttributeMatchingModel, you can either choose ONE_TO_ONE or
MANY_TO_MANY.AttributeMatchingModelpublic AttributeTypesSelector withAttributeMatchingModel(String attributeMatchingModel)
Configures the AttributeMatchingModel, you can either choose ONE_TO_ONE or
MANY_TO_MANY.
attributeMatchingModel - Configures the AttributeMatchingModel, you can either choose ONE_TO_ONE or
MANY_TO_MANY.AttributeMatchingModelpublic AttributeTypesSelector withAttributeMatchingModel(AttributeMatchingModel attributeMatchingModel)
Configures the AttributeMatchingModel, you can either choose ONE_TO_ONE or
MANY_TO_MANY.
attributeMatchingModel - Configures the AttributeMatchingModel, you can either choose ONE_TO_ONE or
MANY_TO_MANY.AttributeMatchingModelpublic List<String> getAddress()
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.
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.
public void setAddress(Collection<String> 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.
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.
public AttributeTypesSelector withAddress(String... 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.
NOTE: This method appends the values to the existing list (if any). Use
setAddress(java.util.Collection) or withAddress(java.util.Collection) if you want to override
the existing values.
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.
public AttributeTypesSelector withAddress(Collection<String> 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.
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.
public List<String> getPhoneNumber()
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.
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.
public void setPhoneNumber(Collection<String> 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.
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.
public AttributeTypesSelector withPhoneNumber(String... 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.
NOTE: This method appends the values to the existing list (if any). Use
setPhoneNumber(java.util.Collection) or withPhoneNumber(java.util.Collection) if you want to
override the existing values.
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.
public AttributeTypesSelector withPhoneNumber(Collection<String> 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.
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.
public List<String> getEmailAddress()
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.
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.
public void setEmailAddress(Collection<String> 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.
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.
public AttributeTypesSelector withEmailAddress(String... 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.
NOTE: This method appends the values to the existing list (if any). Use
setEmailAddress(java.util.Collection) or withEmailAddress(java.util.Collection) if you want to
override the existing values.
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.
public AttributeTypesSelector withEmailAddress(Collection<String> 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.
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.
public String toString()
toString in class ObjectObject.toString()public AttributeTypesSelector clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.