public class ListTaskTemplatesRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
Lists task templates for the specified Amazon Connect instance.
| Constructor and Description |
|---|
ListTaskTemplatesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return per page.
|
java.lang.String |
getName()
The name of the task template.
|
java.lang.String |
getNextToken()
The token for the next set of results.
|
java.lang.String |
getStatus()
Marks a template as
ACTIVE or INACTIVE for a
task to refer to it. |
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
|
void |
setName(java.lang.String name)
The name of the task template.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of results.
|
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.
|
ListTaskTemplatesRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
ListTaskTemplatesRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
|
ListTaskTemplatesRequest |
withName(java.lang.String name)
The name of the task template.
|
ListTaskTemplatesRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
ListTaskTemplatesRequest |
withStatus(java.lang.String status)
Marks a template as
ACTIVE or INACTIVE for a
task to refer to it. |
ListTaskTemplatesRequest |
withStatus(TaskTemplateStatus status)
Marks a template as
ACTIVE or INACTIVE for a
task to refer to it. |
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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 ListTaskTemplatesRequest 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 getNextToken()
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
It is not expected that you set this because the value returned in the previous response is always null.
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
It is not expected that you set this because the value returned in the previous response is always null.
public void setNextToken(java.lang.String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
It is not expected that you set this because the value returned in the previous response is always null.
nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
It is not expected that you set this because the value returned in the previous response is always null.
public ListTaskTemplatesRequest withNextToken(java.lang.String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
It is not expected that you set this because the value returned in the previous response is always null.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
It is not expected that you set this because the value returned in the previous response is always null.
public java.lang.Integer getMaxResults()
The maximum number of results to return per page.
It is not expected that you set this.
Constraints:
Range: 1 - 100
The maximum number of results to return per page.
It is not expected that you set this.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
It is not expected that you set this.
Constraints:
Range: 1 - 100
maxResults - The maximum number of results to return per page.
It is not expected that you set this.
public ListTaskTemplatesRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return per page.
It is not expected that you set this.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 100
maxResults - The maximum number of results to return per page.
It is not expected that you set this.
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 ListTaskTemplatesRequest 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 ListTaskTemplatesRequest 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.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 ListTaskTemplatesRequest 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 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