@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubmitTaskStateChangeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SubmitTaskStateChangeRequest() |
Modifier and Type | Method and Description |
---|---|
SubmitTaskStateChangeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, 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()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.