public class SubmitTaskStateChangeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SubmitTaskStateChangeRequest() |
Modifier and Type | Method and Description |
---|---|
SubmitTaskStateChangeRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task.
|
String |
getReason()
The reason for the state change request.
|
String |
getStatus()
The status of the state change request.
|
String |
getTask()
The task ID or full Amazon Resource Name (ARN) of the task in the state
change request.
|
int |
hashCode() |
void |
setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task.
|
void |
setReason(String reason)
The reason for the state change request.
|
void |
setStatus(String status)
The status of the state change request.
|
void |
setTask(String task)
The task ID or full Amazon Resource Name (ARN) of the task in the state
change request.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SubmitTaskStateChangeRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task.
|
SubmitTaskStateChangeRequest |
withReason(String reason)
The reason for the state change request.
|
SubmitTaskStateChangeRequest |
withStatus(String status)
The status of the state change request.
|
SubmitTaskStateChangeRequest |
withTask(String task)
The task ID or full Amazon Resource Name (ARN) of the task in the state
change request.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster
that hosts the task.public String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
public SubmitTaskStateChangeRequest withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster
that hosts the task.public void setTask(String task)
The task ID or full Amazon Resource Name (ARN) of the task in the state change request.
task
- The task ID or full Amazon Resource Name (ARN) of the task in the
state change request.public String getTask()
The task ID or full Amazon Resource Name (ARN) of the task in the state change request.
public SubmitTaskStateChangeRequest withTask(String task)
The task ID or full Amazon Resource Name (ARN) of the task in the state change request.
task
- The task ID or full Amazon Resource Name (ARN) of the task in the
state change request.public void setStatus(String status)
The status of the state change request.
status
- The status of the state change request.public String getStatus()
The status of the state change request.
public SubmitTaskStateChangeRequest withStatus(String status)
The status of the state change request.
status
- The status of the state change request.public void setReason(String reason)
The reason for the state change request.
reason
- The reason for the state change request.public String getReason()
The reason for the state change request.
public SubmitTaskStateChangeRequest withReason(String reason)
The reason for the state change request.
reason
- The reason for the state change request.public String toString()
toString
in class Object
Object.toString()
public SubmitTaskStateChangeRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.