Interface DeleteServiceRequest.Builder

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

public static interface DeleteServiceRequest.Builder extends EcsRequest.Builder, SdkPojo, CopyableBuilder<DeleteServiceRequest.Builder,DeleteServiceRequest>
  • Method Details

    • cluster

      The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete. 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 service to delete. 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.
    • service

      The name of the service to delete.

      Parameters:
      service - The name of the service to delete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • force

      If true, allows you to delete a service even if it wasn't scaled down to zero tasks. It's only necessary to use this if the service uses the REPLICA scheduling strategy.

      Parameters:
      force - If true, allows you to delete a service even if it wasn't scaled down to zero tasks. It's only necessary to use this if the service uses the REPLICA scheduling strategy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DeleteServiceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.