Interface EvaluationFormSingleSelectQuestionProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EvaluationFormSingleSelectQuestionProperties.Builder,
,EvaluationFormSingleSelectQuestionProperties> SdkBuilder<EvaluationFormSingleSelectQuestionProperties.Builder,
,EvaluationFormSingleSelectQuestionProperties> SdkPojo
- Enclosing class:
EvaluationFormSingleSelectQuestionProperties
public static interface EvaluationFormSingleSelectQuestionProperties.Builder
extends SdkPojo, CopyableBuilder<EvaluationFormSingleSelectQuestionProperties.Builder,EvaluationFormSingleSelectQuestionProperties>
-
Method Summary
Modifier and TypeMethodDescriptionThe display mode of the single select question.The display mode of the single select question.The display mode of the single select question.The display mode of the single select question.The answer options of the single select question.The answer options of the single select question.options
(EvaluationFormSingleSelectQuestionOption... options) The answer options of the single select question.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
options
EvaluationFormSingleSelectQuestionProperties.Builder options(Collection<EvaluationFormSingleSelectQuestionOption> options) The answer options of the single select question.
- Parameters:
options
- The answer options of the single select question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
EvaluationFormSingleSelectQuestionProperties.Builder options(EvaluationFormSingleSelectQuestionOption... options) The answer options of the single select question.
- Parameters:
options
- The answer options of the single select question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
EvaluationFormSingleSelectQuestionProperties.Builder options(Consumer<EvaluationFormSingleSelectQuestionOption.Builder>... options) The answer options of the single select question.
This is a convenience method that creates an instance of theEvaluationFormSingleSelectQuestionOption.Builder
avoiding the need to create one manually viaEvaluationFormSingleSelectQuestionOption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptions(List<EvaluationFormSingleSelectQuestionOption>)
.- Parameters:
options
- a consumer that will call methods onEvaluationFormSingleSelectQuestionOption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
displayAs
The display mode of the single select question.
- Parameters:
displayAs
- The display mode of the single select question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
displayAs
EvaluationFormSingleSelectQuestionProperties.Builder displayAs(EvaluationFormSingleSelectQuestionDisplayMode displayAs) The display mode of the single select question.
- Parameters:
displayAs
- The display mode of the single select question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
automation
EvaluationFormSingleSelectQuestionProperties.Builder automation(EvaluationFormSingleSelectQuestionAutomation automation) The display mode of the single select question.
- Parameters:
automation
- The display mode of the single select question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automation
default EvaluationFormSingleSelectQuestionProperties.Builder automation(Consumer<EvaluationFormSingleSelectQuestionAutomation.Builder> automation) The display mode of the single select question.
This is a convenience method that creates an instance of theEvaluationFormSingleSelectQuestionAutomation.Builder
avoiding the need to create one manually viaEvaluationFormSingleSelectQuestionAutomation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautomation(EvaluationFormSingleSelectQuestionAutomation)
.- Parameters:
automation
- a consumer that will call methods onEvaluationFormSingleSelectQuestionAutomation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-