@Generated(value="software.amazon.awssdk:codegen") public final class CloudHsmClusterNotRelatedException extends KmsException implements ToCopyableBuilder<CloudHsmClusterNotRelatedException.Builder,CloudHsmClusterNotRelatedException>
The request was rejected because the specified AWS CloudHSM cluster has a different cluster certificate than the original cluster. You cannot use the operation to specify an unrelated cluster.
Specify a cluster that shares a backup history with the original cluster. This includes clusters that were created from a backup of the current cluster, and clusters that were created from the same backup that produced the current 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 |
CloudHsmClusterNotRelatedException.Builder |
Modifier and Type | Method and Description |
---|---|
static CloudHsmClusterNotRelatedException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CloudHsmClusterNotRelatedException.Builder> |
serializableBuilderClass() |
CloudHsmClusterNotRelatedException.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 CloudHsmClusterNotRelatedException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<CloudHsmClusterNotRelatedException.Builder,CloudHsmClusterNotRelatedException>
toBuilder
in class KmsException
public static CloudHsmClusterNotRelatedException.Builder builder()
public static Class<? extends CloudHsmClusterNotRelatedException.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.