@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MatchingRule extends Object implements Serializable, Cloneable, StructuredPojo
Specifies how does the rule-based matching process should match profiles. You can choose from the following attributes to build the matching Rule:
AccountNumber
Address.Address
Address.City
Address.Country
Address.County
Address.PostalCode
Address.State
Address.Province
BirthDate
BusinessName
EmailAddress
FirstName
Gender
LastName
MiddleName
PhoneNumber
Any customized profile attributes that start with the Attributes
Constructor and Description |
---|
MatchingRule() |
Modifier and Type | Method and Description |
---|---|
MatchingRule |
clone() |
boolean |
equals(Object obj) |
List<String> |
getRule()
A single rule level of the
MatchRules . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRule(Collection<String> rule)
A single rule level of the
MatchRules . |
String |
toString()
Returns a string representation of this object.
|
MatchingRule |
withRule(Collection<String> rule)
A single rule level of the
MatchRules . |
MatchingRule |
withRule(String... rule)
A single rule level of the
MatchRules . |
public List<String> getRule()
A single rule level of the MatchRules
. Configures how the rule-based matching process should match
profiles.
MatchRules
. Configures how the rule-based matching process should
match profiles.public void setRule(Collection<String> rule)
A single rule level of the MatchRules
. Configures how the rule-based matching process should match
profiles.
rule
- A single rule level of the MatchRules
. Configures how the rule-based matching process should
match profiles.public MatchingRule withRule(String... rule)
A single rule level of the MatchRules
. Configures how the rule-based matching process should match
profiles.
NOTE: This method appends the values to the existing list (if any). Use
setRule(java.util.Collection)
or withRule(java.util.Collection)
if you want to override the
existing values.
rule
- A single rule level of the MatchRules
. Configures how the rule-based matching process should
match profiles.public MatchingRule withRule(Collection<String> rule)
A single rule level of the MatchRules
. Configures how the rule-based matching process should match
profiles.
rule
- A single rule level of the MatchRules
. Configures how the rule-based matching process should
match profiles.public String toString()
toString
in class Object
Object.toString()
public MatchingRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.