Interface ReviewTemplateAnswer.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ReviewTemplateAnswer.Builder,ReviewTemplateAnswer>, SdkBuilder<ReviewTemplateAnswer.Builder,ReviewTemplateAnswer>, SdkPojo
Enclosing class:
ReviewTemplateAnswer

public static interface ReviewTemplateAnswer.Builder extends SdkPojo, CopyableBuilder<ReviewTemplateAnswer.Builder,ReviewTemplateAnswer>
  • Method Details

    • questionId

      ReviewTemplateAnswer.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

      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

      ReviewTemplateAnswer.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

      ReviewTemplateAnswer.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

      ReviewTemplateAnswer.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

      ReviewTemplateAnswer.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

      ReviewTemplateAnswer.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

      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

      ReviewTemplateAnswer.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

      Sets the value of the Choices property for this object. This is a convenience method that creates an instance of the 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<Choice>).

      Parameters:
      choices - a consumer that will call methods on Choice.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • selectedChoices

      ReviewTemplateAnswer.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

      ReviewTemplateAnswer.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

      ReviewTemplateAnswer.Builder choiceAnswers(Collection<ChoiceAnswer> choiceAnswers)

      A list of selected choices to a question in your review template.

      Parameters:
      choiceAnswers - A list of selected choices to a question in your review template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • choiceAnswers

      ReviewTemplateAnswer.Builder choiceAnswers(ChoiceAnswer... choiceAnswers)

      A list of selected choices to a question in your review template.

      Parameters:
      choiceAnswers - A list of selected choices to a question in your review template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • choiceAnswers

      A list of selected choices to a question in your review template.

      This is a convenience method that creates an instance of the ChoiceAnswer.Builder avoiding the need to create one manually via ChoiceAnswer.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to choiceAnswers(List<ChoiceAnswer>).

      Parameters:
      choiceAnswers - a consumer that will call methods on ChoiceAnswer.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • isApplicable

      ReviewTemplateAnswer.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.
    • answerStatus

      ReviewTemplateAnswer.Builder answerStatus(String 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:
    • 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

      The reason why the question is not applicable to your review template.

      Parameters:
      reason - The reason why the question is not applicable to your review template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • reason

      The reason why the question is not applicable to your review template.

      Parameters:
      reason - The reason why the question is not applicable to your review template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: