@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListTaskTemplatesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListTaskTemplatesRequest() |
Modifier and Type | Method and Description |
---|---|
ListTaskTemplatesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
Integer |
getMaxResults()
The maximum number of results to return per page.
|
String |
getName()
The name of the task template.
|
String |
getNextToken()
The token for the next set of results.
|
String |
getStatus()
Marks a template as
ACTIVE or INACTIVE for a task to refer to it. |
int |
hashCode() |
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
void |
setName(String name)
The name of the task template.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
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.
|
ListTaskTemplatesRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
ListTaskTemplatesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
ListTaskTemplatesRequest |
withName(String name)
The name of the task template.
|
ListTaskTemplatesRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
ListTaskTemplatesRequest |
withStatus(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. |
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 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 ListTaskTemplatesRequest 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 setNextToken(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 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.
It is not expected that you set this because the value returned in the previous response is always null.
public ListTaskTemplatesRequest withNextToken(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 void setMaxResults(Integer maxResults)
The maximum number of results to return per page.
It is not expected that you set this.
maxResults
- The maximum number of results to return per page. It is not expected that you set this.
public Integer getMaxResults()
The maximum number of results to return per page.
It is not expected that you set this.
It is not expected that you set this.
public ListTaskTemplatesRequest withMaxResults(Integer maxResults)
The maximum number of results to return per page.
It is not expected that you set this.
maxResults
- The maximum number of results to return per page. It is not expected that you set this.
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 ListTaskTemplatesRequest 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 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.
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 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 ListTaskTemplatesRequest withName(String name)
The name of the task template.
name
- The name of the task template.public String toString()
toString
in class Object
Object.toString()
public ListTaskTemplatesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()