@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.
|
errorCode, errorCode, errorMessage, errorMessage, errorType, errorType, getMessage, headers, headers, rawResponse, rawResponse, requestId, requestId, serviceName, serviceName, statusCode, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public ClusterContainsServicesException.Builder toBuilder()
ToCopyableBuilder
toBuilder
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.