public static interface Answer.Builder extends SdkPojo, CopyableBuilder<Answer.Builder,Answer>
| Modifier and Type | Method and Description |
|---|---|
Answer.Builder |
choiceAnswers(ChoiceAnswer... choiceAnswers)
A list of selected choices to a question in your workload.
|
Answer.Builder |
choiceAnswers(Collection<ChoiceAnswer> choiceAnswers)
A list of selected choices to a question in your workload.
|
Answer.Builder |
choiceAnswers(Consumer<ChoiceAnswer.Builder>... choiceAnswers)
A list of selected choices to a question in your workload.
|
Answer.Builder |
choices(Choice... choices)
Sets the value of the Choices property for this object.
|
Answer.Builder |
choices(Collection<Choice> choices)
Sets the value of the Choices property for this object.
|
Answer.Builder |
choices(Consumer<Choice.Builder>... choices)
Sets the value of the Choices property for this object.
|
Answer.Builder |
helpfulResourceDisplayText(String helpfulResourceDisplayText)
The helpful resource text to be displayed for a custom lens.
|
Answer.Builder |
helpfulResourceUrl(String helpfulResourceUrl)
Sets the value of the HelpfulResourceUrl property for this object.
|
Answer.Builder |
improvementPlanUrl(String improvementPlanUrl)
Sets the value of the ImprovementPlanUrl property for this object.
|
Answer.Builder |
isApplicable(Boolean isApplicable)
Sets the value of the IsApplicable property for this object.
|
Answer.Builder |
notes(String notes)
Sets the value of the Notes property for this object.
|
Answer.Builder |
pillarId(String pillarId)
Sets the value of the PillarId property for this object.
|
Answer.Builder |
questionDescription(String questionDescription)
Sets the value of the QuestionDescription property for this object.
|
Answer.Builder |
questionId(String questionId)
Sets the value of the QuestionId property for this object.
|
Answer.Builder |
questionTitle(String questionTitle)
Sets the value of the QuestionTitle property for this object.
|
Answer.Builder |
reason(AnswerReason reason)
The reason why the question is not applicable to your workload.
|
Answer.Builder |
reason(String reason)
The reason why the question is not applicable to your workload.
|
Answer.Builder |
risk(Risk risk)
Sets the value of the Risk property for this object.
|
Answer.Builder |
risk(String risk)
Sets the value of the Risk property for this object.
|
Answer.Builder |
selectedChoices(Collection<String> selectedChoices)
Sets the value of the SelectedChoices property for this object.
|
Answer.Builder |
selectedChoices(String... selectedChoices)
Sets the value of the SelectedChoices property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAnswer.Builder questionId(String questionId)
questionId - The new value for the QuestionId property for this object.Answer.Builder pillarId(String pillarId)
pillarId - The new value for the PillarId property for this object.Answer.Builder questionTitle(String questionTitle)
questionTitle - The new value for the QuestionTitle property for this object.Answer.Builder questionDescription(String questionDescription)
questionDescription - The new value for the QuestionDescription property for this object.Answer.Builder improvementPlanUrl(String improvementPlanUrl)
improvementPlanUrl - The new value for the ImprovementPlanUrl property for this object.Answer.Builder helpfulResourceUrl(String helpfulResourceUrl)
helpfulResourceUrl - The new value for the HelpfulResourceUrl property for this object.Answer.Builder helpfulResourceDisplayText(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.
Answer.Builder choices(Collection<Choice> choices)
choices - The new value for the Choices property for this object.Answer.Builder choices(Choice... choices)
choices - The new value for the Choices property for this object.Answer.Builder choices(Consumer<Choice.Builder>... choices)
Choice.Builder avoiding the need to create one
manually via Choice.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #choices(List.
choices - a consumer that will call methods on
Choice.Builder#choices(java.util.Collection) Answer.Builder selectedChoices(Collection<String> selectedChoices)
selectedChoices - The new value for the SelectedChoices property for this object.Answer.Builder selectedChoices(String... selectedChoices)
selectedChoices - The new value for the SelectedChoices property for this object.Answer.Builder choiceAnswers(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.Answer.Builder choiceAnswers(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.Answer.Builder choiceAnswers(Consumer<ChoiceAnswer.Builder>... choiceAnswers)
A list of selected choices to a question in your workload.
This is a convenience method that creates an instance of theChoiceAnswer.Builder avoiding the need to
create one manually via ChoiceAnswer.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #choiceAnswers(List.
choiceAnswers - a consumer that will call methods on
ChoiceAnswer.Builder#choiceAnswers(java.util.Collection) Answer.Builder isApplicable(Boolean isApplicable)
isApplicable - The new value for the IsApplicable property for this object.Answer.Builder risk(String risk)
Answer.Builder risk(Risk risk)
Answer.Builder notes(String notes)
notes - The new value for the Notes property for this object.Answer.Builder reason(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,
AnswerReasonAnswer.Builder reason(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,
AnswerReasonCopyright © 2023. All rights reserved.