Interface UpdateContainerInstancesStateRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<UpdateContainerInstancesStateRequest.Builder,UpdateContainerInstancesStateRequest>, EcsRequest.Builder, SdkBuilder<UpdateContainerInstancesStateRequest.Builder,UpdateContainerInstancesStateRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
UpdateContainerInstancesStateRequest

  • Method Details

    • 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerInstances

      UpdateContainerInstancesStateRequest.Builder containerInstances(Collection<String> containerInstances)

      A list of up to 10 container instance IDs or full ARN entries.

      Parameters:
      containerInstances - A list of up to 10 container instance IDs or full ARN entries.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerInstances

      UpdateContainerInstancesStateRequest.Builder containerInstances(String... containerInstances)

      A list of up to 10 container instance IDs or full ARN entries.

      Parameters:
      containerInstances - A list of up to 10 container instance IDs or full ARN entries.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The container instance state to update the container instance with. The only valid values for this action are ACTIVE and DRAINING. A container instance can only be updated to DRAINING status once it has reached an ACTIVE state. If a container instance is in REGISTERING, DEREGISTERING, or REGISTRATION_FAILED state you can describe the container instance but can't update the container instance state.

      Parameters:
      status - The container instance state to update the container instance with. The only valid values for this action are ACTIVE and DRAINING. A container instance can only be updated to DRAINING status once it has reached an ACTIVE state. If a container instance is in REGISTERING, DEREGISTERING, or REGISTRATION_FAILED state you can describe the container instance but can't update the container instance state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The container instance state to update the container instance with. The only valid values for this action are ACTIVE and DRAINING. A container instance can only be updated to DRAINING status once it has reached an ACTIVE state. If a container instance is in REGISTERING, DEREGISTERING, or REGISTRATION_FAILED state you can describe the container instance but can't update the container instance state.

      Parameters:
      status - The container instance state to update the container instance with. The only valid values for this action are ACTIVE and DRAINING. A container instance can only be updated to DRAINING status once it has reached an ACTIVE state. If a container instance is in REGISTERING, DEREGISTERING, or REGISTRATION_FAILED state you can describe the container instance but can't update the container instance state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
    • overrideConfiguration

      Specified by:
      overrideConfiguration in interface AwsRequest.Builder