@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubmitContainerStateChangeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SubmitContainerStateChangeRequest() |
Modifier and Type | Method and Description |
---|---|
SubmitContainerStateChangeRequest |
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 container.
|
String |
getContainerName()
The name of the container.
|
Integer |
getExitCode()
The exit code returned for the state change request.
|
List<NetworkBinding> |
getNetworkBindings()
The network bindings of the container.
|
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 that hosts the container.
|
int |
hashCode() |
void |
setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.
|
void |
setContainerName(String containerName)
The name of the container.
|
void |
setExitCode(Integer exitCode)
The exit code returned for the state change request.
|
void |
setNetworkBindings(Collection<NetworkBinding> networkBindings)
The network bindings of the container.
|
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 that hosts the container.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SubmitContainerStateChangeRequest |
withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.
|
SubmitContainerStateChangeRequest |
withContainerName(String containerName)
The name of the container.
|
SubmitContainerStateChangeRequest |
withExitCode(Integer exitCode)
The exit code returned for the state change request.
|
SubmitContainerStateChangeRequest |
withNetworkBindings(Collection<NetworkBinding> networkBindings)
The network bindings of the container.
|
SubmitContainerStateChangeRequest |
withNetworkBindings(NetworkBinding... networkBindings)
The network bindings of the container.
|
SubmitContainerStateChangeRequest |
withReason(String reason)
The reason for the state change request.
|
SubmitContainerStateChangeRequest |
withStatus(String status)
The status of the state change request.
|
SubmitContainerStateChangeRequest |
withTask(String task)
The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
|
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 container.
cluster
- The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.public String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.
public SubmitContainerStateChangeRequest withCluster(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(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 String getTask()
The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
public SubmitContainerStateChangeRequest withTask(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(String containerName)
The name of the container.
containerName
- The name of the container.public String getContainerName()
The name of the container.
public SubmitContainerStateChangeRequest withContainerName(String containerName)
The name of the container.
containerName
- The name of the container.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 SubmitContainerStateChangeRequest withStatus(String status)
The status of the state change request.
status
- The status of the state change request.public void setExitCode(Integer exitCode)
The exit code returned for the state change request.
exitCode
- The exit code returned for the state change request.public Integer getExitCode()
The exit code returned for the state change request.
public SubmitContainerStateChangeRequest withExitCode(Integer exitCode)
The exit code returned for the state change request.
exitCode
- The exit code returned for 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 SubmitContainerStateChangeRequest withReason(String reason)
The reason for the state change request.
reason
- The reason for the state change request.public List<NetworkBinding> getNetworkBindings()
The network bindings of the container.
public void setNetworkBindings(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(Collection<NetworkBinding> networkBindings)
The network bindings of the container.
networkBindings
- The network bindings of the container.public String toString()
toString
in class Object
Object.toString()
public SubmitContainerStateChangeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.