@Generated(value="software.amazon.awssdk:codegen") public final class ExpiredImportTokenException extends KmsException implements ToCopyableBuilder<ExpiredImportTokenException.Builder,ExpiredImportTokenException>
The request was rejected because the provided import token is expired. Use GetParametersForImport to get a new import token and public key, use the new public key to encrypt the key material, and then try the request again.
Modifier and Type | Class and Description |
---|---|
static interface |
ExpiredImportTokenException.Builder |
Modifier and Type | Method and Description |
---|---|
static ExpiredImportTokenException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExpiredImportTokenException.Builder> |
serializableBuilderClass() |
ExpiredImportTokenException.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 ExpiredImportTokenException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<ExpiredImportTokenException.Builder,ExpiredImportTokenException>
toBuilder
in class KmsException
public static ExpiredImportTokenException.Builder builder()
public static Class<? extends ExpiredImportTokenException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.