@Generated(value="software.amazon.awssdk:codegen") public final class IncorrectKeyMaterialException extends KmsException implements ToCopyableBuilder<IncorrectKeyMaterialException.Builder,IncorrectKeyMaterialException>
The request was rejected because the provided key material is 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() |
static Class<? extends IncorrectKeyMaterialException.Builder> |
serializableBuilderClass() |
IncorrectKeyMaterialException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
requestId, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public IncorrectKeyMaterialException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<IncorrectKeyMaterialException.Builder,IncorrectKeyMaterialException>
toBuilder
in class KmsException
public static IncorrectKeyMaterialException.Builder builder()
public static Class<? extends IncorrectKeyMaterialException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.