public static interface ProfileTemplateQuestion.Builder extends SdkPojo, CopyableBuilder<ProfileTemplateQuestion.Builder,ProfileTemplateQuestion>
| Modifier and Type | Method and Description |
|---|---|
ProfileTemplateQuestion.Builder |
maxSelectedChoices(Integer maxSelectedChoices)
The maximum number of choices selected.
|
ProfileTemplateQuestion.Builder |
minSelectedChoices(Integer minSelectedChoices)
The minimum number of choices selected.
|
ProfileTemplateQuestion.Builder |
questionChoices(Collection<ProfileTemplateChoice> questionChoices)
The question choices.
|
ProfileTemplateQuestion.Builder |
questionChoices(Consumer<ProfileTemplateChoice.Builder>... questionChoices)
The question choices.
|
ProfileTemplateQuestion.Builder |
questionChoices(ProfileTemplateChoice... questionChoices)
The question choices.
|
ProfileTemplateQuestion.Builder |
questionDescription(String questionDescription)
Sets the value of the QuestionDescription property for this object.
|
ProfileTemplateQuestion.Builder |
questionId(String questionId)
Sets the value of the QuestionId property for this object.
|
ProfileTemplateQuestion.Builder |
questionTitle(String questionTitle)
Sets the value of the QuestionTitle property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildProfileTemplateQuestion.Builder questionId(String questionId)
questionId - The new value for the QuestionId property for this object.ProfileTemplateQuestion.Builder questionTitle(String questionTitle)
questionTitle - The new value for the QuestionTitle property for this object.ProfileTemplateQuestion.Builder questionDescription(String questionDescription)
questionDescription - The new value for the QuestionDescription property for this object.ProfileTemplateQuestion.Builder questionChoices(Collection<ProfileTemplateChoice> questionChoices)
The question choices.
questionChoices - The question choices.ProfileTemplateQuestion.Builder questionChoices(ProfileTemplateChoice... questionChoices)
The question choices.
questionChoices - The question choices.ProfileTemplateQuestion.Builder questionChoices(Consumer<ProfileTemplateChoice.Builder>... questionChoices)
The question choices.
This is a convenience method that creates an instance of theProfileTemplateChoice.Builder avoiding the need
to create one manually via
ProfileTemplateChoice.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #questionChoices(List.
questionChoices - a consumer that will call methods on
ProfileTemplateChoice.Builder#questionChoices(java.util.Collection) ProfileTemplateQuestion.Builder minSelectedChoices(Integer minSelectedChoices)
The minimum number of choices selected.
minSelectedChoices - The minimum number of choices selected.ProfileTemplateQuestion.Builder maxSelectedChoices(Integer maxSelectedChoices)
The maximum number of choices selected.
maxSelectedChoices - The maximum number of choices selected.Copyright © 2023. All rights reserved.