Interface EvaluationForm.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EvaluationForm.Builder,
,EvaluationForm> SdkBuilder<EvaluationForm.Builder,
,EvaluationForm> SdkPojo
- Enclosing class:
EvaluationForm
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the user who created the evaluation form.createdTime
(Instant createdTime) The timestamp for when the evaluation form was created.description
(String description) The description of the evaluation form.evaluationFormArn
(String evaluationFormArn) The Amazon Resource Name (ARN) for the evaluation form resource.evaluationFormId
(String evaluationFormId) The unique identifier for the evaluation form.evaluationFormVersion
(Integer evaluationFormVersion) A version of the evaluation form.items
(Collection<EvaluationFormItem> items) Items that are part of the evaluation form.items
(Consumer<EvaluationFormItem.Builder>... items) Items that are part of the evaluation form.items
(EvaluationFormItem... items) Items that are part of the evaluation form.lastModifiedBy
(String lastModifiedBy) The Amazon Resource Name (ARN) of the user who last updated the evaluation form.lastModifiedTime
(Instant lastModifiedTime) The timestamp for when the evaluation form was last updated.The flag indicating whether the evaluation form is locked for changes.default EvaluationForm.Builder
scoringStrategy
(Consumer<EvaluationFormScoringStrategy.Builder> scoringStrategy) A scoring strategy of the evaluation form.scoringStrategy
(EvaluationFormScoringStrategy scoringStrategy) A scoring strategy of the evaluation form.The status of the evaluation form.status
(EvaluationFormVersionStatus status) The status of the evaluation form.The tags used to organize, track, or control access for this resource.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 Details
-
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.
-
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.
-
locked
The flag indicating whether the evaluation form is locked for changes.
- Parameters:
locked
- The flag indicating whether the evaluation form is locked for changes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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.
-
status
The status of the evaluation form.
- Parameters:
status
- The status of the evaluation form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the evaluation form.
- Parameters:
status
- The status of the evaluation form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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.Builder
avoiding the need to create one manually viaEvaluationFormItem.builder()
.When the
Consumer
completes,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:
-
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 EvaluationForm.Builder scoringStrategy(Consumer<EvaluationFormScoringStrategy.Builder> scoringStrategy) A scoring strategy of the evaluation form.
This is a convenience method that creates an instance of theEvaluationFormScoringStrategy.Builder
avoiding the need to create one manually viaEvaluationFormScoringStrategy.builder()
.When the
Consumer
completes,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:
-
createdTime
The timestamp for when the evaluation form was created.
- Parameters:
createdTime
- The timestamp for when the evaluation form was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The Amazon Resource Name (ARN) of the user who created the evaluation form.
- Parameters:
createdBy
- The Amazon Resource Name (ARN) of the user who created the evaluation form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The timestamp for when the evaluation form was last updated.
- Parameters:
lastModifiedTime
- The timestamp for when the evaluation form was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
The Amazon Resource Name (ARN) of the user who last updated the evaluation form.
- Parameters:
lastModifiedBy
- The Amazon Resource Name (ARN) of the user who last updated the evaluation form.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags
- The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-