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 has not been scaled down to zero tasks. |
DeleteServiceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DeleteServiceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
DeleteServiceRequest.Builder |
service(String service)
The name of the service to delete.
|
buildoverrideConfigurationcopyapplyMutation, 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 has not been scaled down to zero tasks. It is
only necessary to use this if the service is using the REPLICA scheduling strategy.
force - If true, allows you to delete a service even if it has not been scaled down to zero
tasks. It is only necessary to use this if the service is using the REPLICA scheduling
strategy.DeleteServiceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.DeleteServiceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.