Interface ChoiceAnswer.Builder

    • Method Detail

      • choiceId

        ChoiceAnswer.Builder choiceId​(String choiceId)
        Sets the value of the ChoiceId property for this object.
        Parameters:
        choiceId - The new value for the ChoiceId property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        ChoiceAnswer.Builder status​(String status)

        The status of a choice.

        Parameters:
        status - The status of a choice.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ChoiceStatus, ChoiceStatus
      • reason

        ChoiceAnswer.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:
        ChoiceReason, ChoiceReason
      • reason

        ChoiceAnswer.Builder reason​(ChoiceReason 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:
        ChoiceReason, ChoiceReason
      • notes

        ChoiceAnswer.Builder notes​(String notes)

        The notes associated with a choice.

        Parameters:
        notes - The notes associated with a choice.
        Returns:
        Returns a reference to this object so that method calls can be chained together.