@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() |
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 list of container instance IDs or full 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 list of container instance IDs or full 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 list of container instance IDs or full ARN entries.
|
UpdateContainerInstancesStateRequest |
withContainerInstances(String... containerInstances)
A list of container instance IDs or full 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, copyBaseTo, 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 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 list of container instance IDs or full ARN entries.
public void setContainerInstances(Collection<String> containerInstances)
A list of container instance IDs or full ARN entries.
containerInstances
- A list of container instance IDs or full ARN entries.public UpdateContainerInstancesStateRequest withContainerInstances(String... containerInstances)
A list of container instance IDs or full 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 list of container instance IDs or full ARN entries.public UpdateContainerInstancesStateRequest withContainerInstances(Collection<String> containerInstances)
A list of container instance IDs or full ARN entries.
containerInstances
- A list of container instance IDs or full 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.ContainerInstanceStatus
public String getStatus()
The container instance state with which to update the container instance.
ContainerInstanceStatus
public 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.ContainerInstanceStatus
public 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.ContainerInstanceStatus
public 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.ContainerInstanceStatus
public String toString()
toString
in class Object
Object.toString()
public UpdateContainerInstancesStateRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2018. All rights reserved.