@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TopicFilter extends Object implements Serializable, Cloneable, StructuredPojo
Used for filtering by a specific topic preference.
Constructor and Description |
---|
TopicFilter() |
Modifier and Type | Method and Description |
---|---|
TopicFilter |
clone() |
boolean |
equals(Object obj) |
String |
getTopicName()
The name of a topic on which you wish to apply the filter.
|
Boolean |
getUseDefaultIfPreferenceUnavailable()
Notes that the default subscription status should be applied to a contact because the contact has not noted their
preference for subscribing to a topic.
|
int |
hashCode() |
Boolean |
isUseDefaultIfPreferenceUnavailable()
Notes that the default subscription status should be applied to a contact because the contact has not noted their
preference for subscribing to a topic.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTopicName(String topicName)
The name of a topic on which you wish to apply the filter.
|
void |
setUseDefaultIfPreferenceUnavailable(Boolean useDefaultIfPreferenceUnavailable)
Notes that the default subscription status should be applied to a contact because the contact has not noted their
preference for subscribing to a topic.
|
String |
toString()
Returns a string representation of this object.
|
TopicFilter |
withTopicName(String topicName)
The name of a topic on which you wish to apply the filter.
|
TopicFilter |
withUseDefaultIfPreferenceUnavailable(Boolean useDefaultIfPreferenceUnavailable)
Notes that the default subscription status should be applied to a contact because the contact has not noted their
preference for subscribing to a topic.
|
public void setTopicName(String topicName)
The name of a topic on which you wish to apply the filter.
topicName
- The name of a topic on which you wish to apply the filter.public String getTopicName()
The name of a topic on which you wish to apply the filter.
public TopicFilter withTopicName(String topicName)
The name of a topic on which you wish to apply the filter.
topicName
- The name of a topic on which you wish to apply the filter.public void setUseDefaultIfPreferenceUnavailable(Boolean useDefaultIfPreferenceUnavailable)
Notes that the default subscription status should be applied to a contact because the contact has not noted their preference for subscribing to a topic.
useDefaultIfPreferenceUnavailable
- Notes that the default subscription status should be applied to a contact because the contact has not
noted their preference for subscribing to a topic.public Boolean getUseDefaultIfPreferenceUnavailable()
Notes that the default subscription status should be applied to a contact because the contact has not noted their preference for subscribing to a topic.
public TopicFilter withUseDefaultIfPreferenceUnavailable(Boolean useDefaultIfPreferenceUnavailable)
Notes that the default subscription status should be applied to a contact because the contact has not noted their preference for subscribing to a topic.
useDefaultIfPreferenceUnavailable
- Notes that the default subscription status should be applied to a contact because the contact has not
noted their preference for subscribing to a topic.public Boolean isUseDefaultIfPreferenceUnavailable()
Notes that the default subscription status should be applied to a contact because the contact has not noted their preference for subscribing to a topic.
public String toString()
toString
in class Object
Object.toString()
public TopicFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.