public class DescribeTasksRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cluster
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task to describe.
|
private SdkInternalList<java.lang.String> |
tasks
A space-separated list of task IDs or full Amazon Resource Name (ARN)
entries.
|
NOOP
Constructor and Description |
---|
DescribeTasksRequest() |
Modifier and Type | Method and Description |
---|---|
DescribeTasksRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task to describe.
|
java.util.List<java.lang.String> |
getTasks()
A space-separated list of task IDs or full Amazon Resource Name (ARN)
entries.
|
int |
hashCode() |
void |
setCluster(java.lang.String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task to describe.
|
void |
setTasks(java.util.Collection<java.lang.String> tasks)
A space-separated list of task IDs or full Amazon Resource Name (ARN)
entries.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeTasksRequest |
withCluster(java.lang.String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task to describe.
|
DescribeTasksRequest |
withTasks(java.util.Collection<java.lang.String> tasks)
A space-separated list of task IDs or full Amazon Resource Name (ARN)
entries.
|
DescribeTasksRequest |
withTasks(java.lang.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, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.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.
private SdkInternalList<java.lang.String> tasks
A space-separated list of task IDs or full Amazon Resource Name (ARN) entries.
public void setCluster(java.lang.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 java.lang.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(java.lang.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 java.util.List<java.lang.String> getTasks()
A space-separated list of task IDs or full Amazon Resource Name (ARN) entries.
public void setTasks(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeTasksRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()