public class CreateEvaluationFormRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Creates an evaluation form in the specified Amazon Connect instance. The form can be used to define questions related to agent performance, and create sections to organize such questions. Question and section identifiers cannot be duplicated within the same evaluation form.
| Constructor and Description |
|---|
CreateEvaluationFormRequest() |
| 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 |
getDescription()
The description of the evaluation form.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.util.List<EvaluationFormItem> |
getItems()
Items that are part of the evaluation form.
|
EvaluationFormScoringStrategy |
getScoringStrategy()
A scoring strategy of the evaluation form.
|
java.lang.String |
getTitle()
A title of the evaluation form.
|
int |
hashCode() |
void |
setClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
void |
setDescription(java.lang.String description)
The description of the evaluation form.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setItems(java.util.Collection<EvaluationFormItem> items)
Items that are part of the evaluation form.
|
void |
setScoringStrategy(EvaluationFormScoringStrategy scoringStrategy)
A scoring strategy of the evaluation form.
|
void |
setTitle(java.lang.String title)
A title of the evaluation form.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateEvaluationFormRequest |
withClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
CreateEvaluationFormRequest |
withDescription(java.lang.String description)
The description of the evaluation form.
|
CreateEvaluationFormRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
CreateEvaluationFormRequest |
withItems(java.util.Collection<EvaluationFormItem> items)
Items that are part of the evaluation form.
|
CreateEvaluationFormRequest |
withItems(EvaluationFormItem... items)
Items that are part of the evaluation form.
|
CreateEvaluationFormRequest |
withScoringStrategy(EvaluationFormScoringStrategy scoringStrategy)
A scoring strategy of the evaluation form.
|
CreateEvaluationFormRequest |
withTitle(java.lang.String title)
A title of the evaluation form.
|
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 CreateEvaluationFormRequest 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 getTitle()
A title of the evaluation form.
Constraints:
Length: 1 - 128
A title of the evaluation form.
public void setTitle(java.lang.String title)
A title of the evaluation form.
Constraints:
Length: 1 - 128
title - A title of the evaluation form.
public CreateEvaluationFormRequest withTitle(java.lang.String title)
A title of the evaluation form.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
title - A title of the evaluation form.
public java.lang.String getDescription()
The description of the evaluation form.
Constraints:
Length: 0 - 1024
The description of the evaluation form.
public void setDescription(java.lang.String description)
The description of the evaluation form.
Constraints:
Length: 0 - 1024
description - The description of the evaluation form.
public CreateEvaluationFormRequest withDescription(java.lang.String description)
The description of the evaluation form.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
description - The description of the evaluation form.
public java.util.List<EvaluationFormItem> getItems()
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
public void setItems(java.util.Collection<EvaluationFormItem> items)
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
items - Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
public CreateEvaluationFormRequest withItems(EvaluationFormItem... items)
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
Returns a reference to this object so that method calls can be chained together.
items - Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
public CreateEvaluationFormRequest withItems(java.util.Collection<EvaluationFormItem> items)
Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
Returns a reference to this object so that method calls can be chained together.
items - Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
public EvaluationFormScoringStrategy getScoringStrategy()
A scoring strategy of the evaluation form.
A scoring strategy of the evaluation form.
public void setScoringStrategy(EvaluationFormScoringStrategy scoringStrategy)
A scoring strategy of the evaluation form.
scoringStrategy - A scoring strategy of the evaluation form.
public CreateEvaluationFormRequest withScoringStrategy(EvaluationFormScoringStrategy scoringStrategy)
A scoring strategy of the evaluation form.
Returns a reference to this object so that method calls can be chained together.
scoringStrategy - A scoring strategy of 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 CreateEvaluationFormRequest 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