@Generated(value="software.amazon.awssdk:codegen") public final class IncorrectKeyMaterialException extends KmsException implements ToCopyableBuilder<IncorrectKeyMaterialException.Builder,IncorrectKeyMaterialException>
The request was rejected because the key material in the request is, expired, invalid, or is not the same key material that was previously imported into this customer master key (CMK).
Modifier and Type | Class and Description |
---|---|
static interface |
IncorrectKeyMaterialException.Builder |
Modifier and Type | Method and Description |
---|---|
static IncorrectKeyMaterialException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends IncorrectKeyMaterialException.Builder> |
serializableBuilderClass() |
IncorrectKeyMaterialException.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
equalsBySdkFields
public IncorrectKeyMaterialException.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<IncorrectKeyMaterialException.Builder,IncorrectKeyMaterialException>
toBuilder
in class KmsException
public static IncorrectKeyMaterialException.Builder builder()
public static Class<? extends IncorrectKeyMaterialException.Builder> serializableBuilderClass()
Copyright © 2020. All rights reserved.