Class DeleteServiceRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.ecs.model.EcsRequest
software.amazon.awssdk.services.ecs.model.DeleteServiceRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteServiceRequest.Builder,DeleteServiceRequest>
@Generated("software.amazon.awssdk:codegen")
public final class DeleteServiceRequest
extends EcsRequest
implements ToCopyableBuilder<DeleteServiceRequest.Builder,DeleteServiceRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DeleteServiceRequest.Builderbuilder()final Stringcluster()The short name or full Amazon Resource Name (ARN) of the cluster that hosts the service to delete.final booleanfinal booleanequalsBySdkFields(Object obj) final Booleanforce()Iftrue, allows you to delete a service even if it wasn't scaled down to zero tasks.final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends DeleteServiceRequest.Builder>final Stringservice()The name of the service to delete.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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.
- Returns:
- 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.
-
service
The name of the service to delete.
- Returns:
- The name of the service to delete.
-
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 theREPLICAscheduling strategy.- Returns:
- 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 theREPLICAscheduling strategy.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteServiceRequest.Builder,DeleteServiceRequest> - Specified by:
toBuilderin classEcsRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-