public class SubmitTaskStateChangeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
SubmitTaskStateChange operation.
NOTE: This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.
Sent to acknowledge that a task changed states.
NOOP| Constructor and Description |
|---|
SubmitTaskStateChangeRequest() |
| Modifier and Type | Method and Description |
|---|---|
SubmitTaskStateChangeRequest |
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.
|
String |
getReason()
The reason for the state change request.
|
String |
getStatus()
The status of the state change request.
|
String |
getTask()
The task UUID 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 UUID 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 UUID or full Amazon Resource Name (ARN) of the task in the
state change request.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getCluster()
public void setCluster(String cluster)
cluster - The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task.public SubmitTaskStateChangeRequest 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.public String getTask()
public void setTask(String task)
task - The task UUID or full Amazon Resource Name (ARN) of the task in the
state change request.public SubmitTaskStateChangeRequest withTask(String task)
Returns a reference to this object so that method calls can be chained together.
task - The task UUID or full Amazon Resource Name (ARN) of the task in the
state change request.public String getStatus()
public void setStatus(String status)
status - The status of the state change request.public SubmitTaskStateChangeRequest withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status - The status of the state change request.public String getReason()
public void setReason(String reason)
reason - The reason for the state change request.public SubmitTaskStateChangeRequest withReason(String reason)
Returns a reference to this object so that method calls can be chained together.
reason - The reason for the state change request.public String toString()
toString in class ObjectObject.toString()public SubmitTaskStateChangeRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.