Serializable
, ToCopyableBuilder<KMSInvalidStateException.Builder,KMSInvalidStateException>
@Generated("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 | Description |
---|---|---|
static interface |
KMSInvalidStateException.Builder |
AmazonServiceException.ErrorType
Modifier and Type | Method | 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.
|
isRetryable
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
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.