@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() |
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 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 to describe.
|
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; 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 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, copyBaseTo, 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 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 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 String toString()
toString
in class Object
Object.toString()
public DescribeTasksRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2018. All rights reserved.