@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Topic extends Object implements Serializable, Cloneable, StructuredPojo
An interest group, theme, or label within a list. Lists can have multiple topics.
Constructor and Description |
---|
Topic() |
Modifier and Type | Method and Description |
---|---|
Topic |
clone() |
boolean |
equals(Object obj) |
String |
getDefaultSubscriptionStatus()
The default subscription status to be applied to a contact if the contact has not noted their preference for
subscribing to a topic.
|
String |
getDescription()
A description of what the topic is about, which the contact will see.
|
String |
getDisplayName()
The name of the topic the contact will see.
|
String |
getTopicName()
The name of the topic.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefaultSubscriptionStatus(String defaultSubscriptionStatus)
The default subscription status to be applied to a contact if the contact has not noted their preference for
subscribing to a topic.
|
void |
setDescription(String description)
A description of what the topic is about, which the contact will see.
|
void |
setDisplayName(String displayName)
The name of the topic the contact will see.
|
void |
setTopicName(String topicName)
The name of the topic.
|
String |
toString()
Returns a string representation of this object.
|
Topic |
withDefaultSubscriptionStatus(String defaultSubscriptionStatus)
The default subscription status to be applied to a contact if the contact has not noted their preference for
subscribing to a topic.
|
Topic |
withDefaultSubscriptionStatus(SubscriptionStatus defaultSubscriptionStatus)
The default subscription status to be applied to a contact if the contact has not noted their preference for
subscribing to a topic.
|
Topic |
withDescription(String description)
A description of what the topic is about, which the contact will see.
|
Topic |
withDisplayName(String displayName)
The name of the topic the contact will see.
|
Topic |
withTopicName(String topicName)
The name of the topic.
|
public void setTopicName(String topicName)
The name of the topic.
topicName
- The name of the topic.public String getTopicName()
The name of the topic.
public Topic withTopicName(String topicName)
The name of the topic.
topicName
- The name of the topic.public void setDisplayName(String displayName)
The name of the topic the contact will see.
displayName
- The name of the topic the contact will see.public String getDisplayName()
The name of the topic the contact will see.
public Topic withDisplayName(String displayName)
The name of the topic the contact will see.
displayName
- The name of the topic the contact will see.public void setDescription(String description)
A description of what the topic is about, which the contact will see.
description
- A description of what the topic is about, which the contact will see.public String getDescription()
A description of what the topic is about, which the contact will see.
public Topic withDescription(String description)
A description of what the topic is about, which the contact will see.
description
- A description of what the topic is about, which the contact will see.public void setDefaultSubscriptionStatus(String defaultSubscriptionStatus)
The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
defaultSubscriptionStatus
- The default subscription status to be applied to a contact if the contact has not noted their preference
for subscribing to a topic.SubscriptionStatus
public String getDefaultSubscriptionStatus()
The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
SubscriptionStatus
public Topic withDefaultSubscriptionStatus(String defaultSubscriptionStatus)
The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
defaultSubscriptionStatus
- The default subscription status to be applied to a contact if the contact has not noted their preference
for subscribing to a topic.SubscriptionStatus
public Topic withDefaultSubscriptionStatus(SubscriptionStatus defaultSubscriptionStatus)
The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.
defaultSubscriptionStatus
- The default subscription status to be applied to a contact if the contact has not noted their preference
for subscribing to a topic.SubscriptionStatus
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.