@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTasksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DescribeTasksRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeTasksRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe.
|
List<String> |
getInclude()
Specifies whether you want to see the resource tags for the task.
|
List<String> |
getTasks()
A list of up to 100 task IDs or full ARN entries.
|
int |
hashCode() |
void |
setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe.
|
void |
setInclude(Collection<String> include)
Specifies whether you want to see the resource tags for the task.
|
void |
setTasks(Collection<String> tasks)
A list of up to 100 task IDs or full ARN entries.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTasksRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe.
|
DescribeTasksRequest |
withInclude(Collection<String> include)
Specifies whether you want to see the resource tags for the task.
|
DescribeTasksRequest |
withInclude(String... include)
Specifies whether you want to see the resource tags for the task.
|
DescribeTasksRequest |
withInclude(TaskField... include)
Specifies whether you want to see the resource tags for the task.
|
DescribeTasksRequest |
withTasks(Collection<String> tasks)
A list of up to 100 task IDs or full ARN entries.
|
DescribeTasksRequest |
withTasks(String... tasks)
A list of up to 100 task IDs or full ARN entries.
|
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, withSdkRequestTimeoutpublic void setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you are describing were launched in any cluster other than the default cluster.
cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe.
If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or
tasks you are describing were launched in any cluster other than the default cluster.public String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you are describing were launched in any cluster other than the default cluster.
public DescribeTasksRequest withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe. If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or tasks you are describing were launched in any cluster other than the default cluster.
cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task or tasks to describe.
If you do not specify a cluster, the default cluster is assumed. This parameter is required if the task or
tasks you are describing were launched in any cluster other than the default cluster.public List<String> getTasks()
A list of up to 100 task IDs or full ARN entries.
public void setTasks(Collection<String> tasks)
A list of up to 100 task IDs or full ARN entries.
tasks - A list of up to 100 task IDs or full ARN entries.public DescribeTasksRequest withTasks(String... tasks)
A list of up to 100 task IDs or full ARN entries.
NOTE: This method appends the values to the existing list (if any). Use
setTasks(java.util.Collection) or withTasks(java.util.Collection) if you want to override the
existing values.
tasks - A list of up to 100 task IDs or full ARN entries.public DescribeTasksRequest withTasks(Collection<String> tasks)
A list of up to 100 task IDs or full ARN entries.
tasks - A list of up to 100 task IDs or full ARN entries.public List<String> getInclude()
Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are
included in the response. If this field is omitted, tags aren't included in the response.
TAGS is specified, the
tags are included in the response. If this field is omitted, tags aren't included in the response.TaskFieldpublic void setInclude(Collection<String> include)
Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are
included in the response. If this field is omitted, tags aren't included in the response.
include - Specifies whether you want to see the resource tags for the task. If TAGS is specified, the
tags are included in the response. If this field is omitted, tags aren't included in the response.TaskFieldpublic DescribeTasksRequest withInclude(String... include)
Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are
included in the response. If this field is omitted, tags aren't included in the response.
NOTE: This method appends the values to the existing list (if any). Use
setInclude(java.util.Collection) or withInclude(java.util.Collection) if you want to override
the existing values.
include - Specifies whether you want to see the resource tags for the task. If TAGS is specified, the
tags are included in the response. If this field is omitted, tags aren't included in the response.TaskFieldpublic DescribeTasksRequest withInclude(Collection<String> include)
Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are
included in the response. If this field is omitted, tags aren't included in the response.
include - Specifies whether you want to see the resource tags for the task. If TAGS is specified, the
tags are included in the response. If this field is omitted, tags aren't included in the response.TaskFieldpublic DescribeTasksRequest withInclude(TaskField... include)
Specifies whether you want to see the resource tags for the task. If TAGS is specified, the tags are
included in the response. If this field is omitted, tags aren't included in the response.
include - Specifies whether you want to see the resource tags for the task. If TAGS is specified, the
tags are included in the response. If this field is omitted, tags aren't included in the response.TaskFieldpublic String toString()
toString in class ObjectObject.toString()public DescribeTasksRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()