@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTopicReviewedAnswer extends Object implements Serializable, Cloneable, StructuredPojo
The definition for a CreateTopicReviewedAnswer.
| Constructor and Description |
|---|
CreateTopicReviewedAnswer() |
| Modifier and Type | Method and Description |
|---|---|
CreateTopicReviewedAnswer |
clone() |
boolean |
equals(Object obj) |
String |
getAnswerId()
The answer ID for the
CreateTopicReviewedAnswer. |
String |
getDatasetArn()
The Dataset arn for the
CreateTopicReviewedAnswer. |
TopicIR |
getMir()
The Mir for the
CreateTopicReviewedAnswer. |
TopicVisual |
getPrimaryVisual()
The
PrimaryVisual for the CreateTopicReviewedAnswer. |
String |
getQuestion()
The Question to be created.
|
TopicTemplate |
getTemplate()
The template for the
CreateTopicReviewedAnswer. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAnswerId(String answerId)
The answer ID for the
CreateTopicReviewedAnswer. |
void |
setDatasetArn(String datasetArn)
The Dataset arn for the
CreateTopicReviewedAnswer. |
void |
setMir(TopicIR mir)
The Mir for the
CreateTopicReviewedAnswer. |
void |
setPrimaryVisual(TopicVisual primaryVisual)
The
PrimaryVisual for the CreateTopicReviewedAnswer. |
void |
setQuestion(String question)
The Question to be created.
|
void |
setTemplate(TopicTemplate template)
The template for the
CreateTopicReviewedAnswer. |
String |
toString()
Returns a string representation of this object.
|
CreateTopicReviewedAnswer |
withAnswerId(String answerId)
The answer ID for the
CreateTopicReviewedAnswer. |
CreateTopicReviewedAnswer |
withDatasetArn(String datasetArn)
The Dataset arn for the
CreateTopicReviewedAnswer. |
CreateTopicReviewedAnswer |
withMir(TopicIR mir)
The Mir for the
CreateTopicReviewedAnswer. |
CreateTopicReviewedAnswer |
withPrimaryVisual(TopicVisual primaryVisual)
The
PrimaryVisual for the CreateTopicReviewedAnswer. |
CreateTopicReviewedAnswer |
withQuestion(String question)
The Question to be created.
|
CreateTopicReviewedAnswer |
withTemplate(TopicTemplate template)
The template for the
CreateTopicReviewedAnswer. |
public void setAnswerId(String answerId)
The answer ID for the CreateTopicReviewedAnswer.
answerId - The answer ID for the CreateTopicReviewedAnswer.public String getAnswerId()
The answer ID for the CreateTopicReviewedAnswer.
CreateTopicReviewedAnswer.public CreateTopicReviewedAnswer withAnswerId(String answerId)
The answer ID for the CreateTopicReviewedAnswer.
answerId - The answer ID for the CreateTopicReviewedAnswer.public void setDatasetArn(String datasetArn)
The Dataset arn for the CreateTopicReviewedAnswer.
datasetArn - The Dataset arn for the CreateTopicReviewedAnswer.public String getDatasetArn()
The Dataset arn for the CreateTopicReviewedAnswer.
CreateTopicReviewedAnswer.public CreateTopicReviewedAnswer withDatasetArn(String datasetArn)
The Dataset arn for the CreateTopicReviewedAnswer.
datasetArn - The Dataset arn for the CreateTopicReviewedAnswer.public void setQuestion(String question)
The Question to be created.
question - The Question to be created.public String getQuestion()
The Question to be created.
public CreateTopicReviewedAnswer withQuestion(String question)
The Question to be created.
question - The Question to be created.public void setMir(TopicIR mir)
The Mir for the CreateTopicReviewedAnswer.
mir - The Mir for the CreateTopicReviewedAnswer.public TopicIR getMir()
The Mir for the CreateTopicReviewedAnswer.
CreateTopicReviewedAnswer.public CreateTopicReviewedAnswer withMir(TopicIR mir)
The Mir for the CreateTopicReviewedAnswer.
mir - The Mir for the CreateTopicReviewedAnswer.public void setPrimaryVisual(TopicVisual primaryVisual)
The PrimaryVisual for the CreateTopicReviewedAnswer.
primaryVisual - The PrimaryVisual for the CreateTopicReviewedAnswer.public TopicVisual getPrimaryVisual()
The PrimaryVisual for the CreateTopicReviewedAnswer.
PrimaryVisual for the CreateTopicReviewedAnswer.public CreateTopicReviewedAnswer withPrimaryVisual(TopicVisual primaryVisual)
The PrimaryVisual for the CreateTopicReviewedAnswer.
primaryVisual - The PrimaryVisual for the CreateTopicReviewedAnswer.public void setTemplate(TopicTemplate template)
The template for the CreateTopicReviewedAnswer.
template - The template for the CreateTopicReviewedAnswer.public TopicTemplate getTemplate()
The template for the CreateTopicReviewedAnswer.
CreateTopicReviewedAnswer.public CreateTopicReviewedAnswer withTemplate(TopicTemplate template)
The template for the CreateTopicReviewedAnswer.
template - The template for the CreateTopicReviewedAnswer.public String toString()
toString in class ObjectObject.toString()public CreateTopicReviewedAnswer clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.