@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TopicDetails extends Object implements Serializable, Cloneable, StructuredPojo
A structure that describes the details of a topic, such as its name, description, and associated data sets.
Constructor and Description |
---|
TopicDetails() |
Modifier and Type | Method and Description |
---|---|
TopicDetails |
clone() |
boolean |
equals(Object obj) |
List<DatasetMetadata> |
getDataSets()
The data sets that the topic is associated with.
|
String |
getDescription()
The description of the topic.
|
String |
getName()
The name of the topic.
|
String |
getUserExperienceVersion()
The user experience version of a topic.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataSets(Collection<DatasetMetadata> dataSets)
The data sets that the topic is associated with.
|
void |
setDescription(String description)
The description of the topic.
|
void |
setName(String name)
The name of the topic.
|
void |
setUserExperienceVersion(String userExperienceVersion)
The user experience version of a topic.
|
String |
toString()
Returns a string representation of this object.
|
TopicDetails |
withDataSets(Collection<DatasetMetadata> dataSets)
The data sets that the topic is associated with.
|
TopicDetails |
withDataSets(DatasetMetadata... dataSets)
The data sets that the topic is associated with.
|
TopicDetails |
withDescription(String description)
The description of the topic.
|
TopicDetails |
withName(String name)
The name of the topic.
|
TopicDetails |
withUserExperienceVersion(String userExperienceVersion)
The user experience version of a topic.
|
TopicDetails |
withUserExperienceVersion(TopicUserExperienceVersion userExperienceVersion)
The user experience version of a topic.
|
public void setName(String name)
The name of the topic.
name
- The name of the topic.public String getName()
The name of the topic.
public TopicDetails withName(String name)
The name of the topic.
name
- The name of the topic.public void setDescription(String description)
The description of the topic.
description
- The description of the topic.public String getDescription()
The description of the topic.
public TopicDetails withDescription(String description)
The description of the topic.
description
- The description of the topic.public void setUserExperienceVersion(String userExperienceVersion)
The user experience version of a topic.
userExperienceVersion
- The user experience version of a topic.TopicUserExperienceVersion
public String getUserExperienceVersion()
The user experience version of a topic.
TopicUserExperienceVersion
public TopicDetails withUserExperienceVersion(String userExperienceVersion)
The user experience version of a topic.
userExperienceVersion
- The user experience version of a topic.TopicUserExperienceVersion
public TopicDetails withUserExperienceVersion(TopicUserExperienceVersion userExperienceVersion)
The user experience version of a topic.
userExperienceVersion
- The user experience version of a topic.TopicUserExperienceVersion
public List<DatasetMetadata> getDataSets()
The data sets that the topic is associated with.
public void setDataSets(Collection<DatasetMetadata> dataSets)
The data sets that the topic is associated with.
dataSets
- The data sets that the topic is associated with.public TopicDetails withDataSets(DatasetMetadata... dataSets)
The data sets that the topic is associated with.
NOTE: This method appends the values to the existing list (if any). Use
setDataSets(java.util.Collection)
or withDataSets(java.util.Collection)
if you want to override
the existing values.
dataSets
- The data sets that the topic is associated with.public TopicDetails withDataSets(Collection<DatasetMetadata> dataSets)
The data sets that the topic is associated with.
dataSets
- The data sets that the topic is associated with.public String toString()
toString
in class Object
Object.toString()
public TopicDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.