@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetTaskTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetTaskTemplateResult() |
Modifier and Type | Method and Description |
---|---|
GetTaskTemplateResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetTaskTemplateResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetTaskTemplateResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN).
|
TaskTemplateConstraints |
getConstraints()
Constraints that are applicable to the fields listed.
|
String |
getContactFlowId()
The identifier of the flow that runs by default when a task is created by referencing this template.
|
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.
|
String |
getDescription()
The description of the task template.
|
List<TaskTemplateField> |
getFields()
Fields that are part of the template.
|
String |
getId()
A unique identifier for the task template.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
Date |
getLastModifiedTime()
The timestamp when the task template was last modified.
|
String |
getName()
The name of the task template.
|
String |
getStatus()
Marks a template as
ACTIVE or INACTIVE for a task to refer to it. |
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN).
|
void |
setConstraints(TaskTemplateConstraints constraints)
Constraints that are applicable to the fields listed.
|
void |
setContactFlowId(String contactFlowId)
The identifier of the flow that runs by default when a task is created by referencing this template.
|
void |
setCreatedTime(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(String description)
The description of the task template.
|
void |
setFields(Collection<TaskTemplateField> fields)
Fields that are part of the template.
|
void |
setId(String id)
A unique identifier for the task template.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp when the task template was last modified.
|
void |
setName(String name)
The name of the task template.
|
void |
setStatus(String status)
Marks a template as
ACTIVE or INACTIVE for a task to refer to it. |
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
String |
toString()
Returns a string representation of this object.
|
GetTaskTemplateResult |
withArn(String arn)
The Amazon Resource Name (ARN).
|
GetTaskTemplateResult |
withConstraints(TaskTemplateConstraints constraints)
Constraints that are applicable to the fields listed.
|
GetTaskTemplateResult |
withContactFlowId(String contactFlowId)
The identifier of the flow that runs by default when a task is created by referencing this template.
|
GetTaskTemplateResult |
withCreatedTime(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(String description)
The description of the task template.
|
GetTaskTemplateResult |
withFields(Collection<TaskTemplateField> fields)
Fields that are part of the template.
|
GetTaskTemplateResult |
withFields(TaskTemplateField... fields)
Fields that are part of the template.
|
GetTaskTemplateResult |
withId(String id)
A unique identifier for the task template.
|
GetTaskTemplateResult |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
GetTaskTemplateResult |
withLastModifiedTime(Date lastModifiedTime)
The timestamp when the task template was last modified.
|
GetTaskTemplateResult |
withName(String name)
The name of the task template.
|
GetTaskTemplateResult |
withStatus(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(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public String getInstanceId()
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(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public void setId(String id)
A unique identifier for the task template.
id
- A unique identifier for the task template.public String getId()
A unique identifier for the task template.
public GetTaskTemplateResult withId(String id)
A unique identifier for the task template.
id
- A unique identifier for the task template.public void setArn(String arn)
The Amazon Resource Name (ARN).
arn
- The Amazon Resource Name (ARN).public String getArn()
The Amazon Resource Name (ARN).
public GetTaskTemplateResult withArn(String arn)
The Amazon Resource Name (ARN).
arn
- The Amazon Resource Name (ARN).public void setName(String name)
The name of the task template.
name
- The name of the task template.public String getName()
The name of the task template.
public GetTaskTemplateResult withName(String name)
The name of the task template.
name
- The name of the task template.public void setDescription(String description)
The description of the task template.
description
- The description of the task template.public String getDescription()
The description of the task template.
public GetTaskTemplateResult withDescription(String description)
The description of the task template.
description
- The description of the task template.public void setContactFlowId(String contactFlowId)
The identifier of the flow that runs by default when a task is created by referencing this template.
contactFlowId
- The identifier of the flow that runs by default when a task is created by referencing this template.public String getContactFlowId()
The identifier of the flow that runs by default when a task is created by referencing this template.
public GetTaskTemplateResult withContactFlowId(String contactFlowId)
The identifier of the flow that runs by default when a task is created by referencing this template.
contactFlowId
- The identifier of the flow that runs by default when a task is created by referencing this template.public void setConstraints(TaskTemplateConstraints constraints)
Constraints that are applicable to the fields listed.
constraints
- Constraints that are applicable to the fields listed.public TaskTemplateConstraints getConstraints()
Constraints that are applicable to the fields listed.
public GetTaskTemplateResult withConstraints(TaskTemplateConstraints constraints)
Constraints that are applicable to the fields listed.
constraints
- Constraints that are applicable to the fields listed.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 TaskTemplateDefaults getDefaults()
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.
defaults
- The default values for fields when a task is created by referencing this template.public List<TaskTemplateField> getFields()
Fields that are part of the template.
public void setFields(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.
NOTE: This method appends the values to the existing list (if any). Use
setFields(java.util.Collection)
or withFields(java.util.Collection)
if you want to override the
existing values.
fields
- Fields that are part of the template.public GetTaskTemplateResult withFields(Collection<TaskTemplateField> fields)
Fields that are part of the template.
fields
- Fields that are part of the template.public void setStatus(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.
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.TaskTemplateStatus
public 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.
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.TaskTemplateStatus
public GetTaskTemplateResult withStatus(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.
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.TaskTemplateStatus
public 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.
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.TaskTemplateStatus
public void setLastModifiedTime(Date lastModifiedTime)
The timestamp when the task template was last modified.
lastModifiedTime
- The timestamp when the task template was last modified.public Date getLastModifiedTime()
The timestamp when the task template was last modified.
public GetTaskTemplateResult withLastModifiedTime(Date lastModifiedTime)
The timestamp when the task template was last modified.
lastModifiedTime
- The timestamp when the task template was last modified.public void setCreatedTime(Date createdTime)
The timestamp when the task template was created.
createdTime
- The timestamp when the task template was created.public Date getCreatedTime()
The timestamp when the task template was created.
public GetTaskTemplateResult withCreatedTime(Date createdTime)
The timestamp when the task template was created.
createdTime
- The timestamp when the task template was created.public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(Map<String,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(Map<String,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 addTagsEntry(String key, String value)
public GetTaskTemplateResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetTaskTemplateResult clone()