Class SubmitTaskStateChangeRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.The reason for the state change request.The status of the state change request.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
The reason for the state change request.void
The status of the state change request.void
The task ID or full Amazon Resource Name (ARN) of the task in the state change request.toString()
Returns a string representation of this object; useful for testing and debugging.withCluster
(String cluster) The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.withReason
(String reason) The reason for the state change request.withStatus
(String status) The status of the state change request.The task ID or full Amazon Resource Name (ARN) of the task in the state change request.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
SubmitTaskStateChangeRequest
public SubmitTaskStateChangeRequest()
-
-
Method Details
-
setCluster
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
- Parameters:
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
-
getCluster
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
- Returns:
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
-
withCluster
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
- Parameters:
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTask
The task ID or full Amazon Resource Name (ARN) of the task in the state change request.
- Parameters:
task
- The task ID or full Amazon Resource Name (ARN) of the task in the state change request.
-
getTask
The task ID or full Amazon Resource Name (ARN) of the task in the state change request.
- Returns:
- The task ID or full Amazon Resource Name (ARN) of the task in the state change request.
-
withTask
The task ID or full Amazon Resource Name (ARN) of the task in the state change request.
- Parameters:
task
- The task ID or full Amazon Resource Name (ARN) of the task in the state change request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
The status of the state change request.
- Parameters:
status
- The status of the state change request.
-
getStatus
The status of the state change request.
- Returns:
- The status of the state change request.
-
withStatus
The status of the state change request.
- Parameters:
status
- The status of the state change request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReason
The reason for the state change request.
- Parameters:
reason
- The reason for the state change request.
-
getReason
The reason for the state change request.
- Returns:
- The reason for the state change request.
-
withReason
The reason for the state change request.
- Parameters:
reason
- The reason for the state change request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-