public static interface AnswerSummary.Builder extends SdkPojo, CopyableBuilder<AnswerSummary.Builder,AnswerSummary>
| Modifier and Type | Method and Description |
|---|---|
AnswerSummary.Builder |
choiceAnswerSummaries(ChoiceAnswerSummary... choiceAnswerSummaries)
A list of selected choices to a question in your workload.
|
AnswerSummary.Builder |
choiceAnswerSummaries(Collection<ChoiceAnswerSummary> choiceAnswerSummaries)
A list of selected choices to a question in your workload.
|
AnswerSummary.Builder |
choiceAnswerSummaries(Consumer<ChoiceAnswerSummary.Builder>... choiceAnswerSummaries)
A list of selected choices to a question in your workload.
|
AnswerSummary.Builder |
choices(Choice... choices)
Sets the value of the Choices property for this object.
|
AnswerSummary.Builder |
choices(Collection<Choice> choices)
Sets the value of the Choices property for this object.
|
AnswerSummary.Builder |
choices(Consumer<Choice.Builder>... choices)
Sets the value of the Choices property for this object.
|
AnswerSummary.Builder |
isApplicable(Boolean isApplicable)
Sets the value of the IsApplicable property for this object.
|
AnswerSummary.Builder |
pillarId(String pillarId)
Sets the value of the PillarId property for this object.
|
AnswerSummary.Builder |
questionId(String questionId)
Sets the value of the QuestionId property for this object.
|
AnswerSummary.Builder |
questionTitle(String questionTitle)
Sets the value of the QuestionTitle property for this object.
|
AnswerSummary.Builder |
questionType(QuestionType questionType)
The type of the question.
|
AnswerSummary.Builder |
questionType(String questionType)
The type of the question.
|
AnswerSummary.Builder |
reason(AnswerReason reason)
The reason why a choice is non-applicable to a question in your workload.
|
AnswerSummary.Builder |
reason(String reason)
The reason why a choice is non-applicable to a question in your workload.
|
AnswerSummary.Builder |
risk(Risk risk)
Sets the value of the Risk property for this object.
|
AnswerSummary.Builder |
risk(String risk)
Sets the value of the Risk property for this object.
|
AnswerSummary.Builder |
selectedChoices(Collection<String> selectedChoices)
Sets the value of the SelectedChoices property for this object.
|
AnswerSummary.Builder |
selectedChoices(String... selectedChoices)
Sets the value of the SelectedChoices property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAnswerSummary.Builder questionId(String questionId)
questionId - The new value for the QuestionId property for this object.AnswerSummary.Builder pillarId(String pillarId)
pillarId - The new value for the PillarId property for this object.AnswerSummary.Builder questionTitle(String questionTitle)
questionTitle - The new value for the QuestionTitle property for this object.AnswerSummary.Builder choices(Collection<Choice> choices)
choices - The new value for the Choices property for this object.AnswerSummary.Builder choices(Choice... choices)
choices - The new value for the Choices property for this object.AnswerSummary.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) AnswerSummary.Builder selectedChoices(Collection<String> selectedChoices)
selectedChoices - The new value for the SelectedChoices property for this object.AnswerSummary.Builder selectedChoices(String... selectedChoices)
selectedChoices - The new value for the SelectedChoices property for this object.AnswerSummary.Builder choiceAnswerSummaries(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.AnswerSummary.Builder choiceAnswerSummaries(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.AnswerSummary.Builder choiceAnswerSummaries(Consumer<ChoiceAnswerSummary.Builder>... choiceAnswerSummaries)
A list of selected choices to a question in your workload.
This is a convenience method that creates an instance of theChoiceAnswerSummary.Builder avoiding the need
to create one manually via
ChoiceAnswerSummary.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #choiceAnswerSummaries(List.
choiceAnswerSummaries - a consumer that will call methods on
ChoiceAnswerSummary.Builder#choiceAnswerSummaries(java.util.Collection) AnswerSummary.Builder isApplicable(Boolean isApplicable)
isApplicable - The new value for the IsApplicable property for this object.AnswerSummary.Builder risk(String risk)
AnswerSummary.Builder risk(Risk risk)
AnswerSummary.Builder reason(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.AnswerReason,
AnswerReasonAnswerSummary.Builder reason(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.AnswerReason,
AnswerReasonAnswerSummary.Builder questionType(String questionType)
The type of the question.
questionType - The type of the question.QuestionType,
QuestionTypeAnswerSummary.Builder questionType(QuestionType questionType)
The type of the question.
questionType - The type of the question.QuestionType,
QuestionTypeCopyright © 2023. All rights reserved.