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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description EvaluationMetadata.BuildercontactAgentId(String contactAgentId)The identifier of the agent who performed the contact.EvaluationMetadata.BuildercontactId(String contactId)The identifier of the contact in this instance of Amazon Connect.EvaluationMetadata.BuilderevaluatorArn(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.EvaluationMetadata.Builderscore(EvaluationScore score)The overall score of the contact evaluation.-
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
-
contactId
EvaluationMetadata.Builder contactId(String 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
EvaluationMetadata.Builder evaluatorArn(String 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
EvaluationMetadata.Builder contactAgentId(String 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
EvaluationMetadata.Builder score(EvaluationScore 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
default EvaluationMetadata.Builder score(Consumer<EvaluationScore.Builder> 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:
score(EvaluationScore)
-
-