public class SubmitTaskStateChangeRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
cluster
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task.
|
private java.lang.String |
reason
The reason for the state change request.
|
private java.lang.String |
status
The status of the state change request.
|
private java.lang.String |
task
The task ID or full Amazon Resource Name (ARN) of the task in the state
change request.
|
NOOP
Constructor and Description |
---|
SubmitTaskStateChangeRequest() |
Modifier and Type | Method and Description |
---|---|
SubmitTaskStateChangeRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task.
|
java.lang.String |
getReason()
The reason for the state change request.
|
java.lang.String |
getStatus()
The status of the state change request.
|
java.lang.String |
getTask()
The task ID or full Amazon Resource Name (ARN) of the task in the state
change request.
|
int |
hashCode() |
void |
setCluster(java.lang.String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task.
|
void |
setReason(java.lang.String reason)
The reason for the state change request.
|
void |
setStatus(java.lang.String status)
The status of the state change request.
|
void |
setTask(java.lang.String task)
The task ID or full Amazon Resource Name (ARN) of the task in the state
change request.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SubmitTaskStateChangeRequest |
withCluster(java.lang.String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the task.
|
SubmitTaskStateChangeRequest |
withReason(java.lang.String reason)
The reason for the state change request.
|
SubmitTaskStateChangeRequest |
withStatus(java.lang.String status)
The status of the state change request.
|
SubmitTaskStateChangeRequest |
withTask(java.lang.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, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String cluster
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
private java.lang.String task
The task ID or full Amazon Resource Name (ARN) of the task in the state change request.
private java.lang.String status
The status of the state change request.
private java.lang.String reason
The reason for the state change request.
public void setCluster(java.lang.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 java.lang.String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
public SubmitTaskStateChangeRequest withCluster(java.lang.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(java.lang.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 java.lang.String getTask()
The task ID or full Amazon Resource Name (ARN) of the task in the state change request.
public SubmitTaskStateChangeRequest withTask(java.lang.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(java.lang.String status)
The status of the state change request.
status
- The status of the state change request.public java.lang.String getStatus()
The status of the state change request.
public SubmitTaskStateChangeRequest withStatus(java.lang.String status)
The status of the state change request.
status
- The status of the state change request.public void setReason(java.lang.String reason)
The reason for the state change request.
reason
- The reason for the state change request.public java.lang.String getReason()
The reason for the state change request.
public SubmitTaskStateChangeRequest withReason(java.lang.String reason)
The reason for the state change request.
reason
- The reason for the state change request.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SubmitTaskStateChangeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()