@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() |
| Modifier and Type | Method and Description |
|---|---|
AnswerSummary |
clone() |
boolean |
equals(Object obj) |
List<ChoiceAnswerSummary> |
getChoiceAnswerSummaries()
A list of selected choices to a question in your workload.
|
List<Choice> |
getChoices() |
Boolean |
getIsApplicable() |
JiraConfiguration |
getJiraConfiguration()
Configuration of the Jira integration.
|
String |
getPillarId() |
String |
getQuestionId() |
String |
getQuestionTitle() |
String |
getQuestionType()
The type of the question.
|
String |
getReason()
The reason why a choice is non-applicable to a question in your workload.
|
String |
getRisk() |
List<String> |
getSelectedChoices() |
int |
hashCode() |
Boolean |
isApplicable() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setChoiceAnswerSummaries(Collection<ChoiceAnswerSummary> choiceAnswerSummaries)
A list of selected choices to a question in your workload.
|
void |
setChoices(Collection<Choice> choices) |
void |
setIsApplicable(Boolean isApplicable) |
void |
setJiraConfiguration(JiraConfiguration jiraConfiguration)
Configuration of the Jira integration.
|
void |
setPillarId(String pillarId) |
void |
setQuestionId(String questionId) |
void |
setQuestionTitle(String questionTitle) |
void |
setQuestionType(String questionType)
The type of the question.
|
void |
setReason(String reason)
The reason why a choice is non-applicable to a question in your workload.
|
void |
setRisk(String risk) |
void |
setSelectedChoices(Collection<String> selectedChoices) |
String |
toString()
Returns a string representation of this object.
|
AnswerSummary |
withChoiceAnswerSummaries(ChoiceAnswerSummary... choiceAnswerSummaries)
A list of selected choices to a question in your workload.
|
AnswerSummary |
withChoiceAnswerSummaries(Collection<ChoiceAnswerSummary> choiceAnswerSummaries)
A list of selected choices to a question in your workload.
|
AnswerSummary |
withChoices(Choice... choices)
NOTE: This method appends the values to the existing list (if any).
|
AnswerSummary |
withChoices(Collection<Choice> choices) |
AnswerSummary |
withIsApplicable(Boolean isApplicable) |
AnswerSummary |
withJiraConfiguration(JiraConfiguration jiraConfiguration)
Configuration of the Jira integration.
|
AnswerSummary |
withPillarId(String pillarId) |
AnswerSummary |
withQuestionId(String questionId) |
AnswerSummary |
withQuestionTitle(String questionTitle) |
AnswerSummary |
withQuestionType(QuestionType questionType)
The type of the question.
|
AnswerSummary |
withQuestionType(String questionType)
The type of the question.
|
AnswerSummary |
withReason(AnswerReason reason)
The reason why a choice is non-applicable to a question in your workload.
|
AnswerSummary |
withReason(String reason)
The reason why a choice is non-applicable to a question in your workload.
|
AnswerSummary |
withRisk(Risk risk) |
AnswerSummary |
withRisk(String risk) |
AnswerSummary |
withSelectedChoices(Collection<String> selectedChoices) |
AnswerSummary |
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 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 List<ChoiceAnswerSummary> getChoiceAnswerSummaries()
A list of selected choices to a question in your workload.
public void setChoiceAnswerSummaries(Collection<ChoiceAnswerSummary> choiceAnswerSummaries)
A list of selected choices to a question in your workload.
choiceAnswerSummaries - A list of selected choices to a question in your workload.public AnswerSummary withChoiceAnswerSummaries(ChoiceAnswerSummary... choiceAnswerSummaries)
A list of selected choices to a question in your workload.
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 your workload.public AnswerSummary withChoiceAnswerSummaries(Collection<ChoiceAnswerSummary> choiceAnswerSummaries)
A list of selected choices to a question in your workload.
choiceAnswerSummaries - A list of selected choices to a question in your workload.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 void setReason(String reason)
The reason why a choice is non-applicable to a question in your workload.
reason - The reason why a choice is non-applicable to a question in your workload.AnswerReasonpublic String getReason()
The reason why a choice is non-applicable to a question in your workload.
AnswerReasonpublic AnswerSummary withReason(String reason)
The reason why a choice is non-applicable to a question in your workload.
reason - The reason why a choice is non-applicable to a question in your workload.AnswerReasonpublic AnswerSummary withReason(AnswerReason reason)
The reason why a choice is non-applicable to a question in your workload.
reason - The reason why a choice is non-applicable to a question in your workload.AnswerReasonpublic void setQuestionType(String questionType)
The type of the question.
questionType - The type of the question.QuestionTypepublic String getQuestionType()
The type of the question.
QuestionTypepublic AnswerSummary withQuestionType(String questionType)
The type of the question.
questionType - The type of the question.QuestionTypepublic AnswerSummary withQuestionType(QuestionType questionType)
The type of the question.
questionType - The type of the question.QuestionTypepublic void setJiraConfiguration(JiraConfiguration jiraConfiguration)
Configuration of the Jira integration.
jiraConfiguration - Configuration of the Jira integration.public JiraConfiguration getJiraConfiguration()
Configuration of the Jira integration.
public AnswerSummary withJiraConfiguration(JiraConfiguration jiraConfiguration)
Configuration of the Jira integration.
jiraConfiguration - Configuration of the Jira integration.public String toString()
toString in class ObjectObject.toString()public AnswerSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.