@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateContainerInstancesStateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| UpdateContainerInstancesStateRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| UpdateContainerInstancesStateRequest | 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 instance to update. | 
| List<String> | getContainerInstances()
 A space-separated list of container instance IDs or full Amazon Resource Name (ARN) entries. | 
| String | getStatus()
 The container instance state with which to update the container instance. | 
| int | hashCode() | 
| void | setCluster(String cluster)
 The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to update. | 
| void | setContainerInstances(Collection<String> containerInstances)
 A space-separated list of container instance IDs or full Amazon Resource Name (ARN) entries. | 
| void | setStatus(ContainerInstanceStatus status)
 The container instance state with which to update the container instance. | 
| void | setStatus(String status)
 The container instance state with which to update the container instance. | 
| String | toString()Returns a string representation of this object; useful for testing and debugging. | 
| UpdateContainerInstancesStateRequest | withCluster(String cluster)
 The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to update. | 
| UpdateContainerInstancesStateRequest | withContainerInstances(Collection<String> containerInstances)
 A space-separated list of container instance IDs or full Amazon Resource Name (ARN) entries. | 
| UpdateContainerInstancesStateRequest | withContainerInstances(String... containerInstances)
 A space-separated list of container instance IDs or full Amazon Resource Name (ARN) entries. | 
| UpdateContainerInstancesStateRequest | withStatus(ContainerInstanceStatus status)
 The container instance state with which to update the container instance. | 
| UpdateContainerInstancesStateRequest | withStatus(String status)
 The container instance state with which to update the container instance. | 
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic UpdateContainerInstancesStateRequest()
public void setCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to update. If you do not specify a cluster, the default cluster is assumed.
cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to
        update. If you do not specify a cluster, the default cluster is assumed.public String getCluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to update. If you do not specify a cluster, the default cluster is assumed.
public UpdateContainerInstancesStateRequest withCluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to update. If you do not specify a cluster, the default cluster is assumed.
cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to
        update. If you do not specify a cluster, the default cluster is assumed.public List<String> getContainerInstances()
A space-separated list of container instance IDs or full Amazon Resource Name (ARN) entries.
public void setContainerInstances(Collection<String> containerInstances)
A space-separated list of container instance IDs or full Amazon Resource Name (ARN) entries.
containerInstances - A space-separated list of container instance IDs or full Amazon Resource Name (ARN) entries.public UpdateContainerInstancesStateRequest withContainerInstances(String... containerInstances)
A space-separated list of container instance IDs or full Amazon Resource Name (ARN) entries.
 NOTE: This method appends the values to the existing list (if any). Use
 setContainerInstances(java.util.Collection) or withContainerInstances(java.util.Collection) if
 you want to override the existing values.
 
containerInstances - A space-separated list of container instance IDs or full Amazon Resource Name (ARN) entries.public UpdateContainerInstancesStateRequest withContainerInstances(Collection<String> containerInstances)
A space-separated list of container instance IDs or full Amazon Resource Name (ARN) entries.
containerInstances - A space-separated list of container instance IDs or full Amazon Resource Name (ARN) entries.public void setStatus(String status)
The container instance state with which to update the container instance.
status - The container instance state with which to update the container instance.ContainerInstanceStatuspublic String getStatus()
The container instance state with which to update the container instance.
ContainerInstanceStatuspublic UpdateContainerInstancesStateRequest withStatus(String status)
The container instance state with which to update the container instance.
status - The container instance state with which to update the container instance.ContainerInstanceStatuspublic void setStatus(ContainerInstanceStatus status)
The container instance state with which to update the container instance.
status - The container instance state with which to update the container instance.ContainerInstanceStatuspublic UpdateContainerInstancesStateRequest withStatus(ContainerInstanceStatus status)
The container instance state with which to update the container instance.
status - The container instance state with which to update the container instance.ContainerInstanceStatuspublic String toString()
toString in class ObjectObject.toString()public UpdateContainerInstancesStateRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.