@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
- Risk
public AnswerSummary withRisk(Risk risk)
risk
- Risk
public String toString()
toString
in class Object
Object.toString()
public AnswerSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.