@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchableContactAttributesCriteria extends Object implements Serializable, Cloneable, StructuredPojo
The search criteria based on user-defned contact attribute key and values to search on.
| Constructor and Description |
|---|
SearchableContactAttributesCriteria() |
| Modifier and Type | Method and Description |
|---|---|
SearchableContactAttributesCriteria |
clone() |
boolean |
equals(Object obj) |
String |
getKey()
The key containing a searchable user-defined contact attribute.
|
List<String> |
getValues()
The list of values to search for within a user-defined contact attribute.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKey(String key)
The key containing a searchable user-defined contact attribute.
|
void |
setValues(Collection<String> values)
The list of values to search for within a user-defined contact attribute.
|
String |
toString()
Returns a string representation of this object.
|
SearchableContactAttributesCriteria |
withKey(String key)
The key containing a searchable user-defined contact attribute.
|
SearchableContactAttributesCriteria |
withValues(Collection<String> values)
The list of values to search for within a user-defined contact attribute.
|
SearchableContactAttributesCriteria |
withValues(String... values)
The list of values to search for within a user-defined contact attribute.
|
public void setKey(String key)
The key containing a searchable user-defined contact attribute.
key - The key containing a searchable user-defined contact attribute.public String getKey()
The key containing a searchable user-defined contact attribute.
public SearchableContactAttributesCriteria withKey(String key)
The key containing a searchable user-defined contact attribute.
key - The key containing a searchable user-defined contact attribute.public List<String> getValues()
The list of values to search for within a user-defined contact attribute.
public void setValues(Collection<String> values)
The list of values to search for within a user-defined contact attribute.
values - The list of values to search for within a user-defined contact attribute.public SearchableContactAttributesCriteria withValues(String... values)
The list of values to search for within a user-defined contact attribute.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the
existing values.
values - The list of values to search for within a user-defined contact attribute.public SearchableContactAttributesCriteria withValues(Collection<String> values)
The list of values to search for within a user-defined contact attribute.
values - The list of values to search for within a user-defined contact attribute.public String toString()
toString in class ObjectObject.toString()public SearchableContactAttributesCriteria clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.