public class ContactFilter
extends java.lang.Object
implements java.io.Serializable
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 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getContactStates()
A list of up to 9 contact states.
|
int |
hashCode() |
void |
setContactStates(java.util.Collection<java.lang.String> contactStates)
A list of up to 9 contact states.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ContactFilter |
withContactStates(java.util.Collection<java.lang.String> contactStates)
A list of up to 9 contact states.
|
ContactFilter |
withContactStates(java.lang.String... contactStates)
A list of up to 9 contact states.
|
public java.util.List<java.lang.String> getContactStates()
A list of up to 9 contact states.
A list of up to 9 contact states.
public void setContactStates(java.util.Collection<java.lang.String> contactStates)
A list of up to 9 contact states.
contactStates - A list of up to 9 contact states.
public ContactFilter withContactStates(java.lang.String... contactStates)
A list of up to 9 contact states.
Returns a reference to this object so that method calls can be chained together.
contactStates - A list of up to 9 contact states.
public ContactFilter withContactStates(java.util.Collection<java.lang.String> contactStates)
A list of up to 9 contact states.
Returns a reference to this object so that method calls can be chained together.
contactStates - A list of up to 9 contact states.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object