public class StopTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StopTaskRequest() |
Modifier and Type | Method and Description |
---|---|
StopTaskRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task to stop.
|
String |
getTask()
The task ID or full Amazon Resource Name (ARN) entry of the task to stop.
|
int |
hashCode() |
void |
setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task to stop.
|
void |
setTask(String task)
The task ID or full Amazon Resource Name (ARN) entry of the task to stop.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StopTaskRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task to stop.
|
StopTaskRequest |
withTask(String task)
The task ID or full Amazon Resource Name (ARN) entry of the task to stop.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public void setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to stop. 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 stop. 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 stop. If you do not specify a cluster, the default cluster is assumed..
public StopTaskRequest withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task to stop. 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 stop. If you do not specify a cluster, the
default cluster is assumed..public void setTask(String task)
The task ID or full Amazon Resource Name (ARN) entry of the task to stop.
task
- The task ID or full Amazon Resource Name (ARN) entry of the task
to stop.public String getTask()
The task ID or full Amazon Resource Name (ARN) entry of the task to stop.
public StopTaskRequest withTask(String task)
The task ID or full Amazon Resource Name (ARN) entry of the task to stop.
task
- The task ID or full Amazon Resource Name (ARN) entry of the task
to stop.public String toString()
toString
in class Object
Object.toString()
public StopTaskRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.