@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListContactsFilter extends Object implements Serializable, Cloneable, StructuredPojo
A filter that can be applied to a list of contacts.
| Constructor and Description |
|---|
ListContactsFilter() |
| Modifier and Type | Method and Description |
|---|---|
ListContactsFilter |
clone() |
boolean |
equals(Object obj) |
String |
getFilteredStatus()
The status by which you are filtering:
OPT_IN or OPT_OUT. |
TopicFilter |
getTopicFilter()
Used for filtering by a specific topic preference.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFilteredStatus(String filteredStatus)
The status by which you are filtering:
OPT_IN or OPT_OUT. |
void |
setTopicFilter(TopicFilter topicFilter)
Used for filtering by a specific topic preference.
|
String |
toString()
Returns a string representation of this object.
|
ListContactsFilter |
withFilteredStatus(String filteredStatus)
The status by which you are filtering:
OPT_IN or OPT_OUT. |
ListContactsFilter |
withFilteredStatus(SubscriptionStatus filteredStatus)
The status by which you are filtering:
OPT_IN or OPT_OUT. |
ListContactsFilter |
withTopicFilter(TopicFilter topicFilter)
Used for filtering by a specific topic preference.
|
public void setFilteredStatus(String filteredStatus)
The status by which you are filtering: OPT_IN or OPT_OUT.
filteredStatus - The status by which you are filtering: OPT_IN or OPT_OUT.SubscriptionStatuspublic String getFilteredStatus()
The status by which you are filtering: OPT_IN or OPT_OUT.
OPT_IN or OPT_OUT.SubscriptionStatuspublic ListContactsFilter withFilteredStatus(String filteredStatus)
The status by which you are filtering: OPT_IN or OPT_OUT.
filteredStatus - The status by which you are filtering: OPT_IN or OPT_OUT.SubscriptionStatuspublic ListContactsFilter withFilteredStatus(SubscriptionStatus filteredStatus)
The status by which you are filtering: OPT_IN or OPT_OUT.
filteredStatus - The status by which you are filtering: OPT_IN or OPT_OUT.SubscriptionStatuspublic void setTopicFilter(TopicFilter topicFilter)
Used for filtering by a specific topic preference.
topicFilter - Used for filtering by a specific topic preference.public TopicFilter getTopicFilter()
Used for filtering by a specific topic preference.
public ListContactsFilter withTopicFilter(TopicFilter topicFilter)
Used for filtering by a specific topic preference.
topicFilter - Used for filtering by a specific topic preference.public String toString()
toString in class ObjectObject.toString()public ListContactsFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.