public class SubmitContainerStateChangeRequest 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 container.
|
private java.lang.String |
containerName
The name of the container.
|
private java.lang.Integer |
exitCode
The exit code returned for the state change request.
|
private SdkInternalList<NetworkBinding> |
networkBindings
The network bindings of the container.
|
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 that hosts the
container.
|
NOOP
Constructor and Description |
---|
SubmitContainerStateChangeRequest() |
Modifier and Type | Method and Description |
---|---|
SubmitContainerStateChangeRequest |
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 container.
|
java.lang.String |
getContainerName()
The name of the container.
|
java.lang.Integer |
getExitCode()
The exit code returned for the state change request.
|
java.util.List<NetworkBinding> |
getNetworkBindings()
The network bindings of the container.
|
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 that hosts the
container.
|
int |
hashCode() |
void |
setCluster(java.lang.String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the container.
|
void |
setContainerName(java.lang.String containerName)
The name of the container.
|
void |
setExitCode(java.lang.Integer exitCode)
The exit code returned for the state change request.
|
void |
setNetworkBindings(java.util.Collection<NetworkBinding> networkBindings)
The network bindings of the container.
|
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 that hosts the
container.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SubmitContainerStateChangeRequest |
withCluster(java.lang.String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that
hosts the container.
|
SubmitContainerStateChangeRequest |
withContainerName(java.lang.String containerName)
The name of the container.
|
SubmitContainerStateChangeRequest |
withExitCode(java.lang.Integer exitCode)
The exit code returned for the state change request.
|
SubmitContainerStateChangeRequest |
withNetworkBindings(java.util.Collection<NetworkBinding> networkBindings)
The network bindings of the container.
|
SubmitContainerStateChangeRequest |
withNetworkBindings(NetworkBinding... networkBindings)
The network bindings of the container.
|
SubmitContainerStateChangeRequest |
withReason(java.lang.String reason)
The reason for the state change request.
|
SubmitContainerStateChangeRequest |
withStatus(java.lang.String status)
The status of the state change request.
|
SubmitContainerStateChangeRequest |
withTask(java.lang.String task)
The task ID or full Amazon Resource Name (ARN) of the task that hosts the
container.
|
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 container.
private java.lang.String task
The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
private java.lang.String containerName
The name of the container.
private java.lang.String status
The status of the state change request.
private java.lang.Integer exitCode
The exit code returned for the state change request.
private java.lang.String reason
The reason for the state change request.
private SdkInternalList<NetworkBinding> networkBindings
The network bindings of the container.
public void setCluster(java.lang.String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster
that hosts the container.public java.lang.String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.
public SubmitContainerStateChangeRequest withCluster(java.lang.String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster
that hosts the container.public void setTask(java.lang.String task)
The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
task
- The task ID or full Amazon Resource Name (ARN) of the task that
hosts the container.public java.lang.String getTask()
The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
public SubmitContainerStateChangeRequest withTask(java.lang.String task)
The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
task
- The task ID or full Amazon Resource Name (ARN) of the task that
hosts the container.public void setContainerName(java.lang.String containerName)
The name of the container.
containerName
- The name of the container.public java.lang.String getContainerName()
The name of the container.
public SubmitContainerStateChangeRequest withContainerName(java.lang.String containerName)
The name of the container.
containerName
- The name of the container.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 SubmitContainerStateChangeRequest withStatus(java.lang.String status)
The status of the state change request.
status
- The status of the state change request.public void setExitCode(java.lang.Integer exitCode)
The exit code returned for the state change request.
exitCode
- The exit code returned for the state change request.public java.lang.Integer getExitCode()
The exit code returned for the state change request.
public SubmitContainerStateChangeRequest withExitCode(java.lang.Integer exitCode)
The exit code returned for the state change request.
exitCode
- The exit code returned for 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 SubmitContainerStateChangeRequest withReason(java.lang.String reason)
The reason for the state change request.
reason
- The reason for the state change request.public java.util.List<NetworkBinding> getNetworkBindings()
The network bindings of the container.
public void setNetworkBindings(java.util.Collection<NetworkBinding> networkBindings)
The network bindings of the container.
networkBindings
- The network bindings of the container.public SubmitContainerStateChangeRequest withNetworkBindings(NetworkBinding... networkBindings)
The network bindings of the container.
NOTE: This method appends the values to the existing list (if
any). Use setNetworkBindings(java.util.Collection)
or
withNetworkBindings(java.util.Collection)
if you want to
override the existing values.
networkBindings
- The network bindings of the container.public SubmitContainerStateChangeRequest withNetworkBindings(java.util.Collection<NetworkBinding> networkBindings)
The network bindings of the container.
networkBindings
- The network bindings of the container.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 SubmitContainerStateChangeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()