@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 |
equalsBySdkFields(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()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 final String service()
The name of the service to delete.
public final 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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.