@Generated(value="software.amazon.awssdk:codegen") public final class CustomKeyStoreHasCmKsException extends KmsException implements ToCopyableBuilder<CustomKeyStoreHasCmKsException.Builder,CustomKeyStoreHasCmKsException>
The request was rejected because the custom key store contains AWS KMS customer master keys (CMKs). After verifying that you do not need to use the CMKs, use the ScheduleKeyDeletion operation to delete the CMKs. After they are deleted, you can delete the custom key store.
Modifier and Type | Class and Description |
---|---|
static interface |
CustomKeyStoreHasCmKsException.Builder |
Modifier and Type | Method and Description |
---|---|
static CustomKeyStoreHasCmKsException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CustomKeyStoreHasCmKsException.Builder> |
serializableBuilderClass() |
CustomKeyStoreHasCmKsException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
requestId, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public CustomKeyStoreHasCmKsException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<CustomKeyStoreHasCmKsException.Builder,CustomKeyStoreHasCmKsException>
toBuilder
in class KmsException
public static CustomKeyStoreHasCmKsException.Builder builder()
public static Class<? extends CustomKeyStoreHasCmKsException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.