public class UpdateTaskTemplateResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
UpdateTaskTemplateResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN) for the task template resource.
|
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()
The identifier of the task template resource.
|
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. |
int |
hashCode() |
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the task template resource.
|
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)
The identifier of the task template resource.
|
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. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateTaskTemplateResult |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the task template resource.
|
UpdateTaskTemplateResult |
withConstraints(TaskTemplateConstraints constraints)
Constraints that are applicable to the fields listed.
|
UpdateTaskTemplateResult |
withContactFlowId(java.lang.String contactFlowId)
The identifier of the flow that runs by default when a task is created by
referencing this template.
|
UpdateTaskTemplateResult |
withCreatedTime(java.util.Date createdTime)
The timestamp when the task template was created.
|
UpdateTaskTemplateResult |
withDefaults(TaskTemplateDefaults defaults)
The default values for fields when a task is created by referencing this
template.
|
UpdateTaskTemplateResult |
withDescription(java.lang.String description)
The description of the task template.
|
UpdateTaskTemplateResult |
withFields(java.util.Collection<TaskTemplateField> fields)
Fields that are part of the template.
|
UpdateTaskTemplateResult |
withFields(TaskTemplateField... fields)
Fields that are part of the template.
|
UpdateTaskTemplateResult |
withId(java.lang.String id)
The identifier of the task template resource.
|
UpdateTaskTemplateResult |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
UpdateTaskTemplateResult |
withLastModifiedTime(java.util.Date lastModifiedTime)
The timestamp when the task template was last modified.
|
UpdateTaskTemplateResult |
withName(java.lang.String name)
The name of the task template.
|
UpdateTaskTemplateResult |
withStatus(java.lang.String status)
Marks a template as
ACTIVE or INACTIVE for a
task to refer to it. |
UpdateTaskTemplateResult |
withStatus(TaskTemplateStatus status)
Marks a template as
ACTIVE or INACTIVE for a
task to refer to it. |
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 UpdateTaskTemplateResult 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()
The identifier of the task template resource.
Constraints:
Length: 1 - 500
The identifier of the task template resource.
public void setId(java.lang.String id)
The identifier of the task template resource.
Constraints:
Length: 1 - 500
id - The identifier of the task template resource.
public UpdateTaskTemplateResult withId(java.lang.String id)
The identifier of the task template resource.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 500
id - The identifier of the task template resource.
public java.lang.String getArn()
The Amazon Resource Name (ARN) for the task template resource.
Constraints:
Length: 1 - 500
The Amazon Resource Name (ARN) for the task template resource.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the task template resource.
Constraints:
Length: 1 - 500
arn - The Amazon Resource Name (ARN) for the task template resource.
public UpdateTaskTemplateResult withArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the task template resource.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 500
arn - The Amazon Resource Name (ARN) for the task template resource.
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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult 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.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