@Generated(value="software.amazon.awssdk:codegen") public final class CloudHsmClusterInUseException extends KmsException implements ToCopyableBuilder<CloudHsmClusterInUseException.Builder,CloudHsmClusterInUseException>
The request was rejected because the specified AWS CloudHSM cluster is already associated with a custom key store or it shares a backup history with a cluster that is associated with a custom key store. Each custom key store must be associated with a different AWS CloudHSM cluster.
Clusters that share a backup history have the same cluster certificate. To view the cluster certificate of a cluster, use the DescribeClusters operation.
Modifier and Type | Class and Description |
---|---|
static interface |
CloudHsmClusterInUseException.Builder |
Modifier and Type | Method and Description |
---|---|
static CloudHsmClusterInUseException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CloudHsmClusterInUseException.Builder> |
serializableBuilderClass() |
CloudHsmClusterInUseException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
extendedRequestId, requestId, statusCode
create, retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
equalsBySdkFields
public CloudHsmClusterInUseException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<CloudHsmClusterInUseException.Builder,CloudHsmClusterInUseException>
toBuilder
in class KmsException
public static CloudHsmClusterInUseException.Builder builder()
public static Class<? extends CloudHsmClusterInUseException.Builder> serializableBuilderClass()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.