public class UpdateEvaluationFormRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Updates details about a specific evaluation form version in the specified Amazon Connect instance. Question and section identifiers cannot be duplicated within the same evaluation form.
This operation does not support partial updates. Instead it does a full update of evaluation form content.
| Constructor and Description |
|---|
UpdateEvaluationFormRequest() |
| 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.Boolean |
getCreateNewVersion()
A flag indicating whether the operation must create a new version.
|
java.lang.String |
getDescription()
The description of the evaluation form.
|
java.lang.String |
getEvaluationFormId()
The unique identifier for the evaluation form.
|
java.lang.Integer |
getEvaluationFormVersion()
A version of the evaluation form to update.
|
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() |
java.lang.Boolean |
isCreateNewVersion()
A flag indicating whether the operation must create a new version.
|
void |
setClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
void |
setCreateNewVersion(java.lang.Boolean createNewVersion)
A flag indicating whether the operation must create a new version.
|
void |
setDescription(java.lang.String description)
The description of the evaluation form.
|
void |
setEvaluationFormId(java.lang.String evaluationFormId)
The unique identifier for the evaluation form.
|
void |
setEvaluationFormVersion(java.lang.Integer evaluationFormVersion)
A version of the evaluation form to update.
|
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.
|
UpdateEvaluationFormRequest |
withClientToken(java.lang.String clientToken)
A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request.
|
UpdateEvaluationFormRequest |
withCreateNewVersion(java.lang.Boolean createNewVersion)
A flag indicating whether the operation must create a new version.
|
UpdateEvaluationFormRequest |
withDescription(java.lang.String description)
The description of the evaluation form.
|
UpdateEvaluationFormRequest |
withEvaluationFormId(java.lang.String evaluationFormId)
The unique identifier for the evaluation form.
|
UpdateEvaluationFormRequest |
withEvaluationFormVersion(java.lang.Integer evaluationFormVersion)
A version of the evaluation form to update.
|
UpdateEvaluationFormRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
UpdateEvaluationFormRequest |
withItems(java.util.Collection<EvaluationFormItem> items)
Items that are part of the evaluation form.
|
UpdateEvaluationFormRequest |
withItems(EvaluationFormItem... items)
Items that are part of the evaluation form.
|
UpdateEvaluationFormRequest |
withScoringStrategy(EvaluationFormScoringStrategy scoringStrategy)
A scoring strategy of the evaluation form.
|
UpdateEvaluationFormRequest |
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 UpdateEvaluationFormRequest 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 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 UpdateEvaluationFormRequest 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.Integer getEvaluationFormVersion()
A version of the evaluation form to update.
Constraints:
Range: 1 -
A version of the evaluation form to update.
public void setEvaluationFormVersion(java.lang.Integer evaluationFormVersion)
A version of the evaluation form to update.
Constraints:
Range: 1 -
evaluationFormVersion - A version of the evaluation form to update.
public UpdateEvaluationFormRequest withEvaluationFormVersion(java.lang.Integer evaluationFormVersion)
A version of the evaluation form to update.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
evaluationFormVersion - A version of the evaluation form to update.
public java.lang.Boolean isCreateNewVersion()
A flag indicating whether the operation must create a new version.
A flag indicating whether the operation must create a new version.
public java.lang.Boolean getCreateNewVersion()
A flag indicating whether the operation must create a new version.
A flag indicating whether the operation must create a new version.
public void setCreateNewVersion(java.lang.Boolean createNewVersion)
A flag indicating whether the operation must create a new version.
createNewVersion - A flag indicating whether the operation must create a new version.
public UpdateEvaluationFormRequest withCreateNewVersion(java.lang.Boolean createNewVersion)
A flag indicating whether the operation must create a new version.
Returns a reference to this object so that method calls can be chained together.
createNewVersion - A flag indicating whether the operation must create a new version.
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 UpdateEvaluationFormRequest 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 UpdateEvaluationFormRequest 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 UpdateEvaluationFormRequest 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 UpdateEvaluationFormRequest 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 UpdateEvaluationFormRequest 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 UpdateEvaluationFormRequest 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