Interface EvaluationMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationMetadata.Builder,,EvaluationMetadata> SdkBuilder<EvaluationMetadata.Builder,,EvaluationMetadata> SdkPojo
- Enclosing class:
EvaluationMetadata
public static interface EvaluationMetadata.Builder
extends SdkPojo, CopyableBuilder<EvaluationMetadata.Builder,EvaluationMetadata>
-
Method Summary
Modifier and TypeMethodDescriptioncontactAgentId(String contactAgentId) The identifier of the agent who performed the contact.The identifier of the contact in this instance of Amazon Connect.evaluatorArn(String evaluatorArn) The Amazon Resource Name (ARN) of the user who last updated the evaluation.default EvaluationMetadata.Builderscore(Consumer<EvaluationScore.Builder> score) The overall score of the contact evaluation.score(EvaluationScore score) The overall score of the contact evaluation.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
-
contactId
The identifier of the contact in this instance of Amazon Connect.
- Parameters:
contactId- The identifier of the contact in this instance of Amazon Connect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluatorArn
The Amazon Resource Name (ARN) of the user who last updated the evaluation.
- Parameters:
evaluatorArn- The Amazon Resource Name (ARN) of the user who last updated the evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactAgentId
The identifier of the agent who performed the contact.
- Parameters:
contactAgentId- The identifier of the agent who performed the contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
score
The overall score of the contact evaluation.
- Parameters:
score- The overall score of the contact evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
score
The overall score of the contact evaluation.
This is a convenience method that creates an instance of theEvaluationScore.Builderavoiding the need to create one manually viaEvaluationScore.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscore(EvaluationScore).- Parameters:
score- a consumer that will call methods onEvaluationScore.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-