public class GetTaskTemplateResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
GetTaskTemplateResult() |
| Modifier and Type | Method and Description |
|---|---|
GetTaskTemplateResult |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
GetTaskTemplateResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN).
|
TaskTemplateConstraints |
getConstraints()
Constraints that are applicable to the fields listed.
|
java.lang.String |
getContactFlowId()
The identifier of the flow that runs by default when a task is created by
referencing this template.
|
java.util.Date |
getCreatedTime()
The timestamp when the task template was created.
|
TaskTemplateDefaults |
getDefaults()
The default values for fields when a task is created by referencing this
template.
|
java.lang.String |
getDescription()
The description of the task template.
|
java.util.List<TaskTemplateField> |
getFields()
Fields that are part of the template.
|
java.lang.String |
getId()
A unique identifier for the task template.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.util.Date |
getLastModifiedTime()
The timestamp when the task template was last modified.
|
java.lang.String |
getName()
The name of the task template.
|
java.lang.String |
getStatus()
Marks a template as
ACTIVE or INACTIVE for a
task to refer to it. |
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 |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN).
|
void |
setConstraints(TaskTemplateConstraints constraints)
Constraints that are applicable to the fields listed.
|
void |
setContactFlowId(java.lang.String contactFlowId)
The identifier of the flow that runs by default when a task is created by
referencing this template.
|
void |
setCreatedTime(java.util.Date createdTime)
The timestamp when the task template was created.
|
void |
setDefaults(TaskTemplateDefaults defaults)
The default values for fields when a task is created by referencing this
template.
|
void |
setDescription(java.lang.String description)
The description of the task template.
|
void |
setFields(java.util.Collection<TaskTemplateField> fields)
Fields that are part of the template.
|
void |
setId(java.lang.String id)
A unique identifier for the task template.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setLastModifiedTime(java.util.Date lastModifiedTime)
The timestamp when the task template was last modified.
|
void |
setName(java.lang.String name)
The name of the task template.
|
void |
setStatus(java.lang.String status)
Marks a template as
ACTIVE or INACTIVE for a
task to refer to it. |
void |
setStatus(TaskTemplateStatus status)
Marks a template as
ACTIVE or INACTIVE for a
task to refer to it. |
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.
|
GetTaskTemplateResult |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN).
|
GetTaskTemplateResult |
withConstraints(TaskTemplateConstraints constraints)
Constraints that are applicable to the fields listed.
|
GetTaskTemplateResult |
withContactFlowId(java.lang.String contactFlowId)
The identifier of the flow that runs by default when a task is created by
referencing this template.
|
GetTaskTemplateResult |
withCreatedTime(java.util.Date createdTime)
The timestamp when the task template was created.
|
GetTaskTemplateResult |
withDefaults(TaskTemplateDefaults defaults)
The default values for fields when a task is created by referencing this
template.
|
GetTaskTemplateResult |
withDescription(java.lang.String description)
The description of the task template.
|
GetTaskTemplateResult |
withFields(java.util.Collection<TaskTemplateField> fields)
Fields that are part of the template.
|
GetTaskTemplateResult |
withFields(TaskTemplateField... fields)
Fields that are part of the template.
|
GetTaskTemplateResult |
withId(java.lang.String id)
A unique identifier for the task template.
|
GetTaskTemplateResult |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
GetTaskTemplateResult |
withLastModifiedTime(java.util.Date lastModifiedTime)
The timestamp when the task template was last modified.
|
GetTaskTemplateResult |
withName(java.lang.String name)
The name of the task template.
|
GetTaskTemplateResult |
withStatus(java.lang.String status)
Marks a template as
ACTIVE or INACTIVE for a
task to refer to it. |
GetTaskTemplateResult |
withStatus(TaskTemplateStatus status)
Marks a template as
ACTIVE or INACTIVE for a
task to refer to it. |
GetTaskTemplateResult |
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 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 GetTaskTemplateResult 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 getId()
A unique identifier for the task template.
Constraints:
Length: 1 - 500
A unique identifier for the task template.
public void setId(java.lang.String id)
A unique identifier for the task template.
Constraints:
Length: 1 - 500
id - A unique identifier for the task template.
public GetTaskTemplateResult withId(java.lang.String id)
A unique identifier for the task template.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 500
id - A unique identifier for the task template.
public java.lang.String getArn()
The Amazon Resource Name (ARN).
Constraints:
Length: 1 - 500
The Amazon Resource Name (ARN).
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN).
Constraints:
Length: 1 - 500
arn - The Amazon Resource Name (ARN).
public GetTaskTemplateResult withArn(java.lang.String arn)
The Amazon Resource Name (ARN).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 500
arn - The Amazon Resource Name (ARN).
public java.lang.String getName()
The name of the task template.
Constraints:
Length: 1 - 100
The name of the task template.
public void setName(java.lang.String name)
The name of the task template.
Constraints:
Length: 1 - 100
name - The name of the task template.
public GetTaskTemplateResult withName(java.lang.String name)
The name of the task template.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
name - The name of the task template.
public java.lang.String getDescription()
The description of the task template.
Constraints:
Length: 1 - 255
The description of the task template.
public void setDescription(java.lang.String description)
The description of the task template.
Constraints:
Length: 1 - 255
description - The description of the task template.
public GetTaskTemplateResult withDescription(java.lang.String description)
The description of the task template.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
description - The description of the task template.
public java.lang.String getContactFlowId()
The identifier of the flow that runs by default when a task is created by referencing this template.
Constraints:
Length: - 500
The identifier of the flow that runs by default when a task is created by referencing this template.
public void setContactFlowId(java.lang.String contactFlowId)
The identifier of the flow that runs by default when a task is created by referencing this template.
Constraints:
Length: - 500
contactFlowId - The identifier of the flow that runs by default when a task is created by referencing this template.
public GetTaskTemplateResult withContactFlowId(java.lang.String contactFlowId)
The identifier of the flow that runs by default when a task is created by referencing this template.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 500
contactFlowId - The identifier of the flow that runs by default when a task is created by referencing this template.
public TaskTemplateConstraints getConstraints()
Constraints that are applicable to the fields listed.
Constraints that are applicable to the fields listed.
public void setConstraints(TaskTemplateConstraints constraints)
Constraints that are applicable to the fields listed.
constraints - Constraints that are applicable to the fields listed.
public GetTaskTemplateResult withConstraints(TaskTemplateConstraints constraints)
Constraints that are applicable to the fields listed.
Returns a reference to this object so that method calls can be chained together.
constraints - Constraints that are applicable to the fields listed.
public TaskTemplateDefaults getDefaults()
The default values for fields when a task is created by referencing this template.
The default values for fields when a task is created by referencing this template.
public void setDefaults(TaskTemplateDefaults defaults)
The default values for fields when a task is created by referencing this template.
defaults - The default values for fields when a task is created by referencing this template.
public GetTaskTemplateResult withDefaults(TaskTemplateDefaults defaults)
The default values for fields when a task is created by referencing this template.
Returns a reference to this object so that method calls can be chained together.
defaults - The default values for fields when a task is created by referencing this template.
public java.util.List<TaskTemplateField> getFields()
Fields that are part of the template.
Fields that are part of the template.
public void setFields(java.util.Collection<TaskTemplateField> fields)
Fields that are part of the template.
fields - Fields that are part of the template.
public GetTaskTemplateResult withFields(TaskTemplateField... fields)
Fields that are part of the template.
Returns a reference to this object so that method calls can be chained together.
fields - Fields that are part of the template.
public GetTaskTemplateResult withFields(java.util.Collection<TaskTemplateField> fields)
Fields that are part of the template.
Returns a reference to this object so that method calls can be chained together.
fields - Fields that are part of the template.
public java.lang.String getStatus()
Marks a template as ACTIVE or INACTIVE for a
task to refer to it. Tasks can only be created from ACTIVE
templates. If a template is marked as INACTIVE, then a task
that refers to this template cannot be created.
Constraints:
Allowed Values: ACTIVE, INACTIVE
Marks a template as ACTIVE or INACTIVE
for a task to refer to it. Tasks can only be created from
ACTIVE templates. If a template is marked as
INACTIVE, then a task that refers to this template
cannot be created.
TaskTemplateStatuspublic void setStatus(java.lang.String status)
Marks a template as ACTIVE or INACTIVE for a
task to refer to it. Tasks can only be created from ACTIVE
templates. If a template is marked as INACTIVE, then a task
that refers to this template cannot be created.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status -
Marks a template as ACTIVE or
INACTIVE for a task to refer to it. Tasks can
only be created from ACTIVE templates. If a
template is marked as INACTIVE, then a task that
refers to this template cannot be created.
TaskTemplateStatuspublic GetTaskTemplateResult withStatus(java.lang.String status)
Marks a template as ACTIVE or INACTIVE for a
task to refer to it. Tasks can only be created from ACTIVE
templates. If a template is marked as INACTIVE, then a task
that refers to this template cannot be created.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status -
Marks a template as ACTIVE or
INACTIVE for a task to refer to it. Tasks can
only be created from ACTIVE templates. If a
template is marked as INACTIVE, then a task that
refers to this template cannot be created.
TaskTemplateStatuspublic void setStatus(TaskTemplateStatus status)
Marks a template as ACTIVE or INACTIVE for a
task to refer to it. Tasks can only be created from ACTIVE
templates. If a template is marked as INACTIVE, then a task
that refers to this template cannot be created.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status -
Marks a template as ACTIVE or
INACTIVE for a task to refer to it. Tasks can
only be created from ACTIVE templates. If a
template is marked as INACTIVE, then a task that
refers to this template cannot be created.
TaskTemplateStatuspublic GetTaskTemplateResult withStatus(TaskTemplateStatus status)
Marks a template as ACTIVE or INACTIVE for a
task to refer to it. Tasks can only be created from ACTIVE
templates. If a template is marked as INACTIVE, then a task
that refers to this template cannot be created.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ACTIVE, INACTIVE
status -
Marks a template as ACTIVE or
INACTIVE for a task to refer to it. Tasks can
only be created from ACTIVE templates. If a
template is marked as INACTIVE, then a task that
refers to this template cannot be created.
TaskTemplateStatuspublic java.util.Date getLastModifiedTime()
The timestamp when the task template was last modified.
The timestamp when the task template was last modified.
public void setLastModifiedTime(java.util.Date lastModifiedTime)
The timestamp when the task template was last modified.
lastModifiedTime - The timestamp when the task template was last modified.
public GetTaskTemplateResult withLastModifiedTime(java.util.Date lastModifiedTime)
The timestamp when the task template was last modified.
Returns a reference to this object so that method calls can be chained together.
lastModifiedTime - The timestamp when the task template was last modified.
public java.util.Date getCreatedTime()
The timestamp when the task template was created.
The timestamp when the task template was created.
public void setCreatedTime(java.util.Date createdTime)
The timestamp when the task template was created.
createdTime - The timestamp when the task template was created.
public GetTaskTemplateResult withCreatedTime(java.util.Date createdTime)
The timestamp when the task template was created.
Returns a reference to this object so that method calls can be chained together.
createdTime - The timestamp when the task template was created.
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 GetTaskTemplateResult 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 GetTaskTemplateResult 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 GetTaskTemplateResult 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