Interface EvaluationFormSection.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationFormSection.Builder,,EvaluationFormSection> SdkBuilder<EvaluationFormSection.Builder,,EvaluationFormSection> SdkPojo
- Enclosing class:
EvaluationFormSection
public static interface EvaluationFormSection.Builder
extends SdkPojo, CopyableBuilder<EvaluationFormSection.Builder,EvaluationFormSection>
-
Method Summary
Modifier and TypeMethodDescriptioninstructions(String instructions) The instructions of the section.items(Collection<EvaluationFormItem> items) The items of the section.items(Consumer<EvaluationFormItem.Builder>... items) The items of the section.items(EvaluationFormItem... items) The items of the section.The identifier of the section.The title of the section.The scoring weight of the section.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
title
The title of the section.
- Parameters:
title- The title of the section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refId
The identifier of the section. An identifier must be unique within the evaluation form.
- Parameters:
refId- The identifier of the section. An identifier must be unique within the evaluation form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instructions
The instructions of the section.
- Parameters:
instructions- The instructions of the section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items of the section.
- Parameters:
items- The items of the section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items of the section.
- Parameters:
items- The items of the section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The items of the section.
This is a convenience method that creates an instance of theEvaluationFormItem.Builderavoiding the need to create one manually viaEvaluationFormItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<EvaluationFormItem>).- Parameters:
items- a consumer that will call methods onEvaluationFormItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
weight
The scoring weight of the section.
- Parameters:
weight- The scoring weight of the section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-