@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnswerSummary extends Object implements Serializable, Cloneable, StructuredPojo
An answer summary of a lens review in a workload.
| Constructor and Description |
|---|
AnswerSummary() |
public void setQuestionId(String questionId)
questionId - public String getQuestionId()
public AnswerSummary withQuestionId(String questionId)
questionId - public void setPillarId(String pillarId)
pillarId - public String getPillarId()
public AnswerSummary withPillarId(String pillarId)
pillarId - public void setQuestionTitle(String questionTitle)
questionTitle - public String getQuestionTitle()
public AnswerSummary withQuestionTitle(String questionTitle)
questionTitle - public void setChoices(Collection<Choice> choices)
choices - public AnswerSummary 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 AnswerSummary withChoices(Collection<Choice> choices)
choices - public void setSelectedChoices(Collection<String> selectedChoices)
selectedChoices - public AnswerSummary 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 AnswerSummary withSelectedChoices(Collection<String> selectedChoices)
selectedChoices - public void setIsApplicable(Boolean isApplicable)
isApplicable - public Boolean getIsApplicable()
public AnswerSummary withIsApplicable(Boolean isApplicable)
isApplicable - public Boolean isApplicable()
public AnswerSummary withRisk(String risk)
risk - Riskpublic AnswerSummary withRisk(Risk risk)
risk - Riskpublic String toString()
toString in class ObjectObject.toString()public AnswerSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.