@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Answer extends Object implements Serializable, Cloneable, StructuredPojo
An answer of the question.
| Constructor and Description |
|---|
Answer() |
public void setQuestionId(String questionId)
questionId - public String getQuestionId()
public Answer withQuestionId(String questionId)
questionId - public void setPillarId(String pillarId)
pillarId - public String getPillarId()
public Answer withPillarId(String pillarId)
pillarId - public void setQuestionTitle(String questionTitle)
questionTitle - public String getQuestionTitle()
public Answer withQuestionTitle(String questionTitle)
questionTitle - public void setQuestionDescription(String questionDescription)
questionDescription - public String getQuestionDescription()
public Answer withQuestionDescription(String questionDescription)
questionDescription - public void setImprovementPlanUrl(String improvementPlanUrl)
improvementPlanUrl - public String getImprovementPlanUrl()
public Answer withImprovementPlanUrl(String improvementPlanUrl)
improvementPlanUrl - public void setHelpfulResourceUrl(String helpfulResourceUrl)
helpfulResourceUrl - public String getHelpfulResourceUrl()
public Answer withHelpfulResourceUrl(String helpfulResourceUrl)
helpfulResourceUrl - public void setChoices(Collection<Choice> choices)
choices - public Answer withChoices(Choice... choices)
NOTE: This method appends the values to the existing list (if any). Use
setChoices(java.util.Collection) or withChoices(java.util.Collection) if you want to override
the existing values.
choices - public Answer withChoices(Collection<Choice> choices)
choices - public void setSelectedChoices(Collection<String> selectedChoices)
selectedChoices - public Answer withSelectedChoices(String... selectedChoices)
NOTE: This method appends the values to the existing list (if any). Use
setSelectedChoices(java.util.Collection) or withSelectedChoices(java.util.Collection) if you
want to override the existing values.
selectedChoices - public Answer withSelectedChoices(Collection<String> selectedChoices)
selectedChoices - public void setIsApplicable(Boolean isApplicable)
isApplicable - public Boolean getIsApplicable()
public Answer withIsApplicable(Boolean isApplicable)
isApplicable - public Boolean isApplicable()
public Answer withRisk(String risk)
risk - Riskpublic Answer withRisk(Risk risk)
risk - Riskpublic void setNotes(String notes)
notes - public String getNotes()
public Answer withNotes(String notes)
notes - public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.