@Generated(value="software.amazon.awssdk:codegen") public final class KmsKeyNotFoundException extends CloudTrailException implements ToCopyableBuilder<KmsKeyNotFoundException.Builder,KmsKeyNotFoundException>
This exception is thrown when the KMS key does not exist, or when the S3 bucket and the KMS key are not in the same region.
Modifier and Type | Class and Description |
---|---|
static interface |
KmsKeyNotFoundException.Builder |
Modifier and Type | Method and Description |
---|---|
static KmsKeyNotFoundException.Builder |
builder() |
static Class<? extends KmsKeyNotFoundException.Builder> |
serializableBuilderClass() |
KmsKeyNotFoundException.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 KmsKeyNotFoundException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<KmsKeyNotFoundException.Builder,KmsKeyNotFoundException>
toBuilder
in class CloudTrailException
public static KmsKeyNotFoundException.Builder builder()
public static Class<? extends KmsKeyNotFoundException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.