@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() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends EncryptionFailureException.Builder> |
serializableBuilderClass() |
EncryptionFailureException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
requestId, statusCode
create, retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public EncryptionFailureException.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<EncryptionFailureException.Builder,EncryptionFailureException>
toBuilder
in class SecretsManagerException
public static EncryptionFailureException.Builder builder()
public static Class<? extends EncryptionFailureException.Builder> serializableBuilderClass()
Copyright © 2019. All rights reserved.