public class StartContactEvaluationRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Starts an empty evaluation in the specified Amazon Connect instance, using the given evaluation form for the particular contact. The evaluation form version used for the contact evaluation corresponds to the currently activated version. If no version is activated for the evaluation form, the contact evaluation cannot be started.
Evaluations created through the public API do not contain answer values suggested from automation.
| Constructor and Description |
|---|
StartContactEvaluationRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientToken()
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
java.lang.String |
getContactId()
The identifier of the contact in this instance of Amazon Connect.
|
java.lang.String |
getEvaluationFormId()
The unique identifier for the evaluation form.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
int |
hashCode() |
void |
setClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
void |
setContactId(java.lang.String contactId)
The identifier of the contact in this instance of Amazon Connect.
|
void |
setEvaluationFormId(java.lang.String evaluationFormId)
The unique identifier for the evaluation form.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StartContactEvaluationRequest |
withClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
StartContactEvaluationRequest |
withContactId(java.lang.String contactId)
The identifier of the contact in this instance of Amazon Connect.
|
StartContactEvaluationRequest |
withEvaluationFormId(java.lang.String evaluationFormId)
The unique identifier for the evaluation form.
|
StartContactEvaluationRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public StartContactEvaluationRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public java.lang.String getContactId()
The identifier of the contact in this instance of Amazon Connect.
Constraints:
Length: 1 - 256
The identifier of the contact in this instance of Amazon Connect.
public void setContactId(java.lang.String contactId)
The identifier of the contact in this instance of Amazon Connect.
Constraints:
Length: 1 - 256
contactId - The identifier of the contact in this instance of Amazon Connect.
public StartContactEvaluationRequest withContactId(java.lang.String contactId)
The identifier of the contact in this instance of Amazon Connect.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
contactId - The identifier of the contact in this instance of Amazon Connect.
public java.lang.String getEvaluationFormId()
The unique identifier for the evaluation form.
Constraints:
Length: 1 - 500
The unique identifier for the evaluation form.
public void setEvaluationFormId(java.lang.String evaluationFormId)
The unique identifier for the evaluation form.
Constraints:
Length: 1 - 500
evaluationFormId - The unique identifier for the evaluation form.
public StartContactEvaluationRequest withEvaluationFormId(java.lang.String evaluationFormId)
The unique identifier for the evaluation form.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 500
evaluationFormId - The unique identifier for the evaluation form.
public java.lang.String getClientToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Constraints:
Length: - 500
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
public void setClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Constraints:
Length: - 500
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
public StartContactEvaluationRequest withClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 500
clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object