Interface Evaluation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Evaluation.Builder,
,Evaluation> SdkBuilder<Evaluation.Builder,
,Evaluation> SdkPojo
- Enclosing class:
Evaluation
-
Method Summary
Modifier and TypeMethodDescriptionanswers
(Map<String, EvaluationAnswerOutput> answers) A map of question identifiers to answer value.createdTime
(Instant createdTime) The timestamp for when the evaluation was created.evaluationArn
(String evaluationArn) The Amazon Resource Name (ARN) for the contact evaluation resource.evaluationId
(String evaluationId) A unique identifier for the contact evaluation.lastModifiedTime
(Instant lastModifiedTime) The timestamp for when the evaluation was last updated.default Evaluation.Builder
metadata
(Consumer<EvaluationMetadata.Builder> metadata) Metadata about the contact evaluation.metadata
(EvaluationMetadata metadata) Metadata about the contact evaluation.notes
(Map<String, EvaluationNote> notes) A map of question identifiers to note value.scores
(Map<String, EvaluationScore> scores) A map of item (section or question) identifiers to score value.The status of the contact evaluation.status
(EvaluationStatus status) The status of the contact evaluation.The tags used to organize, track, or control access for this resource.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, sdkFieldNameToField, sdkFields
-
Method Details
-
evaluationId
A unique identifier for the contact evaluation.
- Parameters:
evaluationId
- A unique identifier for the contact evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationArn
The Amazon Resource Name (ARN) for the contact evaluation resource.
- Parameters:
evaluationArn
- The Amazon Resource Name (ARN) for the contact evaluation resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Metadata about the contact evaluation.
- Parameters:
metadata
- Metadata about the contact evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Metadata about the contact evaluation.
This is a convenience method that creates an instance of theEvaluationMetadata.Builder
avoiding the need to create one manually viaEvaluationMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadata(EvaluationMetadata)
.- Parameters:
metadata
- a consumer that will call methods onEvaluationMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
answers
A map of question identifiers to answer value.
- Parameters:
answers
- A map of question identifiers to answer value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notes
A map of question identifiers to note value.
- Parameters:
notes
- A map of question identifiers to note value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the contact evaluation.
- Parameters:
status
- The status of the contact evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the contact evaluation.
- Parameters:
status
- The status of the contact evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scores
A map of item (section or question) identifiers to score value.
- Parameters:
scores
- A map of item (section or question) identifiers to score value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTime
The timestamp for when the evaluation was created.
- Parameters:
createdTime
- The timestamp for when the evaluation was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The timestamp for when the evaluation was last updated.
- Parameters:
lastModifiedTime
- The timestamp for when the evaluation was last updated.- 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.
-