public class DisconnectCustomKeyStoreRequest extends AmazonWebServiceRequest implements Serializable
Disconnects the custom key store from its associated AWS CloudHSM cluster. While a custom key store is disconnected, you can manage the custom key store and its customer master keys (CMKs), but you cannot create or use CMKs in the custom key store. You can reconnect the custom key store at any time.
While a custom key store is disconnected, all attempts to create customer master keys (CMKs) in the custom key store or to use existing CMKs in cryptographic operations will fail. This action can prevent users from storing and accessing sensitive data.
To find the connection state of a custom key store, use the DescribeCustomKeyStores operation. To reconnect a custom key store, use the ConnectCustomKeyStore operation.
If the operation succeeds, it returns a JSON object with no properties.
This operation is part of the Custom Key Store feature feature in AWS KMS, which combines the convenience and extensive integration of AWS KMS with the isolation and control of a single-tenant key store.
| Constructor and Description |
|---|
DisconnectCustomKeyStoreRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCustomKeyStoreId()
Enter the ID of the custom key store you want to disconnect.
|
int |
hashCode() |
void |
setCustomKeyStoreId(String customKeyStoreId)
Enter the ID of the custom key store you want to disconnect.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DisconnectCustomKeyStoreRequest |
withCustomKeyStoreId(String customKeyStoreId)
Enter the ID of the custom key store you want to disconnect.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getCustomKeyStoreId()
Enter the ID of the custom key store you want to disconnect. To find the ID of a custom key store, use the DescribeCustomKeyStores operation.
Constraints:
Length: 1 - 64
Enter the ID of the custom key store you want to disconnect. To find the ID of a custom key store, use the DescribeCustomKeyStores operation.
public void setCustomKeyStoreId(String customKeyStoreId)
Enter the ID of the custom key store you want to disconnect. To find the ID of a custom key store, use the DescribeCustomKeyStores operation.
Constraints:
Length: 1 - 64
customKeyStoreId - Enter the ID of the custom key store you want to disconnect. To find the ID of a custom key store, use the DescribeCustomKeyStores operation.
public DisconnectCustomKeyStoreRequest withCustomKeyStoreId(String customKeyStoreId)
Enter the ID of the custom key store you want to disconnect. To find the ID of a custom key store, use the DescribeCustomKeyStores operation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
customKeyStoreId - Enter the ID of the custom key store you want to disconnect. To find the ID of a custom key store, use the DescribeCustomKeyStores operation.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.