public static interface AnswerSummary.Builder extends SdkPojo, CopyableBuilder<AnswerSummary.Builder,AnswerSummary>
| Modifier and Type | Method and Description |
|---|---|
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 |
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)
List.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #choices(List) .choices - a consumer that will call methods on List.Builder #choices(List) 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 isApplicable(Boolean isApplicable)
isApplicable - The new value for the IsApplicable property for this object.AnswerSummary.Builder risk(String risk)
AnswerSummary.Builder risk(Risk risk)
Copyright © 2021. All rights reserved.