public class StopTaskRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
StopTask operation
.
Stops a running task.
NOOP
Constructor and Description |
---|
StopTaskRequest() |
Modifier and Type | Method and Description |
---|---|
StopTaskRequest |
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 stop.
|
String |
getTask()
The task UUIDs or full Amazon Resource Name (ARN) entry of the task
you would like to stop.
|
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 stop.
|
void |
setTask(String task)
The task UUIDs or full Amazon Resource Name (ARN) entry of the task
you would like 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 you want to stop.
|
StopTaskRequest |
withTask(String task)
The task UUIDs or full Amazon Resource Name (ARN) entry of the task
you would like to stop.
|
copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, 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 stop. If you do not specify a cluster, the
default cluster is assumed..public StopTaskRequest 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 stop. If you do not specify a cluster, the
default cluster is assumed..public String getTask()
public void setTask(String task)
task
- The task UUIDs or full Amazon Resource Name (ARN) entry of the task
you would like to stop.public StopTaskRequest withTask(String task)
Returns a reference to this object so that method calls can be chained together.
task
- The task UUIDs or full Amazon Resource Name (ARN) entry of the task
you would like to stop.public String toString()
toString
in class Object
Object.toString()
public StopTaskRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.