@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReviewTemplateAnswerSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary of review template answers.
Constructor and Description |
---|
ReviewTemplateAnswerSummary() |
Modifier and Type | Method and Description |
---|---|
ReviewTemplateAnswerSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAnswerStatus()
The status of whether or not this question has been answered.
|
List<ChoiceAnswerSummary> |
getChoiceAnswerSummaries()
A list of selected choices to a question in the review template.
|
List<Choice> |
getChoices() |
Boolean |
getIsApplicable() |
String |
getPillarId() |
String |
getQuestionId() |
String |
getQuestionTitle() |
String |
getQuestionType()
The type of question.
|
String |
getReason()
The reason why a choice is not-applicable to a question in the review template.
|
List<String> |
getSelectedChoices() |
int |
hashCode() |
Boolean |
isApplicable() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnswerStatus(String answerStatus)
The status of whether or not this question has been answered.
|
void |
setChoiceAnswerSummaries(Collection<ChoiceAnswerSummary> choiceAnswerSummaries)
A list of selected choices to a question in the review template.
|
void |
setChoices(Collection<Choice> choices) |
void |
setIsApplicable(Boolean isApplicable) |
void |
setPillarId(String pillarId) |
void |
setQuestionId(String questionId) |
void |
setQuestionTitle(String questionTitle) |
void |
setQuestionType(String questionType)
The type of question.
|
void |
setReason(String reason)
The reason why a choice is not-applicable to a question in the review template.
|
void |
setSelectedChoices(Collection<String> selectedChoices) |
String |
toString()
Returns a string representation of this object.
|
ReviewTemplateAnswerSummary |
withAnswerStatus(ReviewTemplateAnswerStatus answerStatus)
The status of whether or not this question has been answered.
|
ReviewTemplateAnswerSummary |
withAnswerStatus(String answerStatus)
The status of whether or not this question has been answered.
|
ReviewTemplateAnswerSummary |
withChoiceAnswerSummaries(ChoiceAnswerSummary... choiceAnswerSummaries)
A list of selected choices to a question in the review template.
|
ReviewTemplateAnswerSummary |
withChoiceAnswerSummaries(Collection<ChoiceAnswerSummary> choiceAnswerSummaries)
A list of selected choices to a question in the review template.
|
ReviewTemplateAnswerSummary |
withChoices(Choice... choices)
NOTE: This method appends the values to the existing list (if any).
|
ReviewTemplateAnswerSummary |
withChoices(Collection<Choice> choices) |
ReviewTemplateAnswerSummary |
withIsApplicable(Boolean isApplicable) |
ReviewTemplateAnswerSummary |
withPillarId(String pillarId) |
ReviewTemplateAnswerSummary |
withQuestionId(String questionId) |
ReviewTemplateAnswerSummary |
withQuestionTitle(String questionTitle) |
ReviewTemplateAnswerSummary |
withQuestionType(QuestionType questionType)
The type of question.
|
ReviewTemplateAnswerSummary |
withQuestionType(String questionType)
The type of question.
|
ReviewTemplateAnswerSummary |
withReason(AnswerReason reason)
The reason why a choice is not-applicable to a question in the review template.
|
ReviewTemplateAnswerSummary |
withReason(String reason)
The reason why a choice is not-applicable to a question in the review template.
|
ReviewTemplateAnswerSummary |
withSelectedChoices(Collection<String> selectedChoices) |
ReviewTemplateAnswerSummary |
withSelectedChoices(String... selectedChoices)
NOTE: This method appends the values to the existing list (if any).
|
public void setQuestionId(String questionId)
questionId
- public String getQuestionId()
public ReviewTemplateAnswerSummary withQuestionId(String questionId)
questionId
- public void setPillarId(String pillarId)
pillarId
- public String getPillarId()
public ReviewTemplateAnswerSummary withPillarId(String pillarId)
pillarId
- public void setQuestionTitle(String questionTitle)
questionTitle
- public String getQuestionTitle()
public ReviewTemplateAnswerSummary withQuestionTitle(String questionTitle)
questionTitle
- public void setChoices(Collection<Choice> choices)
choices
- public ReviewTemplateAnswerSummary 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 ReviewTemplateAnswerSummary withChoices(Collection<Choice> choices)
choices
- public void setSelectedChoices(Collection<String> selectedChoices)
selectedChoices
- public ReviewTemplateAnswerSummary 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 ReviewTemplateAnswerSummary withSelectedChoices(Collection<String> selectedChoices)
selectedChoices
- public List<ChoiceAnswerSummary> getChoiceAnswerSummaries()
A list of selected choices to a question in the review template.
public void setChoiceAnswerSummaries(Collection<ChoiceAnswerSummary> choiceAnswerSummaries)
A list of selected choices to a question in the review template.
choiceAnswerSummaries
- A list of selected choices to a question in the review template.public ReviewTemplateAnswerSummary withChoiceAnswerSummaries(ChoiceAnswerSummary... choiceAnswerSummaries)
A list of selected choices to a question in the review template.
NOTE: This method appends the values to the existing list (if any). Use
setChoiceAnswerSummaries(java.util.Collection)
or
withChoiceAnswerSummaries(java.util.Collection)
if you want to override the existing values.
choiceAnswerSummaries
- A list of selected choices to a question in the review template.public ReviewTemplateAnswerSummary withChoiceAnswerSummaries(Collection<ChoiceAnswerSummary> choiceAnswerSummaries)
A list of selected choices to a question in the review template.
choiceAnswerSummaries
- A list of selected choices to a question in the review template.public void setIsApplicable(Boolean isApplicable)
isApplicable
- public Boolean getIsApplicable()
public ReviewTemplateAnswerSummary withIsApplicable(Boolean isApplicable)
isApplicable
- public Boolean isApplicable()
public void setAnswerStatus(String answerStatus)
The status of whether or not this question has been answered.
answerStatus
- The status of whether or not this question has been answered.ReviewTemplateAnswerStatus
public String getAnswerStatus()
The status of whether or not this question has been answered.
ReviewTemplateAnswerStatus
public ReviewTemplateAnswerSummary withAnswerStatus(String answerStatus)
The status of whether or not this question has been answered.
answerStatus
- The status of whether or not this question has been answered.ReviewTemplateAnswerStatus
public ReviewTemplateAnswerSummary withAnswerStatus(ReviewTemplateAnswerStatus answerStatus)
The status of whether or not this question has been answered.
answerStatus
- The status of whether or not this question has been answered.ReviewTemplateAnswerStatus
public void setReason(String reason)
The reason why a choice is not-applicable to a question in the review template.
reason
- The reason why a choice is not-applicable to a question in the review template.AnswerReason
public String getReason()
The reason why a choice is not-applicable to a question in the review template.
AnswerReason
public ReviewTemplateAnswerSummary withReason(String reason)
The reason why a choice is not-applicable to a question in the review template.
reason
- The reason why a choice is not-applicable to a question in the review template.AnswerReason
public ReviewTemplateAnswerSummary withReason(AnswerReason reason)
The reason why a choice is not-applicable to a question in the review template.
reason
- The reason why a choice is not-applicable to a question in the review template.AnswerReason
public void setQuestionType(String questionType)
The type of question.
questionType
- The type of question.QuestionType
public String getQuestionType()
The type of question.
QuestionType
public ReviewTemplateAnswerSummary withQuestionType(String questionType)
The type of question.
questionType
- The type of question.QuestionType
public ReviewTemplateAnswerSummary withQuestionType(QuestionType questionType)
The type of question.
questionType
- The type of question.QuestionType
public String toString()
toString
in class Object
Object.toString()
public ReviewTemplateAnswerSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.