Interface EvaluationFormContent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationFormContent.Builder,EvaluationFormContent>,SdkBuilder<EvaluationFormContent.Builder,EvaluationFormContent>,SdkPojo
- Enclosing class:
- EvaluationFormContent
public static interface EvaluationFormContent.Builder extends SdkPojo, CopyableBuilder<EvaluationFormContent.Builder,EvaluationFormContent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EvaluationFormContent.Builderdescription(String description)The description of the evaluation form.EvaluationFormContent.BuilderevaluationFormArn(String evaluationFormArn)The Amazon Resource Name (ARN) for the evaluation form resource.EvaluationFormContent.BuilderevaluationFormId(String evaluationFormId)The unique identifier for the evaluation form.EvaluationFormContent.BuilderevaluationFormVersion(Integer evaluationFormVersion)A version of the evaluation form.EvaluationFormContent.Builderitems(Collection<EvaluationFormItem> items)Items that are part of the evaluation form.EvaluationFormContent.Builderitems(Consumer<EvaluationFormItem.Builder>... items)Items that are part of the evaluation form.EvaluationFormContent.Builderitems(EvaluationFormItem... items)Items that are part of the evaluation form.default EvaluationFormContent.BuilderscoringStrategy(Consumer<EvaluationFormScoringStrategy.Builder> scoringStrategy)A scoring strategy of the evaluation form.EvaluationFormContent.BuilderscoringStrategy(EvaluationFormScoringStrategy scoringStrategy)A scoring strategy of the evaluation form.EvaluationFormContent.Buildertitle(String title)A title of the evaluation form.-
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 Detail
-
evaluationFormVersion
EvaluationFormContent.Builder evaluationFormVersion(Integer evaluationFormVersion)
A version of the evaluation form.
- Parameters:
evaluationFormVersion- A version of the evaluation form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationFormId
EvaluationFormContent.Builder evaluationFormId(String evaluationFormId)
The unique identifier for the evaluation form.
- Parameters:
evaluationFormId- The unique identifier for the evaluation form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationFormArn
EvaluationFormContent.Builder evaluationFormArn(String evaluationFormArn)
The Amazon Resource Name (ARN) for the evaluation form resource.
- Parameters:
evaluationFormArn- The Amazon Resource Name (ARN) for the evaluation form resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
EvaluationFormContent.Builder title(String title)
A title of the evaluation form.
- Parameters:
title- A title of the evaluation form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
EvaluationFormContent.Builder description(String description)
The description of the evaluation form.
- Parameters:
description- The description of the evaluation form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
EvaluationFormContent.Builder items(Collection<EvaluationFormItem> items)
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
- Parameters:
items- Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
EvaluationFormContent.Builder items(EvaluationFormItem... items)
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
- Parameters:
items- Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
EvaluationFormContent.Builder items(Consumer<EvaluationFormItem.Builder>... items)
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a 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 to#items(List.) - 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:
#items(java.util.Collection)
-
scoringStrategy
EvaluationFormContent.Builder scoringStrategy(EvaluationFormScoringStrategy scoringStrategy)
A scoring strategy of the evaluation form.
- Parameters:
scoringStrategy- A scoring strategy of the evaluation form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scoringStrategy
default EvaluationFormContent.Builder scoringStrategy(Consumer<EvaluationFormScoringStrategy.Builder> scoringStrategy)
A scoring strategy of the evaluation form.
This is a convenience method that creates an instance of theEvaluationFormScoringStrategy.Builderavoiding the need to create one manually viaEvaluationFormScoringStrategy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscoringStrategy(EvaluationFormScoringStrategy).- Parameters:
scoringStrategy- a consumer that will call methods onEvaluationFormScoringStrategy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
scoringStrategy(EvaluationFormScoringStrategy)
-
-