@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
.SubscriptionStatus
public String getFilteredStatus()
The status by which you are filtering: OPT_IN
or OPT_OUT
.
OPT_IN
or OPT_OUT
.SubscriptionStatus
public 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
.SubscriptionStatus
public 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
.SubscriptionStatus
public 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 Object
Object.toString()
public ListContactsFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.