@Generated(value="software.amazon.awssdk:codegen") public final class EncryptionFailureException extends SecretsManagerException implements ToCopyableBuilder<EncryptionFailureException.Builder,EncryptionFailureException>
Secrets Manager can't encrypt the protected secret text using the provided KMS key. Check that the customer master key (CMK) is available, enabled, and not in an invalid state. For more information, see How Key State Affects Use of a Customer Master Key.
Modifier and Type | Class and Description |
---|---|
static interface |
EncryptionFailureException.Builder |
Modifier and Type | Method and Description |
---|---|
static EncryptionFailureException.Builder |
builder() |
static Class<? extends EncryptionFailureException.Builder> |
serializableBuilderClass() |
EncryptionFailureException.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 EncryptionFailureException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<EncryptionFailureException.Builder,EncryptionFailureException>
toBuilder
in class SecretsManagerException
public static EncryptionFailureException.Builder builder()
public static Class<? extends EncryptionFailureException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.