@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTaskTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateTaskTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateTaskTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
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.
|
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 |
getInstanceId()
The identifier of the Amazon Connect instance.
|
String |
getName()
The name of the task template.
|
String |
getStatus()
Marks a template as
ACTIVE or INACTIVE for a task to refer to it. |
String |
getTaskTemplateId()
A unique identifier for the task template.
|
int |
hashCode() |
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 |
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 |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
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 |
setTaskTemplateId(String taskTemplateId)
A unique identifier for the task template.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTaskTemplateRequest |
withConstraints(TaskTemplateConstraints constraints)
Constraints that are applicable to the fields listed.
|
UpdateTaskTemplateRequest |
withContactFlowId(String contactFlowId)
The identifier of the flow that runs by default when a task is created by referencing this template.
|
UpdateTaskTemplateRequest |
withDefaults(TaskTemplateDefaults defaults)
The default values for fields when a task is created by referencing this template.
|
UpdateTaskTemplateRequest |
withDescription(String description)
The description of the task template.
|
UpdateTaskTemplateRequest |
withFields(Collection<TaskTemplateField> fields)
Fields that are part of the template.
|
UpdateTaskTemplateRequest |
withFields(TaskTemplateField... fields)
Fields that are part of the template.
|
UpdateTaskTemplateRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
UpdateTaskTemplateRequest |
withName(String name)
The name of the task template.
|
UpdateTaskTemplateRequest |
withStatus(String status)
Marks a template as
ACTIVE or INACTIVE for a task to refer to it. |
UpdateTaskTemplateRequest |
withStatus(TaskTemplateStatus status)
Marks a template as
ACTIVE or INACTIVE for a task to refer to it. |
UpdateTaskTemplateRequest |
withTaskTemplateId(String taskTemplateId)
A unique identifier for the task template.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setTaskTemplateId(String taskTemplateId)
A unique identifier for the task template.
taskTemplateId
- A unique identifier for the task template.public String getTaskTemplateId()
A unique identifier for the task template.
public UpdateTaskTemplateRequest withTaskTemplateId(String taskTemplateId)
A unique identifier for the task template.
taskTemplateId
- A unique identifier for the task template.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 UpdateTaskTemplateRequest 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 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 UpdateTaskTemplateRequest 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 UpdateTaskTemplateRequest 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 UpdateTaskTemplateRequest 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 UpdateTaskTemplateRequest 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 UpdateTaskTemplateRequest 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 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 UpdateTaskTemplateRequest 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 UpdateTaskTemplateRequest 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 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 UpdateTaskTemplateRequest 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 UpdateTaskTemplateRequest withFields(Collection<TaskTemplateField> fields)
Fields that are part of the template.
fields
- Fields that are part of the template.public String toString()
toString
in class Object
Object.toString()
public UpdateTaskTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()