@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()
Create a  
AwsServiceException.Builder initialized with the properties of this AwsServiceException. | 
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionrequestId, statusCoderetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitcopypublic EncryptionFailureException.Builder toBuilder()
AwsServiceExceptionAwsServiceException.Builder initialized with the properties of this AwsServiceException.toBuilder in interface ToCopyableBuilder<EncryptionFailureException.Builder,EncryptionFailureException>toBuilder in class SecretsManagerExceptionpublic static EncryptionFailureException.Builder builder()
public static Class<? extends EncryptionFailureException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.