public class UpdateContactEvaluationRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Updates details about a contact evaluation in the specified Amazon Connect
instance. A contact evaluation must be in draft state. Answers included in
the request are merged with existing answers for the given evaluation. An
answer or note can be deleted by passing an empty object ({}) to
the question identifier.
| Constructor and Description |
|---|
UpdateContactEvaluationRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateContactEvaluationRequest |
addAnswersEntry(java.lang.String key,
EvaluationAnswerInput value)
A map of question identifiers to answer value.
|
UpdateContactEvaluationRequest |
addNotesEntry(java.lang.String key,
EvaluationNote value)
A map of question identifiers to note value.
|
UpdateContactEvaluationRequest |
clearAnswersEntries()
Removes all the entries added into Answers.
|
UpdateContactEvaluationRequest |
clearNotesEntries()
Removes all the entries added into Notes.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,EvaluationAnswerInput> |
getAnswers()
A map of question identifiers to answer value.
|
java.lang.String |
getEvaluationId()
A unique identifier for the contact evaluation.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.util.Map<java.lang.String,EvaluationNote> |
getNotes()
A map of question identifiers to note value.
|
int |
hashCode() |
void |
setAnswers(java.util.Map<java.lang.String,EvaluationAnswerInput> answers)
A map of question identifiers to answer value.
|
void |
setEvaluationId(java.lang.String evaluationId)
A unique identifier for the contact evaluation.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setNotes(java.util.Map<java.lang.String,EvaluationNote> notes)
A map of question identifiers to note value.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateContactEvaluationRequest |
withAnswers(java.util.Map<java.lang.String,EvaluationAnswerInput> answers)
A map of question identifiers to answer value.
|
UpdateContactEvaluationRequest |
withEvaluationId(java.lang.String evaluationId)
A unique identifier for the contact evaluation.
|
UpdateContactEvaluationRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
UpdateContactEvaluationRequest |
withNotes(java.util.Map<java.lang.String,EvaluationNote> notes)
A map of question identifiers to note value.
|
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 UpdateContactEvaluationRequest 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 getEvaluationId()
A unique identifier for the contact evaluation.
Constraints:
Length: 1 - 500
A unique identifier for the contact evaluation.
public void setEvaluationId(java.lang.String evaluationId)
A unique identifier for the contact evaluation.
Constraints:
Length: 1 - 500
evaluationId - A unique identifier for the contact evaluation.
public UpdateContactEvaluationRequest withEvaluationId(java.lang.String evaluationId)
A unique identifier for the contact evaluation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 500
evaluationId - A unique identifier for the contact evaluation.
public java.util.Map<java.lang.String,EvaluationAnswerInput> getAnswers()
A map of question identifiers to answer value.
A map of question identifiers to answer value.
public void setAnswers(java.util.Map<java.lang.String,EvaluationAnswerInput> answers)
A map of question identifiers to answer value.
answers - A map of question identifiers to answer value.
public UpdateContactEvaluationRequest withAnswers(java.util.Map<java.lang.String,EvaluationAnswerInput> answers)
A map of question identifiers to answer value.
Returns a reference to this object so that method calls can be chained together.
answers - A map of question identifiers to answer value.
public UpdateContactEvaluationRequest addAnswersEntry(java.lang.String key, EvaluationAnswerInput value)
A map of question identifiers to answer value.
The method adds a new key-value pair into Answers parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into Answers.value - The corresponding value of the entry to be added into
Answers.public UpdateContactEvaluationRequest clearAnswersEntries()
Returns a reference to this object so that method calls can be chained together.
public java.util.Map<java.lang.String,EvaluationNote> getNotes()
A map of question identifiers to note value.
A map of question identifiers to note value.
public void setNotes(java.util.Map<java.lang.String,EvaluationNote> notes)
A map of question identifiers to note value.
notes - A map of question identifiers to note value.
public UpdateContactEvaluationRequest withNotes(java.util.Map<java.lang.String,EvaluationNote> notes)
A map of question identifiers to note value.
Returns a reference to this object so that method calls can be chained together.
notes - A map of question identifiers to note value.
public UpdateContactEvaluationRequest addNotesEntry(java.lang.String key, EvaluationNote value)
A map of question identifiers to note value.
The method adds a new key-value pair into Notes parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into Notes.value - The corresponding value of the entry to be added into Notes.public UpdateContactEvaluationRequest clearNotesEntries()
Returns a reference to this object so that method calls can be chained together.
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