Class SubmitContainerStateChangeRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.The name of the container.The exit code returned for the state change request.The network bindings of the container.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 that hosts the container.inthashCode()voidsetCluster(String cluster) The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.voidsetContainerName(String containerName) The name of the container.voidsetExitCode(Integer exitCode) The exit code returned for the state change request.voidsetNetworkBindings(Collection<NetworkBinding> networkBindings) The network bindings of the container.voidThe reason for the state change request.voidThe status of the state change request.voidThe task ID or full Amazon Resource Name (ARN) of the task that hosts the container.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 container.withContainerName(String containerName) The name of the container.withExitCode(Integer exitCode) The exit code returned for the state change request.withNetworkBindings(NetworkBinding... networkBindings) The network bindings of the container.withNetworkBindings(Collection<NetworkBinding> networkBindings) The network bindings of the container.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 that hosts the container.Methods inherited from class 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
-
SubmitContainerStateChangeRequest
public SubmitContainerStateChangeRequest()
-
-
Method Details
-
setCluster
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.
- Parameters:
cluster- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.
-
getCluster
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.
- Returns:
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.
-
withCluster
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.
- Parameters:
cluster- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.- 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 that hosts the container.
- Parameters:
task- The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
-
getTask
The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
- Returns:
- The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
-
withTask
The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
- Parameters:
task- The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setContainerName
The name of the container.
- Parameters:
containerName- The name of the container.
-
getContainerName
-
withContainerName
The name of the container.
- Parameters:
containerName- The name of the container.- 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.
-
setExitCode
The exit code returned for the state change request.
- Parameters:
exitCode- The exit code returned for the state change request.
-
getExitCode
The exit code returned for the state change request.
- Returns:
- The exit code returned for the state change request.
-
withExitCode
The exit code returned for the state change request.
- Parameters:
exitCode- The exit code returned for 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.
-
getNetworkBindings
The network bindings of the container.
- Returns:
- The network bindings of the container.
-
setNetworkBindings
The network bindings of the container.
- Parameters:
networkBindings- The network bindings of the container.
-
withNetworkBindings
The network bindings of the container.
NOTE: This method appends the values to the existing list (if any). Use
setNetworkBindings(java.util.Collection)orwithNetworkBindings(java.util.Collection)if you want to override the existing values.- Parameters:
networkBindings- The network bindings of the container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withNetworkBindings
public SubmitContainerStateChangeRequest withNetworkBindings(Collection<NetworkBinding> networkBindings) The network bindings of the container.
- Parameters:
networkBindings- The network bindings of the container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-