@Generated(value="software.amazon.awssdk:codegen") public final class UpdateContainerInstancesStateRequest extends EcsRequest implements ToCopyableBuilder<UpdateContainerInstancesStateRequest.Builder,UpdateContainerInstancesStateRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateContainerInstancesStateRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateContainerInstancesStateRequest.Builder |
builder() |
String |
cluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container instance to update.
|
List<String> |
containerInstances()
A list of container instance IDs or full ARN entries.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateContainerInstancesStateRequest.Builder> |
serializableBuilderClass() |
ContainerInstanceStatus |
status()
The container instance state with which to update the container instance.
|
String |
statusAsString()
The container instance state with which to update the container instance.
|
UpdateContainerInstancesStateRequest.Builder |
toBuilder() |
String |
toString() |
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
public List<String> containerInstances()
A list of container instance IDs or full ARN entries.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ContainerInstanceStatus status()
The container instance state with which to update the container instance.
If the service returns an enum value that is not available in the current SDK version, status will
return ContainerInstanceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
ContainerInstanceStatuspublic String statusAsString()
The container instance state with which to update the container instance.
If the service returns an enum value that is not available in the current SDK version, status will
return ContainerInstanceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
ContainerInstanceStatuspublic UpdateContainerInstancesStateRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateContainerInstancesStateRequest.Builder,UpdateContainerInstancesStateRequest>toBuilder in class EcsRequestpublic static UpdateContainerInstancesStateRequest.Builder builder()
public static Class<? extends UpdateContainerInstancesStateRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.