@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTaskTemplateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateTaskTemplateResult() |
Modifier and Type | Method and Description |
---|---|
UpdateTaskTemplateResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) for the task template resource.
|
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()
The identifier of the task template resource.
|
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. |
int |
hashCode() |
void |
setArn(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(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)
The identifier of the task template resource.
|
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. |
String |
toString()
Returns a string representation of this object.
|
UpdateTaskTemplateResult |
withArn(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(String contactFlowId)
The identifier of the flow that runs by default when a task is created by referencing this template.
|
UpdateTaskTemplateResult |
withCreatedTime(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(String description)
The description of the task template.
|
UpdateTaskTemplateResult |
withFields(Collection<TaskTemplateField> fields)
Fields that are part of the template.
|
UpdateTaskTemplateResult |
withFields(TaskTemplateField... fields)
Fields that are part of the template.
|
UpdateTaskTemplateResult |
withId(String id)
The identifier of the task template resource.
|
UpdateTaskTemplateResult |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
UpdateTaskTemplateResult |
withLastModifiedTime(Date lastModifiedTime)
The timestamp when the task template was last modified.
|
UpdateTaskTemplateResult |
withName(String name)
The name of the task template.
|
UpdateTaskTemplateResult |
withStatus(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. |
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 UpdateTaskTemplateResult 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)
The identifier of the task template resource.
id
- The identifier of the task template resource.public String getId()
The identifier of the task template resource.
public UpdateTaskTemplateResult withId(String id)
The identifier of the task template resource.
id
- The identifier of the task template resource.public void setArn(String arn)
The Amazon Resource Name (ARN) for the task template resource.
arn
- The Amazon Resource Name (ARN) for the task template resource.public String getArn()
The Amazon Resource Name (ARN) for the task template resource.
public UpdateTaskTemplateResult withArn(String arn)
The Amazon Resource Name (ARN) for the task template resource.
arn
- The Amazon Resource Name (ARN) for the task template resource.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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult 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 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.
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 UpdateTaskTemplateResult 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 UpdateTaskTemplateResult withCreatedTime(Date createdTime)
The timestamp when the task template was created.
createdTime
- The timestamp when the task template was created.public String toString()
toString
in class Object
Object.toString()
public UpdateTaskTemplateResult clone()
Datenschutz | Nutzungsbedingungen für die Website | Cookie-Einstellungen | © 2025, Amazon Web Services, Inc. oder Tochtergesellschaften. Alle Rechte vorbehalten.