public class DescribeTasksRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DescribeTasks operation
.
Describes a specified task or tasks.
NOOP
Constructor and Description |
---|
DescribeTasksRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeTasksRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task you want to describe.
|
List<String> |
getTasks()
A space-separated list of task UUIDs 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 you want to describe.
|
void |
setTasks(Collection<String> tasks)
A space-separated list of task UUIDs 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 you want to describe.
|
DescribeTasksRequest |
withTasks(Collection<String> tasks)
A space-separated list of task UUIDs or full Amazon Resource Name
(ARN) entries.
|
DescribeTasksRequest |
withTasks(String... tasks)
A space-separated list of task UUIDs or full Amazon Resource Name
(ARN) entries.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getCluster()
public void setCluster(String cluster)
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task you want to describe. If you do not specify a cluster,
the default cluster is assumed.public DescribeTasksRequest withCluster(String cluster)
Returns a reference to this object so that method calls can be chained together.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task you want to describe. If you do not specify a cluster,
the default cluster is assumed.public List<String> getTasks()
public void setTasks(Collection<String> tasks)
tasks
- A space-separated list of task UUIDs or full Amazon Resource Name
(ARN) entries.public DescribeTasksRequest withTasks(String... tasks)
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.
Returns a reference to this object so that method calls can be chained together.
tasks
- A space-separated list of task UUIDs or full Amazon Resource Name
(ARN) entries.public DescribeTasksRequest withTasks(Collection<String> tasks)
Returns a reference to this object so that method calls can be chained together.
tasks
- A space-separated list of task UUIDs or full Amazon Resource Name
(ARN) entries.public String toString()
toString
in class Object
Object.toString()
public DescribeTasksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.