@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReviewTemplateAnswer extends Object implements Serializable, Cloneable, StructuredPojo
An answer of the question.
Constructor and Description |
---|
ReviewTemplateAnswer() |
Modifier and Type | Method and Description |
---|---|
ReviewTemplateAnswer |
clone() |
boolean |
equals(Object obj) |
String |
getAnswerStatus()
The status of whether or not this question has been answered.
|
List<ChoiceAnswer> |
getChoiceAnswers()
A list of selected choices to a question in your review template.
|
List<Choice> |
getChoices() |
String |
getHelpfulResourceDisplayText()
The helpful resource text to be displayed for a custom lens.
|
String |
getHelpfulResourceUrl() |
String |
getImprovementPlanUrl() |
Boolean |
getIsApplicable() |
String |
getNotes() |
String |
getPillarId() |
String |
getQuestionDescription() |
String |
getQuestionId() |
String |
getQuestionTitle() |
String |
getReason()
The reason why the question is not applicable to your 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 |
setChoiceAnswers(Collection<ChoiceAnswer> choiceAnswers)
A list of selected choices to a question in your review template.
|
void |
setChoices(Collection<Choice> choices) |
void |
setHelpfulResourceDisplayText(String helpfulResourceDisplayText)
The helpful resource text to be displayed for a custom lens.
|
void |
setHelpfulResourceUrl(String helpfulResourceUrl) |
void |
setImprovementPlanUrl(String improvementPlanUrl) |
void |
setIsApplicable(Boolean isApplicable) |
void |
setNotes(String notes) |
void |
setPillarId(String pillarId) |
void |
setQuestionDescription(String questionDescription) |
void |
setQuestionId(String questionId) |
void |
setQuestionTitle(String questionTitle) |
void |
setReason(String reason)
The reason why the question is not applicable to your review template.
|
void |
setSelectedChoices(Collection<String> selectedChoices) |
String |
toString()
Returns a string representation of this object.
|
ReviewTemplateAnswer |
withAnswerStatus(ReviewTemplateAnswerStatus answerStatus)
The status of whether or not this question has been answered.
|
ReviewTemplateAnswer |
withAnswerStatus(String answerStatus)
The status of whether or not this question has been answered.
|
ReviewTemplateAnswer |
withChoiceAnswers(ChoiceAnswer... choiceAnswers)
A list of selected choices to a question in your review template.
|
ReviewTemplateAnswer |
withChoiceAnswers(Collection<ChoiceAnswer> choiceAnswers)
A list of selected choices to a question in your review template.
|
ReviewTemplateAnswer |
withChoices(Choice... choices)
NOTE: This method appends the values to the existing list (if any).
|
ReviewTemplateAnswer |
withChoices(Collection<Choice> choices) |
ReviewTemplateAnswer |
withHelpfulResourceDisplayText(String helpfulResourceDisplayText)
The helpful resource text to be displayed for a custom lens.
|
ReviewTemplateAnswer |
withHelpfulResourceUrl(String helpfulResourceUrl) |
ReviewTemplateAnswer |
withImprovementPlanUrl(String improvementPlanUrl) |
ReviewTemplateAnswer |
withIsApplicable(Boolean isApplicable) |
ReviewTemplateAnswer |
withNotes(String notes) |
ReviewTemplateAnswer |
withPillarId(String pillarId) |
ReviewTemplateAnswer |
withQuestionDescription(String questionDescription) |
ReviewTemplateAnswer |
withQuestionId(String questionId) |
ReviewTemplateAnswer |
withQuestionTitle(String questionTitle) |
ReviewTemplateAnswer |
withReason(AnswerReason reason)
The reason why the question is not applicable to your review template.
|
ReviewTemplateAnswer |
withReason(String reason)
The reason why the question is not applicable to your review template.
|
ReviewTemplateAnswer |
withSelectedChoices(Collection<String> selectedChoices) |
ReviewTemplateAnswer |
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 ReviewTemplateAnswer withQuestionId(String questionId)
questionId
- public void setPillarId(String pillarId)
pillarId
- public String getPillarId()
public ReviewTemplateAnswer withPillarId(String pillarId)
pillarId
- public void setQuestionTitle(String questionTitle)
questionTitle
- public String getQuestionTitle()
public ReviewTemplateAnswer withQuestionTitle(String questionTitle)
questionTitle
- public void setQuestionDescription(String questionDescription)
questionDescription
- public String getQuestionDescription()
public ReviewTemplateAnswer withQuestionDescription(String questionDescription)
questionDescription
- public void setImprovementPlanUrl(String improvementPlanUrl)
improvementPlanUrl
- public String getImprovementPlanUrl()
public ReviewTemplateAnswer withImprovementPlanUrl(String improvementPlanUrl)
improvementPlanUrl
- public void setHelpfulResourceUrl(String helpfulResourceUrl)
helpfulResourceUrl
- public String getHelpfulResourceUrl()
public ReviewTemplateAnswer withHelpfulResourceUrl(String helpfulResourceUrl)
helpfulResourceUrl
- public void setHelpfulResourceDisplayText(String helpfulResourceDisplayText)
The helpful resource text to be displayed for a custom lens.
This field does not apply to Amazon Web Services official lenses.
helpfulResourceDisplayText
- The helpful resource text to be displayed for a custom lens. This field does not apply to Amazon Web Services official lenses.
public String getHelpfulResourceDisplayText()
The helpful resource text to be displayed for a custom lens.
This field does not apply to Amazon Web Services official lenses.
This field does not apply to Amazon Web Services official lenses.
public ReviewTemplateAnswer withHelpfulResourceDisplayText(String helpfulResourceDisplayText)
The helpful resource text to be displayed for a custom lens.
This field does not apply to Amazon Web Services official lenses.
helpfulResourceDisplayText
- The helpful resource text to be displayed for a custom lens. This field does not apply to Amazon Web Services official lenses.
public void setChoices(Collection<Choice> choices)
choices
- public ReviewTemplateAnswer 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 ReviewTemplateAnswer withChoices(Collection<Choice> choices)
choices
- public void setSelectedChoices(Collection<String> selectedChoices)
selectedChoices
- public ReviewTemplateAnswer 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 ReviewTemplateAnswer withSelectedChoices(Collection<String> selectedChoices)
selectedChoices
- public List<ChoiceAnswer> getChoiceAnswers()
A list of selected choices to a question in your review template.
public void setChoiceAnswers(Collection<ChoiceAnswer> choiceAnswers)
A list of selected choices to a question in your review template.
choiceAnswers
- A list of selected choices to a question in your review template.public ReviewTemplateAnswer withChoiceAnswers(ChoiceAnswer... choiceAnswers)
A list of selected choices to a question in your review template.
NOTE: This method appends the values to the existing list (if any). Use
setChoiceAnswers(java.util.Collection)
or withChoiceAnswers(java.util.Collection)
if you want
to override the existing values.
choiceAnswers
- A list of selected choices to a question in your review template.public ReviewTemplateAnswer withChoiceAnswers(Collection<ChoiceAnswer> choiceAnswers)
A list of selected choices to a question in your review template.
choiceAnswers
- A list of selected choices to a question in your review template.public void setIsApplicable(Boolean isApplicable)
isApplicable
- public Boolean getIsApplicable()
public ReviewTemplateAnswer 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 ReviewTemplateAnswer 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 ReviewTemplateAnswer 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 setNotes(String notes)
notes
- public String getNotes()
public ReviewTemplateAnswer withNotes(String notes)
notes
- public void setReason(String reason)
The reason why the question is not applicable to your review template.
reason
- The reason why the question is not applicable to your review template.AnswerReason
public String getReason()
The reason why the question is not applicable to your review template.
AnswerReason
public ReviewTemplateAnswer withReason(String reason)
The reason why the question is not applicable to your review template.
reason
- The reason why the question is not applicable to your review template.AnswerReason
public ReviewTemplateAnswer withReason(AnswerReason reason)
The reason why the question is not applicable to your review template.
reason
- The reason why the question is not applicable to your review template.AnswerReason
public String toString()
toString
in class Object
Object.toString()
public ReviewTemplateAnswer clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.