@Generated(value="software.amazon.awssdk:codegen") public final class IncorrectKeyException extends KmsException implements ToCopyableBuilder<IncorrectKeyException.Builder,IncorrectKeyException>
The request was rejected because the specified CMK cannot decrypt the data. The KeyId
in a
Decrypt request and the SourceKeyId
in a ReEncrypt request must identify the same CMK 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, isThrottlingException
extendedRequestId, 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
equalsBySdkFields
public IncorrectKeyException.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<IncorrectKeyException.Builder,IncorrectKeyException>
toBuilder
in class KmsException
public static IncorrectKeyException.Builder builder()
public static Class<? extends IncorrectKeyException.Builder> serializableBuilderClass()
Copyright © 2020. All rights reserved.