public static interface DeleteServiceRequest.Builder extends EcsRequest.Builder, SdkPojo, CopyableBuilder<DeleteServiceRequest.Builder,DeleteServiceRequest>
| Modifier and Type | Method and Description |
|---|---|
DeleteServiceRequest.Builder |
cluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete.
|
DeleteServiceRequest.Builder |
force(Boolean force)
If
true, allows you to delete a service even if it wasn't scaled down to zero tasks. |
DeleteServiceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DeleteServiceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
DeleteServiceRequest.Builder |
service(String service)
The name of the service to delete.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildDeleteServiceRequest.Builder cluster(String 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.
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.DeleteServiceRequest.Builder service(String service)
The name of the service to delete.
service - The name of the service to delete.DeleteServiceRequest.Builder force(Boolean 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.
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.DeleteServiceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderDeleteServiceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.