@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContactFilter extends Object implements Serializable, Cloneable, StructuredPojo
Filters user data based on the contact information that is associated to the users. It contains a list of contact states.
| Constructor and Description |
|---|
ContactFilter() |
| Modifier and Type | Method and Description |
|---|---|
ContactFilter |
clone() |
boolean |
equals(Object obj) |
List<String> |
getContactStates()
A list of up to 9 contact states.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setContactStates(Collection<String> contactStates)
A list of up to 9 contact states.
|
String |
toString()
Returns a string representation of this object.
|
ContactFilter |
withContactStates(Collection<String> contactStates)
A list of up to 9 contact states.
|
ContactFilter |
withContactStates(ContactState... contactStates)
A list of up to 9 contact states.
|
ContactFilter |
withContactStates(String... contactStates)
A list of up to 9 contact states.
|
public List<String> getContactStates()
A list of up to 9 contact states.
ContactStatepublic void setContactStates(Collection<String> contactStates)
A list of up to 9 contact states.
contactStates - A list of up to 9 contact states.ContactStatepublic ContactFilter withContactStates(String... contactStates)
A list of up to 9 contact states.
NOTE: This method appends the values to the existing list (if any). Use
setContactStates(java.util.Collection) or withContactStates(java.util.Collection) if you want
to override the existing values.
contactStates - A list of up to 9 contact states.ContactStatepublic ContactFilter withContactStates(Collection<String> contactStates)
A list of up to 9 contact states.
contactStates - A list of up to 9 contact states.ContactStatepublic ContactFilter withContactStates(ContactState... contactStates)
A list of up to 9 contact states.
contactStates - A list of up to 9 contact states.ContactStatepublic String toString()
toString in class ObjectObject.toString()public ContactFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.