@Generated(value="software.amazon.awssdk:codegen") public class ClusterContainsServicesException extends ECSException implements ToCopyableBuilder<ClusterContainsServicesException.Builder,ClusterContainsServicesException>
You cannot delete a cluster that contains services. You must first update the service to reduce its desired task count to 0 and then delete the service. For more information, see UpdateService and DeleteService.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ClusterContainsServicesException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ClusterContainsServicesException.Builder |
builder() |
static Class<? extends ClusterContainsServicesException.Builder> |
serializableBuilderClass() |
ClusterContainsServicesException.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
additionalThrottlingCondition, isClockSkewExceptionerrorCode, errorCode, errorMessage, errorMessage, errorType, errorType, getMessage, headers, headers, isThrottlingException, rawResponse, rawResponse, requestId, requestId, serviceName, serviceName, statusCode, statusCoderetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcopypublic ClusterContainsServicesException.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ClusterContainsServicesException.Builder,ClusterContainsServicesException>public static ClusterContainsServicesException.Builder builder()
public static Class<? extends ClusterContainsServicesException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.