Interface ReviewTemplateAnswerSummary.Builder

    • Method Detail

      • questionId

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

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

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

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

        ReviewTemplateAnswerSummary.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.
      • selectedChoices

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

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

        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.
      • isApplicable

        ReviewTemplateAnswerSummary.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.
      • reason

        ReviewTemplateAnswerSummary.Builder reason​(String 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:
        AnswerReason, AnswerReason
      • reason

        ReviewTemplateAnswerSummary.Builder reason​(AnswerReason 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:
        AnswerReason, AnswerReason