Interface EvaluationFormItem.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EvaluationFormItem.Builder,
,EvaluationFormItem> SdkBuilder<EvaluationFormItem.Builder,
,EvaluationFormItem> SdkPojo
- Enclosing class:
EvaluationFormItem
public static interface EvaluationFormItem.Builder
extends SdkPojo, CopyableBuilder<EvaluationFormItem.Builder,EvaluationFormItem>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EvaluationFormItem.Builder
question
(Consumer<EvaluationFormQuestion.Builder> question) The information of the question.question
(EvaluationFormQuestion question) The information of the question.default EvaluationFormItem.Builder
section
(Consumer<EvaluationFormSection.Builder> section) The information of the section.section
(EvaluationFormSection section) The information of the section.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
-
section
The information of the section.
- Parameters:
section
- The information of the section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
section
The information of the section.
This is a convenience method that creates an instance of theEvaluationFormSection.Builder
avoiding the need to create one manually viaEvaluationFormSection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosection(EvaluationFormSection)
.- Parameters:
section
- a consumer that will call methods onEvaluationFormSection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
question
The information of the question.
- Parameters:
question
- The information of the question.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
question
The information of the question.
This is a convenience method that creates an instance of theEvaluationFormQuestion.Builder
avoiding the need to create one manually viaEvaluationFormQuestion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toquestion(EvaluationFormQuestion)
.- Parameters:
question
- a consumer that will call methods onEvaluationFormQuestion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-