@Generated(value="software.amazon.awssdk:codegen") public final class IncorrectKeyException extends KmsException implements ToCopyableBuilder<IncorrectKeyException.Builder,IncorrectKeyException>
The request was rejected because the specified KMS key cannot decrypt the data. The KeyId in a
Decrypt request and the SourceKeyId in a ReEncrypt request must identify the same KMS key
that was used to encrypt the ciphertext.
| Modifier and Type | Class and Description |
|---|---|
static interface |
IncorrectKeyException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static IncorrectKeyException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends IncorrectKeyException.Builder> |
serializableBuilderClass() |
IncorrectKeyException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionextendedRequestId, requestId, statusCodecreate, retryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyequalsBySdkFieldspublic IncorrectKeyException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IncorrectKeyException.Builder,IncorrectKeyException>toBuilder in class KmsExceptionpublic static IncorrectKeyException.Builder builder()
public static Class<? extends IncorrectKeyException.Builder> serializableBuilderClass()
Copyright © 2023. All rights reserved.