public class Evaluation
extends java.lang.Object
implements java.io.Serializable
Information about a contact evaluation.
| Constructor and Description |
|---|
Evaluation() |
| Modifier and Type | Method and Description |
|---|---|
Evaluation |
addAnswersEntry(java.lang.String key,
EvaluationAnswerOutput value)
A map of question identifiers to answer value.
|
Evaluation |
addNotesEntry(java.lang.String key,
EvaluationNote value)
A map of question identifiers to note value.
|
Evaluation |
addScoresEntry(java.lang.String key,
EvaluationScore value)
A map of item (section or question) identifiers to score value.
|
Evaluation |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
Evaluation |
clearAnswersEntries()
Removes all the entries added into Answers.
|
Evaluation |
clearNotesEntries()
Removes all the entries added into Notes.
|
Evaluation |
clearScoresEntries()
Removes all the entries added into Scores.
|
Evaluation |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,EvaluationAnswerOutput> |
getAnswers()
A map of question identifiers to answer value.
|
java.util.Date |
getCreatedTime()
The timestamp for when the evaluation was created.
|
java.lang.String |
getEvaluationArn()
The Amazon Resource Name (ARN) for the contact evaluation resource.
|
java.lang.String |
getEvaluationId()
A unique identifier for the contact evaluation.
|
java.util.Date |
getLastModifiedTime()
The timestamp for when the evaluation was last updated.
|
EvaluationMetadata |
getMetadata()
Metadata about the contact evaluation.
|
java.util.Map<java.lang.String,EvaluationNote> |
getNotes()
A map of question identifiers to note value.
|
java.util.Map<java.lang.String,EvaluationScore> |
getScores()
A map of item (section or question) identifiers to score value.
|
java.lang.String |
getStatus()
The status of the contact evaluation.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setAnswers(java.util.Map<java.lang.String,EvaluationAnswerOutput> answers)
A map of question identifiers to answer value.
|
void |
setCreatedTime(java.util.Date createdTime)
The timestamp for when the evaluation was created.
|
void |
setEvaluationArn(java.lang.String evaluationArn)
The Amazon Resource Name (ARN) for the contact evaluation resource.
|
void |
setEvaluationId(java.lang.String evaluationId)
A unique identifier for the contact evaluation.
|
void |
setLastModifiedTime(java.util.Date lastModifiedTime)
The timestamp for when the evaluation was last updated.
|
void |
setMetadata(EvaluationMetadata metadata)
Metadata about the contact evaluation.
|
void |
setNotes(java.util.Map<java.lang.String,EvaluationNote> notes)
A map of question identifiers to note value.
|
void |
setScores(java.util.Map<java.lang.String,EvaluationScore> scores)
A map of item (section or question) identifiers to score value.
|
void |
setStatus(EvaluationStatus status)
The status of the contact evaluation.
|
void |
setStatus(java.lang.String status)
The status of the contact evaluation.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Evaluation |
withAnswers(java.util.Map<java.lang.String,EvaluationAnswerOutput> answers)
A map of question identifiers to answer value.
|
Evaluation |
withCreatedTime(java.util.Date createdTime)
The timestamp for when the evaluation was created.
|
Evaluation |
withEvaluationArn(java.lang.String evaluationArn)
The Amazon Resource Name (ARN) for the contact evaluation resource.
|
Evaluation |
withEvaluationId(java.lang.String evaluationId)
A unique identifier for the contact evaluation.
|
Evaluation |
withLastModifiedTime(java.util.Date lastModifiedTime)
The timestamp for when the evaluation was last updated.
|
Evaluation |
withMetadata(EvaluationMetadata metadata)
Metadata about the contact evaluation.
|
Evaluation |
withNotes(java.util.Map<java.lang.String,EvaluationNote> notes)
A map of question identifiers to note value.
|
Evaluation |
withScores(java.util.Map<java.lang.String,EvaluationScore> scores)
A map of item (section or question) identifiers to score value.
|
Evaluation |
withStatus(EvaluationStatus status)
The status of the contact evaluation.
|
Evaluation |
withStatus(java.lang.String status)
The status of the contact evaluation.
|
Evaluation |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
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 Evaluation 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.lang.String getEvaluationArn()
The Amazon Resource Name (ARN) for the contact evaluation resource.
The Amazon Resource Name (ARN) for the contact evaluation resource.
public void setEvaluationArn(java.lang.String evaluationArn)
The Amazon Resource Name (ARN) for the contact evaluation resource.
evaluationArn - The Amazon Resource Name (ARN) for the contact evaluation resource.
public Evaluation withEvaluationArn(java.lang.String evaluationArn)
The Amazon Resource Name (ARN) for the contact evaluation resource.
Returns a reference to this object so that method calls can be chained together.
evaluationArn - The Amazon Resource Name (ARN) for the contact evaluation resource.
public EvaluationMetadata getMetadata()
Metadata about the contact evaluation.
Metadata about the contact evaluation.
public void setMetadata(EvaluationMetadata metadata)
Metadata about the contact evaluation.
metadata - Metadata about the contact evaluation.
public Evaluation withMetadata(EvaluationMetadata metadata)
Metadata about the contact evaluation.
Returns a reference to this object so that method calls can be chained together.
metadata - Metadata about the contact evaluation.
public java.util.Map<java.lang.String,EvaluationAnswerOutput> 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,EvaluationAnswerOutput> answers)
A map of question identifiers to answer value.
answers - A map of question identifiers to answer value.
public Evaluation withAnswers(java.util.Map<java.lang.String,EvaluationAnswerOutput> 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 Evaluation addAnswersEntry(java.lang.String key, EvaluationAnswerOutput 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 Evaluation 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 Evaluation 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 Evaluation 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 Evaluation clearNotesEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String getStatus()
The status of the contact evaluation.
Constraints:
Allowed Values: DRAFT, SUBMITTED
The status of the contact evaluation.
EvaluationStatuspublic void setStatus(java.lang.String status)
The status of the contact evaluation.
Constraints:
Allowed Values: DRAFT, SUBMITTED
status - The status of the contact evaluation.
EvaluationStatuspublic Evaluation withStatus(java.lang.String status)
The status of the contact evaluation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DRAFT, SUBMITTED
status - The status of the contact evaluation.
EvaluationStatuspublic void setStatus(EvaluationStatus status)
The status of the contact evaluation.
Constraints:
Allowed Values: DRAFT, SUBMITTED
status - The status of the contact evaluation.
EvaluationStatuspublic Evaluation withStatus(EvaluationStatus status)
The status of the contact evaluation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DRAFT, SUBMITTED
status - The status of the contact evaluation.
EvaluationStatuspublic java.util.Map<java.lang.String,EvaluationScore> getScores()
A map of item (section or question) identifiers to score value.
A map of item (section or question) identifiers to score value.
public void setScores(java.util.Map<java.lang.String,EvaluationScore> scores)
A map of item (section or question) identifiers to score value.
scores - A map of item (section or question) identifiers to score value.
public Evaluation withScores(java.util.Map<java.lang.String,EvaluationScore> scores)
A map of item (section or question) identifiers to score value.
Returns a reference to this object so that method calls can be chained together.
scores - A map of item (section or question) identifiers to score value.
public Evaluation addScoresEntry(java.lang.String key, EvaluationScore value)
A map of item (section or question) identifiers to score value.
The method adds a new key-value pair into Scores 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 Scores.value - The corresponding value of the entry to be added into
Scores.public Evaluation clearScoresEntries()
Returns a reference to this object so that method calls can be chained together.
public java.util.Date getCreatedTime()
The timestamp for when the evaluation was created.
The timestamp for when the evaluation was created.
public void setCreatedTime(java.util.Date createdTime)
The timestamp for when the evaluation was created.
createdTime - The timestamp for when the evaluation was created.
public Evaluation withCreatedTime(java.util.Date createdTime)
The timestamp for when the evaluation was created.
Returns a reference to this object so that method calls can be chained together.
createdTime - The timestamp for when the evaluation was created.
public java.util.Date getLastModifiedTime()
The timestamp for when the evaluation was last updated.
The timestamp for when the evaluation was last updated.
public void setLastModifiedTime(java.util.Date lastModifiedTime)
The timestamp for when the evaluation was last updated.
lastModifiedTime - The timestamp for when the evaluation was last updated.
public Evaluation withLastModifiedTime(java.util.Date lastModifiedTime)
The timestamp for when the evaluation was last updated.
Returns a reference to this object so that method calls can be chained together.
lastModifiedTime - The timestamp for when the evaluation was last updated.
public java.util.Map<java.lang.String,java.lang.String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public Evaluation withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Returns a reference to this object so that method calls can be chained together.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public Evaluation addTagsEntry(java.lang.String key, java.lang.String value)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The method adds a new key-value pair into Tags 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 Tags.value - The corresponding value of the entry to be added into Tags.public Evaluation clearTagsEntries()
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