Interface Evaluation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Evaluation.Builder,Evaluation>,SdkBuilder<Evaluation.Builder,Evaluation>,SdkPojo
- Enclosing class:
- Evaluation
public static interface Evaluation.Builder extends SdkPojo, CopyableBuilder<Evaluation.Builder,Evaluation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Evaluation.Builderanswers(Map<String,EvaluationAnswerOutput> answers)A map of question identifiers to answer value.Evaluation.BuildercreatedTime(Instant createdTime)The timestamp for when the evaluation was created.Evaluation.BuilderevaluationArn(String evaluationArn)The Amazon Resource Name (ARN) for the contact evaluation resource.Evaluation.BuilderevaluationId(String evaluationId)A unique identifier for the contact evaluation.Evaluation.BuilderlastModifiedTime(Instant lastModifiedTime)The timestamp for when the evaluation was last updated.default Evaluation.Buildermetadata(Consumer<EvaluationMetadata.Builder> metadata)Metadata about the contact evaluation.Evaluation.Buildermetadata(EvaluationMetadata metadata)Metadata about the contact evaluation.Evaluation.Buildernotes(Map<String,EvaluationNote> notes)A map of question identifiers to note value.Evaluation.Builderscores(Map<String,EvaluationScore> scores)A map of item (section or question) identifiers to score value.Evaluation.Builderstatus(String status)The status of the contact evaluation.Evaluation.Builderstatus(EvaluationStatus status)The status of the contact evaluation.Evaluation.Buildertags(Map<String,String> tags)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, sdkFields
-
-
-
-
Method Detail
-
evaluationId
Evaluation.Builder evaluationId(String 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
Evaluation.Builder evaluationArn(String 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
Evaluation.Builder metadata(EvaluationMetadata 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
default Evaluation.Builder metadata(Consumer<EvaluationMetadata.Builder> metadata)
Metadata about the contact evaluation.
This is a convenience method that creates an instance of theEvaluationMetadata.Builderavoiding the need to create one manually viaEvaluationMetadata.builder().When the
Consumercompletes,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:
metadata(EvaluationMetadata)
-
answers
Evaluation.Builder answers(Map<String,EvaluationAnswerOutput> 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
Evaluation.Builder notes(Map<String,EvaluationNote> 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
Evaluation.Builder status(String 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:
EvaluationStatus,EvaluationStatus
-
status
Evaluation.Builder status(EvaluationStatus 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:
EvaluationStatus,EvaluationStatus
-
scores
Evaluation.Builder scores(Map<String,EvaluationScore> 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
Evaluation.Builder createdTime(Instant 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
Evaluation.Builder lastModifiedTime(Instant 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
Evaluation.Builder tags(Map<String,String> 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.
-
-