Interface ReviewTemplateAnswerSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReviewTemplateAnswerSummary.Builder,
,ReviewTemplateAnswerSummary> SdkBuilder<ReviewTemplateAnswerSummary.Builder,
,ReviewTemplateAnswerSummary> SdkPojo
- Enclosing class:
ReviewTemplateAnswerSummary
-
Method Summary
Modifier and TypeMethodDescriptionanswerStatus
(String answerStatus) The status of whether or not this question has been answered.answerStatus
(ReviewTemplateAnswerStatus answerStatus) The status of whether or not this question has been answered.choiceAnswerSummaries
(Collection<ChoiceAnswerSummary> choiceAnswerSummaries) A list of selected choices to a question in the review template.choiceAnswerSummaries
(Consumer<ChoiceAnswerSummary.Builder>... choiceAnswerSummaries) A list of selected choices to a question in the review template.choiceAnswerSummaries
(ChoiceAnswerSummary... choiceAnswerSummaries) A list of selected choices to a question in the review template.choices
(Collection<Choice> choices) Sets the value of the Choices property for this object.choices
(Consumer<Choice.Builder>... choices) Sets the value of the Choices property for this object.Sets the value of the Choices property for this object.isApplicable
(Boolean isApplicable) Sets the value of the IsApplicable property for this object.Sets the value of the PillarId property for this object.questionId
(String questionId) Sets the value of the QuestionId property for this object.questionTitle
(String questionTitle) Sets the value of the QuestionTitle property for this object.questionType
(String questionType) The type of question.questionType
(QuestionType questionType) The type of question.The reason why a choice is not-applicable to a question in the review template.reason
(AnswerReason reason) The reason why a choice is not-applicable to a question in the review template.selectedChoices
(String... selectedChoices) Sets the value of the SelectedChoices property for this object.selectedChoices
(Collection<String> selectedChoices) Sets the value of the SelectedChoices property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
questionId
Sets the value of the QuestionId property for this object.- Parameters:
questionId
- The new value for the QuestionId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pillarId
Sets the value of the PillarId property for this object.- Parameters:
pillarId
- The new value for the PillarId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
questionTitle
Sets the value of the QuestionTitle property for this object.- Parameters:
questionTitle
- The new value for the QuestionTitle property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
choices
Sets the value of the Choices property for this object.- Parameters:
choices
- The new value for the Choices property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
choices
Sets the value of the Choices property for this object.- Parameters:
choices
- The new value for the Choices property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
choices
Sets the value of the Choices property for this object. This is a convenience method that creates an instance of theChoice.Builder
avoiding the need to create one manually viaChoice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochoices(List<Choice>)
.- Parameters:
choices
- a consumer that will call methods onChoice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
selectedChoices
Sets the value of the SelectedChoices property for this object.- Parameters:
selectedChoices
- The new value for the SelectedChoices property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectedChoices
Sets the value of the SelectedChoices property for this object.- Parameters:
selectedChoices
- The new value for the SelectedChoices property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
choiceAnswerSummaries
ReviewTemplateAnswerSummary.Builder choiceAnswerSummaries(Collection<ChoiceAnswerSummary> choiceAnswerSummaries) A list of selected choices to a question in the review template.
- Parameters:
choiceAnswerSummaries
- A list of selected choices to a question in the review template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
choiceAnswerSummaries
ReviewTemplateAnswerSummary.Builder choiceAnswerSummaries(ChoiceAnswerSummary... choiceAnswerSummaries) A list of selected choices to a question in the review template.
- Parameters:
choiceAnswerSummaries
- A list of selected choices to a question in the review template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
choiceAnswerSummaries
ReviewTemplateAnswerSummary.Builder choiceAnswerSummaries(Consumer<ChoiceAnswerSummary.Builder>... choiceAnswerSummaries) A list of selected choices to a question in the review template.
This is a convenience method that creates an instance of theChoiceAnswerSummary.Builder
avoiding the need to create one manually viaChoiceAnswerSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochoiceAnswerSummaries(List<ChoiceAnswerSummary>)
.- Parameters:
choiceAnswerSummaries
- a consumer that will call methods onChoiceAnswerSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
isApplicable
Sets the value of the IsApplicable property for this object.- Parameters:
isApplicable
- The new value for the IsApplicable property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
answerStatus
The status of whether or not this question has been answered.
- Parameters:
answerStatus
- The status of whether or not this question has been answered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
answerStatus
The status of whether or not this question has been answered.
- Parameters:
answerStatus
- The status of whether or not this question has been answered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
The reason why a choice is not-applicable to a question in the review template.
- Parameters:
reason
- The reason why a choice is not-applicable to a question in the review template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
The reason why a choice is not-applicable to a question in the review template.
- Parameters:
reason
- The reason why a choice is not-applicable to a question in the review template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
questionType
The type of question.
- Parameters:
questionType
- The type of question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
questionType
The type of question.
- Parameters:
questionType
- The type of question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-