public class EvaluationForm
extends java.lang.Object
implements java.io.Serializable
Information about the evaluation form.
| Constructor and Description |
|---|
EvaluationForm() |
| Modifier and Type | Method and Description |
|---|---|
EvaluationForm |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
EvaluationForm |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCreatedBy()
The Amazon Resource Name (ARN) of the user who created the evaluation
form.
|
java.util.Date |
getCreatedTime()
The timestamp for when the evaluation form was created.
|
java.lang.String |
getDescription()
The description of the evaluation form.
|
java.lang.String |
getEvaluationFormArn()
The Amazon Resource Name (ARN) for the evaluation form resource.
|
java.lang.String |
getEvaluationFormId()
The unique identifier for the evaluation form.
|
java.lang.Integer |
getEvaluationFormVersion()
A version of the evaluation form.
|
java.util.List<EvaluationFormItem> |
getItems()
Items that are part of the evaluation form.
|
java.lang.String |
getLastModifiedBy()
The Amazon Resource Name (ARN) of the user who last updated the
evaluation form.
|
java.util.Date |
getLastModifiedTime()
The timestamp for when the evaluation form was last updated.
|
java.lang.Boolean |
getLocked()
The flag indicating whether the evaluation form is locked for changes.
|
EvaluationFormScoringStrategy |
getScoringStrategy()
A scoring strategy of the evaluation form.
|
java.lang.String |
getStatus()
The status of the evaluation form.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
java.lang.String |
getTitle()
A title of the evaluation form.
|
int |
hashCode() |
java.lang.Boolean |
isLocked()
The flag indicating whether the evaluation form is locked for changes.
|
void |
setCreatedBy(java.lang.String createdBy)
The Amazon Resource Name (ARN) of the user who created the evaluation
form.
|
void |
setCreatedTime(java.util.Date createdTime)
The timestamp for when the evaluation form was created.
|
void |
setDescription(java.lang.String description)
The description of the evaluation form.
|
void |
setEvaluationFormArn(java.lang.String evaluationFormArn)
The Amazon Resource Name (ARN) for the evaluation form resource.
|
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.
|
void |
setItems(java.util.Collection<EvaluationFormItem> items)
Items that are part of the evaluation form.
|
void |
setLastModifiedBy(java.lang.String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last updated the
evaluation form.
|
void |
setLastModifiedTime(java.util.Date lastModifiedTime)
The timestamp for when the evaluation form was last updated.
|
void |
setLocked(java.lang.Boolean locked)
The flag indicating whether the evaluation form is locked for changes.
|
void |
setScoringStrategy(EvaluationFormScoringStrategy scoringStrategy)
A scoring strategy of the evaluation form.
|
void |
setStatus(EvaluationFormVersionStatus status)
The status of the evaluation form.
|
void |
setStatus(java.lang.String status)
The status of the evaluation form.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
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.
|
EvaluationForm |
withCreatedBy(java.lang.String createdBy)
The Amazon Resource Name (ARN) of the user who created the evaluation
form.
|
EvaluationForm |
withCreatedTime(java.util.Date createdTime)
The timestamp for when the evaluation form was created.
|
EvaluationForm |
withDescription(java.lang.String description)
The description of the evaluation form.
|
EvaluationForm |
withEvaluationFormArn(java.lang.String evaluationFormArn)
The Amazon Resource Name (ARN) for the evaluation form resource.
|
EvaluationForm |
withEvaluationFormId(java.lang.String evaluationFormId)
The unique identifier for the evaluation form.
|
EvaluationForm |
withEvaluationFormVersion(java.lang.Integer evaluationFormVersion)
A version of the evaluation form.
|
EvaluationForm |
withItems(java.util.Collection<EvaluationFormItem> items)
Items that are part of the evaluation form.
|
EvaluationForm |
withItems(EvaluationFormItem... items)
Items that are part of the evaluation form.
|
EvaluationForm |
withLastModifiedBy(java.lang.String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last updated the
evaluation form.
|
EvaluationForm |
withLastModifiedTime(java.util.Date lastModifiedTime)
The timestamp for when the evaluation form was last updated.
|
EvaluationForm |
withLocked(java.lang.Boolean locked)
The flag indicating whether the evaluation form is locked for changes.
|
EvaluationForm |
withScoringStrategy(EvaluationFormScoringStrategy scoringStrategy)
A scoring strategy of the evaluation form.
|
EvaluationForm |
withStatus(EvaluationFormVersionStatus status)
The status of the evaluation form.
|
EvaluationForm |
withStatus(java.lang.String status)
The status of the evaluation form.
|
EvaluationForm |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
EvaluationForm |
withTitle(java.lang.String title)
A title of the evaluation form.
|
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 EvaluationForm 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.
Constraints:
Range: 1 -
A version of the evaluation form.
public void setEvaluationFormVersion(java.lang.Integer evaluationFormVersion)
A version of the evaluation form.
Constraints:
Range: 1 -
evaluationFormVersion - A version of the evaluation form.
public EvaluationForm withEvaluationFormVersion(java.lang.Integer evaluationFormVersion)
A version of the evaluation form.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
evaluationFormVersion - A version of the evaluation form.
public java.lang.Boolean isLocked()
The flag indicating whether the evaluation form is locked for changes.
The flag indicating whether the evaluation form is locked for changes.
public java.lang.Boolean getLocked()
The flag indicating whether the evaluation form is locked for changes.
The flag indicating whether the evaluation form is locked for changes.
public void setLocked(java.lang.Boolean locked)
The flag indicating whether the evaluation form is locked for changes.
locked - The flag indicating whether the evaluation form is locked for changes.
public EvaluationForm withLocked(java.lang.Boolean locked)
The flag indicating whether the evaluation form is locked for changes.
Returns a reference to this object so that method calls can be chained together.
locked - The flag indicating whether the evaluation form is locked for changes.
public java.lang.String getEvaluationFormArn()
The Amazon Resource Name (ARN) for the evaluation form resource.
The Amazon Resource Name (ARN) for the evaluation form resource.
public void setEvaluationFormArn(java.lang.String evaluationFormArn)
The Amazon Resource Name (ARN) for the evaluation form resource.
evaluationFormArn - The Amazon Resource Name (ARN) for the evaluation form resource.
public EvaluationForm withEvaluationFormArn(java.lang.String evaluationFormArn)
The Amazon Resource Name (ARN) for the evaluation form resource.
Returns a reference to this object so that method calls can be chained together.
evaluationFormArn - The Amazon Resource Name (ARN) for the evaluation form resource.
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 EvaluationForm 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 EvaluationForm 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.lang.String getStatus()
The status of the evaluation form.
Constraints:
Allowed Values: DRAFT, ACTIVE
The status of the evaluation form.
EvaluationFormVersionStatuspublic void setStatus(java.lang.String status)
The status of the evaluation form.
Constraints:
Allowed Values: DRAFT, ACTIVE
status - The status of the evaluation form.
EvaluationFormVersionStatuspublic EvaluationForm withStatus(java.lang.String status)
The status of the evaluation form.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DRAFT, ACTIVE
status - The status of the evaluation form.
EvaluationFormVersionStatuspublic void setStatus(EvaluationFormVersionStatus status)
The status of the evaluation form.
Constraints:
Allowed Values: DRAFT, ACTIVE
status - The status of the evaluation form.
EvaluationFormVersionStatuspublic EvaluationForm withStatus(EvaluationFormVersionStatus status)
The status of the evaluation form.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: DRAFT, ACTIVE
status - The status of the evaluation form.
EvaluationFormVersionStatuspublic 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 EvaluationForm 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 EvaluationForm 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 EvaluationForm 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.util.Date getCreatedTime()
The timestamp for when the evaluation form was created.
The timestamp for when the evaluation form was created.
public void setCreatedTime(java.util.Date createdTime)
The timestamp for when the evaluation form was created.
createdTime - The timestamp for when the evaluation form was created.
public EvaluationForm withCreatedTime(java.util.Date createdTime)
The timestamp for when the evaluation form was created.
Returns a reference to this object so that method calls can be chained together.
createdTime - The timestamp for when the evaluation form was created.
public java.lang.String getCreatedBy()
The Amazon Resource Name (ARN) of the user who created the evaluation form.
The Amazon Resource Name (ARN) of the user who created the evaluation form.
public void setCreatedBy(java.lang.String createdBy)
The Amazon Resource Name (ARN) of the user who created the evaluation form.
createdBy - The Amazon Resource Name (ARN) of the user who created the evaluation form.
public EvaluationForm withCreatedBy(java.lang.String createdBy)
The Amazon Resource Name (ARN) of the user who created the evaluation form.
Returns a reference to this object so that method calls can be chained together.
createdBy - The Amazon Resource Name (ARN) of the user who created the evaluation form.
public java.util.Date getLastModifiedTime()
The timestamp for when the evaluation form was last updated.
The timestamp for when the evaluation form was last updated.
public void setLastModifiedTime(java.util.Date lastModifiedTime)
The timestamp for when the evaluation form was last updated.
lastModifiedTime - The timestamp for when the evaluation form was last updated.
public EvaluationForm withLastModifiedTime(java.util.Date lastModifiedTime)
The timestamp for when the evaluation form was last updated.
Returns a reference to this object so that method calls can be chained together.
lastModifiedTime - The timestamp for when the evaluation form was last updated.
public java.lang.String getLastModifiedBy()
The Amazon Resource Name (ARN) of the user who last updated the evaluation form.
The Amazon Resource Name (ARN) of the user who last updated the evaluation form.
public void setLastModifiedBy(java.lang.String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last updated the evaluation form.
lastModifiedBy - The Amazon Resource Name (ARN) of the user who last updated the evaluation form.
public EvaluationForm withLastModifiedBy(java.lang.String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last updated the evaluation form.
Returns a reference to this object so that method calls can be chained together.
lastModifiedBy - The Amazon Resource Name (ARN) of the user who last updated the evaluation form.
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 EvaluationForm 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 EvaluationForm 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 EvaluationForm 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