Interface ProfileTemplateQuestion.Builder

    • Method Detail

      • questionId

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

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

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

        ProfileTemplateQuestion.Builder questionChoices​(ProfileTemplateChoice... questionChoices)

        The question choices.

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

        ProfileTemplateQuestion.Builder minSelectedChoices​(Integer minSelectedChoices)

        The minimum number of choices selected.

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

        ProfileTemplateQuestion.Builder maxSelectedChoices​(Integer maxSelectedChoices)

        The maximum number of choices selected.

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