public class DescribeTasksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribeTasksRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeTasksRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task to describe.
|
List<String> |
getTasks()
A space-separated list of task IDs or full Amazon Resource Name (ARN)
entries.
|
int |
hashCode() |
void |
setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task to describe.
|
void |
setTasks(Collection<String> tasks)
A space-separated list of task IDs or full Amazon Resource Name (ARN)
entries.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTasksRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task to describe.
|
DescribeTasksRequest |
withTasks(Collection<String> tasks)
A space-separated list of task IDs or full Amazon Resource Name (ARN)
entries.
|
DescribeTasksRequest |
withTasks(String... tasks)
A space-separated list of task IDs or full Amazon Resource Name (ARN)
entries.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to describe. If you do not specify a cluster, the default cluster is assumed.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster
that hosts the task to describe. If you do not specify a cluster,
the default cluster is assumed.public String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to describe. If you do not specify a cluster, the default cluster is assumed.
public DescribeTasksRequest withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to describe. If you do not specify a cluster, the default cluster is assumed.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster
that hosts the task to describe. If you do not specify a cluster,
the default cluster is assumed.public List<String> getTasks()
A space-separated list of task IDs or full Amazon Resource Name (ARN) entries.
public void setTasks(Collection<String> tasks)
A space-separated list of task IDs or full Amazon Resource Name (ARN) entries.
tasks
- A space-separated list of task IDs or full Amazon Resource Name
(ARN) entries.public DescribeTasksRequest withTasks(String... tasks)
A space-separated list of task IDs or full Amazon Resource Name (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 space-separated list of task IDs or full Amazon Resource Name
(ARN) entries.public DescribeTasksRequest withTasks(Collection<String> tasks)
A space-separated list of task IDs or full Amazon Resource Name (ARN) entries.
tasks
- A space-separated list of task IDs or full Amazon Resource Name
(ARN) entries.public String toString()
toString
in class Object
Object.toString()
public DescribeTasksRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.