Interface ProfileQuestion.Builder

    • Method Detail

      • questionId

        ProfileQuestion.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.
      • questionTitle

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

        ProfileQuestion.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.
      • questionChoices

        ProfileQuestion.Builder questionChoices​(Collection<ProfileChoice> questionChoices)

        The question choices.

        Parameters:
        questionChoices - The question choices.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • questionChoices

        ProfileQuestion.Builder questionChoices​(ProfileChoice... questionChoices)

        The question choices.

        Parameters:
        questionChoices - The question choices.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • selectedChoiceIds

        ProfileQuestion.Builder selectedChoiceIds​(Collection<String> selectedChoiceIds)

        The selected choices.

        Parameters:
        selectedChoiceIds - The selected choices.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • selectedChoiceIds

        ProfileQuestion.Builder selectedChoiceIds​(String... selectedChoiceIds)

        The selected choices.

        Parameters:
        selectedChoiceIds - The selected choices.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • minSelectedChoices

        ProfileQuestion.Builder minSelectedChoices​(Integer minSelectedChoices)

        The minimum number of selected choices.

        Parameters:
        minSelectedChoices - The minimum number of selected choices.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxSelectedChoices

        ProfileQuestion.Builder maxSelectedChoices​(Integer maxSelectedChoices)

        The maximum number of selected choices.

        Parameters:
        maxSelectedChoices - The maximum number of selected choices.
        Returns:
        Returns a reference to this object so that method calls can be chained together.