@Generated(value="software.amazon.awssdk:codegen") public final class DeleteServiceRequest extends EcsRequest implements ToCopyableBuilder<DeleteServiceRequest.Builder,DeleteServiceRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteServiceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DeleteServiceRequest.Builder |
builder() |
String |
cluster()
The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete.
|
boolean |
equals(Object obj) |
Boolean |
force()
If
true, allows you to delete a service even if it has not been scaled down to zero tasks. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteServiceRequest.Builder> |
serializableBuilderClass() |
String |
service()
The name of the service to delete.
|
DeleteServiceRequest.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 service to delete. If you do not specify a cluster, the default cluster is assumed.
public String service()
The name of the service to delete.
public 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.
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.public DeleteServiceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeleteServiceRequest.Builder,DeleteServiceRequest>toBuilder in class EcsRequestpublic static DeleteServiceRequest.Builder builder()
public static Class<? extends DeleteServiceRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.