@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TopicTemplate extends Object implements Serializable, Cloneable, StructuredPojo
The definition for a TopicTemplate.
| Constructor and Description |
|---|
TopicTemplate() |
| Modifier and Type | Method and Description |
|---|---|
TopicTemplate |
clone() |
boolean |
equals(Object obj) |
List<Slot> |
getSlots()
The slots for the
TopicTemplate. |
String |
getTemplateType()
The template type for the
TopicTemplate. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSlots(Collection<Slot> slots)
The slots for the
TopicTemplate. |
void |
setTemplateType(String templateType)
The template type for the
TopicTemplate. |
String |
toString()
Returns a string representation of this object.
|
TopicTemplate |
withSlots(Collection<Slot> slots)
The slots for the
TopicTemplate. |
TopicTemplate |
withSlots(Slot... slots)
The slots for the
TopicTemplate. |
TopicTemplate |
withTemplateType(String templateType)
The template type for the
TopicTemplate. |
public void setTemplateType(String templateType)
The template type for the TopicTemplate.
templateType - The template type for the TopicTemplate.public String getTemplateType()
The template type for the TopicTemplate.
TopicTemplate.public TopicTemplate withTemplateType(String templateType)
The template type for the TopicTemplate.
templateType - The template type for the TopicTemplate.public List<Slot> getSlots()
The slots for the TopicTemplate.
TopicTemplate.public void setSlots(Collection<Slot> slots)
The slots for the TopicTemplate.
slots - The slots for the TopicTemplate.public TopicTemplate withSlots(Slot... slots)
The slots for the TopicTemplate.
NOTE: This method appends the values to the existing list (if any). Use
setSlots(java.util.Collection) or withSlots(java.util.Collection) if you want to override the
existing values.
slots - The slots for the TopicTemplate.public TopicTemplate withSlots(Collection<Slot> slots)
The slots for the TopicTemplate.
slots - The slots for the TopicTemplate.public String toString()
toString in class ObjectObject.toString()public TopicTemplate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.