@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) |
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 ObjectObject.toString()public TopicFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2025. All rights reserved.