public static interface ProfileQuestion.Builder extends SdkPojo, CopyableBuilder<ProfileQuestion.Builder,ProfileQuestion>
| Modifier and Type | Method and Description |
|---|---|
ProfileQuestion.Builder |
maxSelectedChoices(Integer maxSelectedChoices)
The maximum number of selected choices.
|
ProfileQuestion.Builder |
minSelectedChoices(Integer minSelectedChoices)
The minimum number of selected choices.
|
ProfileQuestion.Builder |
questionChoices(Collection<ProfileChoice> questionChoices)
The question choices.
|
ProfileQuestion.Builder |
questionChoices(Consumer<ProfileChoice.Builder>... questionChoices)
The question choices.
|
ProfileQuestion.Builder |
questionChoices(ProfileChoice... questionChoices)
The question choices.
|
ProfileQuestion.Builder |
questionDescription(String questionDescription)
Sets the value of the QuestionDescription property for this object.
|
ProfileQuestion.Builder |
questionId(String questionId)
Sets the value of the QuestionId property for this object.
|
ProfileQuestion.Builder |
questionTitle(String questionTitle)
Sets the value of the QuestionTitle property for this object.
|
ProfileQuestion.Builder |
selectedChoiceIds(Collection<String> selectedChoiceIds)
The selected choices.
|
ProfileQuestion.Builder |
selectedChoiceIds(String... selectedChoiceIds)
The selected choices.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildProfileQuestion.Builder questionId(String questionId)
questionId - The new value for the QuestionId property for this object.ProfileQuestion.Builder questionTitle(String questionTitle)
questionTitle - The new value for the QuestionTitle property for this object.ProfileQuestion.Builder questionDescription(String questionDescription)
questionDescription - The new value for the QuestionDescription property for this object.ProfileQuestion.Builder questionChoices(Collection<ProfileChoice> questionChoices)
The question choices.
questionChoices - The question choices.ProfileQuestion.Builder questionChoices(ProfileChoice... questionChoices)
The question choices.
questionChoices - The question choices.ProfileQuestion.Builder questionChoices(Consumer<ProfileChoice.Builder>... questionChoices)
The question choices.
This is a convenience method that creates an instance of theProfileChoice.Builder avoiding the need to
create one manually via ProfileChoice.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
ProfileChoice.Builder#questionChoices(java.util.Collection) ProfileQuestion.Builder selectedChoiceIds(Collection<String> selectedChoiceIds)
The selected choices.
selectedChoiceIds - The selected choices.ProfileQuestion.Builder selectedChoiceIds(String... selectedChoiceIds)
The selected choices.
selectedChoiceIds - The selected choices.ProfileQuestion.Builder minSelectedChoices(Integer minSelectedChoices)
The minimum number of selected choices.
minSelectedChoices - The minimum number of selected choices.ProfileQuestion.Builder maxSelectedChoices(Integer maxSelectedChoices)
The maximum number of selected choices.
maxSelectedChoices - The maximum number of selected choices.Copyright © 2023. All rights reserved.