@Generated(value="software.amazon.awssdk:codegen") public 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() |
static Class<? extends KMSInvalidStateException.Builder> |
serializableBuilderClass() |
KMSInvalidStateException.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
errorCode, errorCode, errorMessage, errorMessage, errorType, errorType, getMessage, headers, headers, rawResponse, rawResponse, requestId, requestId, serviceName, serviceName, statusCode, 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<KMSInvalidStateException.Builder,KMSInvalidStateException>
public static KMSInvalidStateException.Builder builder()
public static Class<? extends KMSInvalidStateException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.