@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() |
Modifier and Type | Method and Description |
---|---|
Answer |
clone() |
boolean |
equals(Object obj) |
List<ChoiceAnswer> |
getChoiceAnswers()
A list of selected choices to a question in your workload.
|
List<Choice> |
getChoices() |
String |
getHelpfulResourceDisplayText()
The helpful resource text to be displayed for a custom lens.
|
String |
getHelpfulResourceUrl() |
String |
getImprovementPlanUrl() |
Boolean |
getIsApplicable() |
JiraConfiguration |
getJiraConfiguration()
Configuration of the Jira integration.
|
String |
getNotes() |
String |
getPillarId() |
String |
getQuestionDescription() |
String |
getQuestionId() |
String |
getQuestionTitle() |
String |
getReason()
The reason why the question is not applicable to your workload.
|
String |
getRisk() |
List<String> |
getSelectedChoices() |
int |
hashCode() |
Boolean |
isApplicable() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChoiceAnswers(Collection<ChoiceAnswer> choiceAnswers)
A list of selected choices to a question in your workload.
|
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 |
setJiraConfiguration(JiraConfiguration jiraConfiguration)
Configuration of the Jira integration.
|
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 workload.
|
void |
setRisk(String risk) |
void |
setSelectedChoices(Collection<String> selectedChoices) |
String |
toString()
Returns a string representation of this object.
|
Answer |
withChoiceAnswers(ChoiceAnswer... choiceAnswers)
A list of selected choices to a question in your workload.
|
Answer |
withChoiceAnswers(Collection<ChoiceAnswer> choiceAnswers)
A list of selected choices to a question in your workload.
|
Answer |
withChoices(Choice... choices)
NOTE: This method appends the values to the existing list (if any).
|
Answer |
withChoices(Collection<Choice> choices) |
Answer |
withHelpfulResourceDisplayText(String helpfulResourceDisplayText)
The helpful resource text to be displayed for a custom lens.
|
Answer |
withHelpfulResourceUrl(String helpfulResourceUrl) |
Answer |
withImprovementPlanUrl(String improvementPlanUrl) |
Answer |
withIsApplicable(Boolean isApplicable) |
Answer |
withJiraConfiguration(JiraConfiguration jiraConfiguration)
Configuration of the Jira integration.
|
Answer |
withNotes(String notes) |
Answer |
withPillarId(String pillarId) |
Answer |
withQuestionDescription(String questionDescription) |
Answer |
withQuestionId(String questionId) |
Answer |
withQuestionTitle(String questionTitle) |
Answer |
withReason(AnswerReason reason)
The reason why the question is not applicable to your workload.
|
Answer |
withReason(String reason)
The reason why the question is not applicable to your workload.
|
Answer |
withRisk(Risk risk) |
Answer |
withRisk(String risk) |
Answer |
withSelectedChoices(Collection<String> selectedChoices) |
Answer |
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 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 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 Answer 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 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 List<ChoiceAnswer> getChoiceAnswers()
A list of selected choices to a question in your workload.
public void setChoiceAnswers(Collection<ChoiceAnswer> choiceAnswers)
A list of selected choices to a question in your workload.
choiceAnswers
- A list of selected choices to a question in your workload.public Answer withChoiceAnswers(ChoiceAnswer... choiceAnswers)
A list of selected choices to a question in your workload.
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 workload.public Answer withChoiceAnswers(Collection<ChoiceAnswer> choiceAnswers)
A list of selected choices to a question in your workload.
choiceAnswers
- A list of selected choices to a question in your workload.public void setIsApplicable(Boolean isApplicable)
isApplicable
- public Boolean getIsApplicable()
public Answer withIsApplicable(Boolean isApplicable)
isApplicable
- public Boolean isApplicable()
public Answer withRisk(String risk)
risk
- Risk
public Answer withRisk(Risk risk)
risk
- Risk
public void setNotes(String notes)
notes
- public String getNotes()
public Answer withNotes(String notes)
notes
- public void setReason(String reason)
The reason why the question is not applicable to your workload.
reason
- The reason why the question is not applicable to your workload.AnswerReason
public String getReason()
The reason why the question is not applicable to your workload.
AnswerReason
public Answer withReason(String reason)
The reason why the question is not applicable to your workload.
reason
- The reason why the question is not applicable to your workload.AnswerReason
public Answer withReason(AnswerReason reason)
The reason why the question is not applicable to your workload.
reason
- The reason why the question is not applicable to your workload.AnswerReason
public void setJiraConfiguration(JiraConfiguration jiraConfiguration)
Configuration of the Jira integration.
jiraConfiguration
- Configuration of the Jira integration.public JiraConfiguration getJiraConfiguration()
Configuration of the Jira integration.
public Answer withJiraConfiguration(JiraConfiguration jiraConfiguration)
Configuration of the Jira integration.
jiraConfiguration
- Configuration of the Jira integration.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.