@Generated(value="software.amazon.awssdk:codegen") public final class KmsInvalidStateException extends KmsException implements ToCopyableBuilder<KmsInvalidStateException.Builder,KmsInvalidStateException>
The request was rejected because the state of the specified resource is not valid for this request.
For more information about how key state affects the use of a CMK, see How Key State Affects Use of a Customer Master Key in the AWS Key Management Service Developer Guide.
Modifier and Type | Class and Description |
---|---|
static interface |
KmsInvalidStateException.Builder |
Modifier and Type | Method and Description |
---|---|
static KmsInvalidStateException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends KmsInvalidStateException.Builder> |
serializableBuilderClass() |
KmsInvalidStateException.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 KmsInvalidStateException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<KmsInvalidStateException.Builder,KmsInvalidStateException>
toBuilder
in class KmsException
public static KmsInvalidStateException.Builder builder()
public static Class<? extends KmsInvalidStateException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.