Interface Answer.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Answer.Builder,Answer>,SdkBuilder<Answer.Builder,Answer>,SdkPojo
- Enclosing class:
- Answer
public static interface Answer.Builder extends SdkPojo, CopyableBuilder<Answer.Builder,Answer>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Answer.BuilderchoiceAnswers(Collection<ChoiceAnswer> choiceAnswers)A list of selected choices to a question in your workload.Answer.BuilderchoiceAnswers(Consumer<ChoiceAnswer.Builder>... choiceAnswers)A list of selected choices to a question in your workload.Answer.BuilderchoiceAnswers(ChoiceAnswer... choiceAnswers)A list of selected choices to a question in your workload.Answer.Builderchoices(Collection<Choice> choices)Sets the value of the Choices property for this object.Answer.Builderchoices(Consumer<Choice.Builder>... choices)Sets the value of the Choices property for this object.Answer.Builderchoices(Choice... choices)Sets the value of the Choices property for this object.Answer.BuilderhelpfulResourceDisplayText(String helpfulResourceDisplayText)The helpful resource text to be displayed for a custom lens.Answer.BuilderhelpfulResourceUrl(String helpfulResourceUrl)Sets the value of the HelpfulResourceUrl property for this object.Answer.BuilderimprovementPlanUrl(String improvementPlanUrl)Sets the value of the ImprovementPlanUrl property for this object.Answer.BuilderisApplicable(Boolean isApplicable)Sets the value of the IsApplicable property for this object.default Answer.BuilderjiraConfiguration(Consumer<JiraConfiguration.Builder> jiraConfiguration)Configuration of the Jira integration.Answer.BuilderjiraConfiguration(JiraConfiguration jiraConfiguration)Configuration of the Jira integration.Answer.Buildernotes(String notes)Sets the value of the Notes property for this object.Answer.BuilderpillarId(String pillarId)Sets the value of the PillarId property for this object.Answer.BuilderquestionDescription(String questionDescription)Sets the value of the QuestionDescription property for this object.Answer.BuilderquestionId(String questionId)Sets the value of the QuestionId property for this object.Answer.BuilderquestionTitle(String questionTitle)Sets the value of the QuestionTitle property for this object.Answer.Builderreason(String reason)The reason why the question is not applicable to your workload.Answer.Builderreason(AnswerReason reason)The reason why the question is not applicable to your workload.Answer.Builderrisk(String risk)Sets the value of the Risk property for this object.Answer.Builderrisk(Risk risk)Sets the value of the Risk property for this object.Answer.BuilderselectedChoices(String... selectedChoices)Sets the value of the SelectedChoices property for this object.Answer.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
Answer.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
Answer.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
Answer.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.
-
questionDescription
Answer.Builder questionDescription(String questionDescription)
Sets the value of the QuestionDescription property for this object.- Parameters:
questionDescription- The new value for the QuestionDescription property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
improvementPlanUrl
Answer.Builder improvementPlanUrl(String improvementPlanUrl)
Sets the value of the ImprovementPlanUrl property for this object.- Parameters:
improvementPlanUrl- The new value for the ImprovementPlanUrl property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
helpfulResourceUrl
Answer.Builder helpfulResourceUrl(String helpfulResourceUrl)
Sets the value of the HelpfulResourceUrl property for this object.- Parameters:
helpfulResourceUrl- The new value for the HelpfulResourceUrl property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
helpfulResourceDisplayText
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.
- Parameters:
helpfulResourceDisplayText- The helpful resource text to be displayed for a custom lens.This field does not apply to Amazon Web Services official lenses.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
choices
Answer.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
Answer.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
Answer.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
Answer.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
Answer.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.
-
choiceAnswers
Answer.Builder choiceAnswers(Collection<ChoiceAnswer> choiceAnswers)
A list of selected choices to a question in your workload.
- Parameters:
choiceAnswers- 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.
-
choiceAnswers
Answer.Builder choiceAnswers(ChoiceAnswer... choiceAnswers)
A list of selected choices to a question in your workload.
- Parameters:
choiceAnswers- 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.
-
choiceAnswers
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.Builderavoiding the need to create one manually viaChoiceAnswer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#choiceAnswers(List.) - Parameters:
choiceAnswers- a consumer that will call methods onChoiceAnswer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#choiceAnswers(java.util.Collection)
-
isApplicable
Answer.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
Answer.Builder risk(String risk)
Sets the value of the Risk property for this object.
-
risk
Answer.Builder risk(Risk risk)
Sets the value of the Risk property for this object.
-
notes
Answer.Builder notes(String notes)
Sets the value of the Notes property for this object.- Parameters:
notes- The new value for the Notes property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reason
Answer.Builder reason(String reason)
The reason why the question is not applicable to your workload.
- Parameters:
reason- The reason why the question is not applicable to your workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnswerReason,AnswerReason
-
reason
Answer.Builder reason(AnswerReason reason)
The reason why the question is not applicable to your workload.
- Parameters:
reason- The reason why the question is not applicable to your workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnswerReason,AnswerReason
-
jiraConfiguration
Answer.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 Answer.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)
-
-