Interface AnswerSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AnswerSummary.Builder,AnswerSummary>,SdkBuilder<AnswerSummary.Builder,AnswerSummary>,SdkPojo
- Enclosing class:
- AnswerSummary
public static interface AnswerSummary.Builder extends SdkPojo, CopyableBuilder<AnswerSummary.Builder,AnswerSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AnswerSummary.BuilderchoiceAnswerSummaries(Collection<ChoiceAnswerSummary> choiceAnswerSummaries)A list of selected choices to a question in your workload.AnswerSummary.BuilderchoiceAnswerSummaries(Consumer<ChoiceAnswerSummary.Builder>... choiceAnswerSummaries)A list of selected choices to a question in your workload.AnswerSummary.BuilderchoiceAnswerSummaries(ChoiceAnswerSummary... choiceAnswerSummaries)A list of selected choices to a question in your workload.AnswerSummary.Builderchoices(Collection<Choice> choices)Sets the value of the Choices property for this object.AnswerSummary.Builderchoices(Consumer<Choice.Builder>... choices)Sets the value of the Choices property for this object.AnswerSummary.Builderchoices(Choice... choices)Sets the value of the Choices property for this object.AnswerSummary.BuilderisApplicable(Boolean isApplicable)Sets the value of the IsApplicable property for this object.default AnswerSummary.BuilderjiraConfiguration(Consumer<JiraConfiguration.Builder> jiraConfiguration)Configuration of the Jira integration.AnswerSummary.BuilderjiraConfiguration(JiraConfiguration jiraConfiguration)Configuration of the Jira integration.AnswerSummary.BuilderpillarId(String pillarId)Sets the value of the PillarId property for this object.AnswerSummary.BuilderquestionId(String questionId)Sets the value of the QuestionId property for this object.AnswerSummary.BuilderquestionTitle(String questionTitle)Sets the value of the QuestionTitle property for this object.AnswerSummary.BuilderquestionType(String questionType)The type of the question.AnswerSummary.BuilderquestionType(QuestionType questionType)The type of the question.AnswerSummary.Builderreason(String reason)The reason why a choice is non-applicable to a question in your workload.AnswerSummary.Builderreason(AnswerReason reason)The reason why a choice is non-applicable to a question in your workload.AnswerSummary.Builderrisk(String risk)Sets the value of the Risk property for this object.AnswerSummary.Builderrisk(Risk risk)Sets the value of the Risk property for this object.AnswerSummary.BuilderselectedChoices(String... selectedChoices)Sets the value of the SelectedChoices property for this object.AnswerSummary.BuilderselectedChoices(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 Detail
-
questionId
AnswerSummary.Builder questionId(String 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
AnswerSummary.Builder pillarId(String 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
AnswerSummary.Builder questionTitle(String 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
AnswerSummary.Builder choices(Collection<Choice> 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
AnswerSummary.Builder choices(Choice... 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
AnswerSummary.Builder choices(Consumer<Choice.Builder>... choices)
Sets the value of the Choices property for this object. This is a convenience method that creates an instance of theChoice.Builderavoiding the need to create one manually viaChoice.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#choices(List.) - 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:
#choices(java.util.Collection)
-
selectedChoices
AnswerSummary.Builder selectedChoices(Collection<String> 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
AnswerSummary.Builder selectedChoices(String... 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
AnswerSummary.Builder choiceAnswerSummaries(Collection<ChoiceAnswerSummary> choiceAnswerSummaries)
A list of selected choices to a question in your workload.
- Parameters:
choiceAnswerSummaries- A list of selected choices to a question in your workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
choiceAnswerSummaries
AnswerSummary.Builder choiceAnswerSummaries(ChoiceAnswerSummary... choiceAnswerSummaries)
A list of selected choices to a question in your workload.
- Parameters:
choiceAnswerSummaries- A list of selected choices to a question in your workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
choiceAnswerSummaries
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.Builderavoiding the need to create one manually viaChoiceAnswerSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#choiceAnswerSummaries(List.) - 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:
#choiceAnswerSummaries(java.util.Collection)
-
isApplicable
AnswerSummary.Builder isApplicable(Boolean 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.
-
risk
AnswerSummary.Builder risk(String risk)
Sets the value of the Risk property for this object.
-
risk
AnswerSummary.Builder risk(Risk risk)
Sets the value of the Risk property for this object.
-
reason
AnswerSummary.Builder reason(String reason)
The reason why a choice is non-applicable to a question in your workload.
- Parameters:
reason- The reason why a choice is non-applicable to a question in your workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnswerReason,AnswerReason
-
reason
AnswerSummary.Builder reason(AnswerReason reason)
The reason why a choice is non-applicable to a question in your workload.
- Parameters:
reason- The reason why a choice is non-applicable to a question in your workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnswerReason,AnswerReason
-
questionType
AnswerSummary.Builder questionType(String questionType)
The type of the question.
- Parameters:
questionType- The type of the question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QuestionType,QuestionType
-
questionType
AnswerSummary.Builder questionType(QuestionType questionType)
The type of the question.
- Parameters:
questionType- The type of the question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
QuestionType,QuestionType
-
jiraConfiguration
AnswerSummary.Builder jiraConfiguration(JiraConfiguration jiraConfiguration)
Configuration of the Jira integration.
- Parameters:
jiraConfiguration- Configuration of the Jira integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jiraConfiguration
default AnswerSummary.Builder jiraConfiguration(Consumer<JiraConfiguration.Builder> jiraConfiguration)
Configuration of the Jira integration.
This is a convenience method that creates an instance of theJiraConfiguration.Builderavoiding the need to create one manually viaJiraConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojiraConfiguration(JiraConfiguration).- Parameters:
jiraConfiguration- a consumer that will call methods onJiraConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
jiraConfiguration(JiraConfiguration)
-
-