Class AbstractAWSCloudHSMAsync
- java.lang.Object
-
- com.amazonaws.services.cloudhsm.AbstractAWSCloudHSM
-
- com.amazonaws.services.cloudhsm.AbstractAWSCloudHSMAsync
-
- All Implemented Interfaces:
AWSCloudHSM
,AWSCloudHSMAsync
public class AbstractAWSCloudHSMAsync extends AbstractAWSCloudHSM implements AWSCloudHSMAsync
Abstract implementation ofAWSCloudHSMAsync
. Convenient method forms pass through to the corresponding overload that takes a request object and anAsyncHandler
, which throws anUnsupportedOperationException
.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractAWSCloudHSMAsync()
-
Method Summary
-
Methods inherited from class com.amazonaws.services.cloudhsm.AbstractAWSCloudHSM
addTagsToResource, createHapg, createHsm, createLunaClient, deleteHapg, deleteHsm, deleteLunaClient, describeHapg, describeHsm, describeHsm, describeLunaClient, describeLunaClient, getCachedResponseMetadata, getConfig, listAvailableZones, listAvailableZones, listHapgs, listHapgs, listHsms, listHsms, listLunaClients, listLunaClients, listTagsForResource, modifyHapg, modifyHsm, modifyLunaClient, removeTagsFromResource, setEndpoint, setRegion, shutdown
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.amazonaws.services.cloudhsm.AWSCloudHSM
addTagsToResource, createHapg, createHsm, createLunaClient, deleteHapg, deleteHsm, deleteLunaClient, describeHapg, describeHsm, describeHsm, describeLunaClient, describeLunaClient, getCachedResponseMetadata, getConfig, listAvailableZones, listAvailableZones, listHapgs, listHapgs, listHsms, listHsms, listLunaClients, listLunaClients, listTagsForResource, modifyHapg, modifyHsm, modifyLunaClient, removeTagsFromResource, setEndpoint, setRegion, shutdown
-
-
-
-
Method Detail
-
addTagsToResourceAsync
public Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request)
Description copied from interface:AWSCloudHSMAsync
Adds or overwrites one or more tags for the specified AWS CloudHSM resource.
Each tag consists of a key and a value. Tag keys must be unique to each resource.
- Specified by:
addTagsToResourceAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the AddTagsToResource operation returned by the service.
-
addTagsToResourceAsync
public Future<AddTagsToResourceResult> addTagsToResourceAsync(AddTagsToResourceRequest request, AsyncHandler<AddTagsToResourceRequest,AddTagsToResourceResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Adds or overwrites one or more tags for the specified AWS CloudHSM resource.
Each tag consists of a key and a value. Tag keys must be unique to each resource.
- Specified by:
addTagsToResourceAsync
in interfaceAWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AddTagsToResource operation returned by the service.
-
createHapgAsync
public Future<CreateHapgResult> createHapgAsync(CreateHapgRequest request)
Description copied from interface:AWSCloudHSMAsync
Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.
- Specified by:
createHapgAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the CreateHapgRequest action.- Returns:
- A Java Future containing the result of the CreateHapg operation returned by the service.
-
createHapgAsync
public Future<CreateHapgResult> createHapgAsync(CreateHapgRequest request, AsyncHandler<CreateHapgRequest,CreateHapgResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.
- Specified by:
createHapgAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the CreateHapgRequest action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateHapg operation returned by the service.
-
createHsmAsync
public Future<CreateHsmResult> createHsmAsync(CreateHsmRequest request)
Description copied from interface:AWSCloudHSMAsync
Creates an uninitialized HSM instance.
There is an upfront fee charged for each HSM instance that you create with the CreateHsm operation. If you accidentally provision an HSM and want to request a refund, delete the instance using the DeleteHsm operation, go to the AWS Support Center, create a new case, and select Account and Billing Support.
It can take up to 20 minutes to create and provision an HSM. You can monitor the status of the HSM with the DescribeHsm operation. The HSM is ready to be initialized when the status changes to
RUNNING
.- Specified by:
createHsmAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the CreateHsm operation.- Returns:
- A Java Future containing the result of the CreateHsm operation returned by the service.
-
createHsmAsync
public Future<CreateHsmResult> createHsmAsync(CreateHsmRequest request, AsyncHandler<CreateHsmRequest,CreateHsmResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Creates an uninitialized HSM instance.
There is an upfront fee charged for each HSM instance that you create with the CreateHsm operation. If you accidentally provision an HSM and want to request a refund, delete the instance using the DeleteHsm operation, go to the AWS Support Center, create a new case, and select Account and Billing Support.
It can take up to 20 minutes to create and provision an HSM. You can monitor the status of the HSM with the DescribeHsm operation. The HSM is ready to be initialized when the status changes to
RUNNING
.- Specified by:
createHsmAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the CreateHsm operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateHsm operation returned by the service.
-
createLunaClientAsync
public Future<CreateLunaClientResult> createLunaClientAsync(CreateLunaClientRequest request)
Description copied from interface:AWSCloudHSMAsync
Creates an HSM client.
- Specified by:
createLunaClientAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the CreateLunaClient action.- Returns:
- A Java Future containing the result of the CreateLunaClient operation returned by the service.
-
createLunaClientAsync
public Future<CreateLunaClientResult> createLunaClientAsync(CreateLunaClientRequest request, AsyncHandler<CreateLunaClientRequest,CreateLunaClientResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Creates an HSM client.
- Specified by:
createLunaClientAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the CreateLunaClient action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateLunaClient operation returned by the service.
-
deleteHapgAsync
public Future<DeleteHapgResult> deleteHapgAsync(DeleteHapgRequest request)
Description copied from interface:AWSCloudHSMAsync
Deletes a high-availability partition group.
- Specified by:
deleteHapgAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the DeleteHapg action.- Returns:
- A Java Future containing the result of the DeleteHapg operation returned by the service.
-
deleteHapgAsync
public Future<DeleteHapgResult> deleteHapgAsync(DeleteHapgRequest request, AsyncHandler<DeleteHapgRequest,DeleteHapgResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Deletes a high-availability partition group.
- Specified by:
deleteHapgAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the DeleteHapg action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteHapg operation returned by the service.
-
deleteHsmAsync
public Future<DeleteHsmResult> deleteHsmAsync(DeleteHsmRequest request)
Description copied from interface:AWSCloudHSMAsync
Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered.
- Specified by:
deleteHsmAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the DeleteHsm operation.- Returns:
- A Java Future containing the result of the DeleteHsm operation returned by the service.
-
deleteHsmAsync
public Future<DeleteHsmResult> deleteHsmAsync(DeleteHsmRequest request, AsyncHandler<DeleteHsmRequest,DeleteHsmResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered.
- Specified by:
deleteHsmAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the DeleteHsm operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteHsm operation returned by the service.
-
deleteLunaClientAsync
public Future<DeleteLunaClientResult> deleteLunaClientAsync(DeleteLunaClientRequest request)
Description copied from interface:AWSCloudHSMAsync
Deletes a client.
- Specified by:
deleteLunaClientAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the DeleteLunaClient operation returned by the service.
-
deleteLunaClientAsync
public Future<DeleteLunaClientResult> deleteLunaClientAsync(DeleteLunaClientRequest request, AsyncHandler<DeleteLunaClientRequest,DeleteLunaClientResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Deletes a client.
- Specified by:
deleteLunaClientAsync
in interfaceAWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteLunaClient operation returned by the service.
-
describeHapgAsync
public Future<DescribeHapgResult> describeHapgAsync(DescribeHapgRequest request)
Description copied from interface:AWSCloudHSMAsync
Retrieves information about a high-availability partition group.
- Specified by:
describeHapgAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the DescribeHapg action.- Returns:
- A Java Future containing the result of the DescribeHapg operation returned by the service.
-
describeHapgAsync
public Future<DescribeHapgResult> describeHapgAsync(DescribeHapgRequest request, AsyncHandler<DescribeHapgRequest,DescribeHapgResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Retrieves information about a high-availability partition group.
- Specified by:
describeHapgAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the DescribeHapg action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeHapg operation returned by the service.
-
describeHsmAsync
public Future<DescribeHsmResult> describeHsmAsync(DescribeHsmRequest request)
Description copied from interface:AWSCloudHSMAsync
Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
- Specified by:
describeHsmAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the DescribeHsm operation.- Returns:
- A Java Future containing the result of the DescribeHsm operation returned by the service.
-
describeHsmAsync
public Future<DescribeHsmResult> describeHsmAsync(DescribeHsmRequest request, AsyncHandler<DescribeHsmRequest,DescribeHsmResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
- Specified by:
describeHsmAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the DescribeHsm operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeHsm operation returned by the service.
-
describeHsmAsync
public Future<DescribeHsmResult> describeHsmAsync()
Simplified method form for invoking the DescribeHsm operation.- Specified by:
describeHsmAsync
in interfaceAWSCloudHSMAsync
- See Also:
describeHsmAsync(DescribeHsmRequest)
-
describeHsmAsync
public Future<DescribeHsmResult> describeHsmAsync(AsyncHandler<DescribeHsmRequest,DescribeHsmResult> asyncHandler)
Simplified method form for invoking the DescribeHsm operation with an AsyncHandler.- Specified by:
describeHsmAsync
in interfaceAWSCloudHSMAsync
- See Also:
describeHsmAsync(DescribeHsmRequest, com.amazonaws.handlers.AsyncHandler)
-
describeLunaClientAsync
public Future<DescribeLunaClientResult> describeLunaClientAsync(DescribeLunaClientRequest request)
Description copied from interface:AWSCloudHSMAsync
Retrieves information about an HSM client.
- Specified by:
describeLunaClientAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the DescribeLunaClient operation returned by the service.
-
describeLunaClientAsync
public Future<DescribeLunaClientResult> describeLunaClientAsync(DescribeLunaClientRequest request, AsyncHandler<DescribeLunaClientRequest,DescribeLunaClientResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Retrieves information about an HSM client.
- Specified by:
describeLunaClientAsync
in interfaceAWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeLunaClient operation returned by the service.
-
describeLunaClientAsync
public Future<DescribeLunaClientResult> describeLunaClientAsync()
Simplified method form for invoking the DescribeLunaClient operation.- Specified by:
describeLunaClientAsync
in interfaceAWSCloudHSMAsync
- See Also:
describeLunaClientAsync(DescribeLunaClientRequest)
-
describeLunaClientAsync
public Future<DescribeLunaClientResult> describeLunaClientAsync(AsyncHandler<DescribeLunaClientRequest,DescribeLunaClientResult> asyncHandler)
Simplified method form for invoking the DescribeLunaClient operation with an AsyncHandler.- Specified by:
describeLunaClientAsync
in interfaceAWSCloudHSMAsync
- See Also:
describeLunaClientAsync(DescribeLunaClientRequest, com.amazonaws.handlers.AsyncHandler)
-
getConfigAsync
public Future<GetConfigResult> getConfigAsync(GetConfigRequest request)
Description copied from interface:AWSCloudHSMAsync
Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.
- Specified by:
getConfigAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the GetConfig operation returned by the service.
-
getConfigAsync
public Future<GetConfigResult> getConfigAsync(GetConfigRequest request, AsyncHandler<GetConfigRequest,GetConfigResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.
- Specified by:
getConfigAsync
in interfaceAWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetConfig operation returned by the service.
-
listAvailableZonesAsync
public Future<ListAvailableZonesResult> listAvailableZonesAsync(ListAvailableZonesRequest request)
Description copied from interface:AWSCloudHSMAsync
Lists the Availability Zones that have available AWS CloudHSM capacity.
- Specified by:
listAvailableZonesAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the ListAvailableZones action.- Returns:
- A Java Future containing the result of the ListAvailableZones operation returned by the service.
-
listAvailableZonesAsync
public Future<ListAvailableZonesResult> listAvailableZonesAsync(ListAvailableZonesRequest request, AsyncHandler<ListAvailableZonesRequest,ListAvailableZonesResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Lists the Availability Zones that have available AWS CloudHSM capacity.
- Specified by:
listAvailableZonesAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the ListAvailableZones action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListAvailableZones operation returned by the service.
-
listAvailableZonesAsync
public Future<ListAvailableZonesResult> listAvailableZonesAsync()
Simplified method form for invoking the ListAvailableZones operation.- Specified by:
listAvailableZonesAsync
in interfaceAWSCloudHSMAsync
- See Also:
listAvailableZonesAsync(ListAvailableZonesRequest)
-
listAvailableZonesAsync
public Future<ListAvailableZonesResult> listAvailableZonesAsync(AsyncHandler<ListAvailableZonesRequest,ListAvailableZonesResult> asyncHandler)
Simplified method form for invoking the ListAvailableZones operation with an AsyncHandler.- Specified by:
listAvailableZonesAsync
in interfaceAWSCloudHSMAsync
- See Also:
listAvailableZonesAsync(ListAvailableZonesRequest, com.amazonaws.handlers.AsyncHandler)
-
listHapgsAsync
public Future<ListHapgsResult> listHapgsAsync(ListHapgsRequest request)
Description copied from interface:AWSCloudHSMAsync
Lists the high-availability partition groups for the account.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHapgs to retrieve the next set of items.
- Specified by:
listHapgsAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the ListHapgs operation returned by the service.
-
listHapgsAsync
public Future<ListHapgsResult> listHapgsAsync(ListHapgsRequest request, AsyncHandler<ListHapgsRequest,ListHapgsResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Lists the high-availability partition groups for the account.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHapgs to retrieve the next set of items.
- Specified by:
listHapgsAsync
in interfaceAWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListHapgs operation returned by the service.
-
listHapgsAsync
public Future<ListHapgsResult> listHapgsAsync()
Simplified method form for invoking the ListHapgs operation.- Specified by:
listHapgsAsync
in interfaceAWSCloudHSMAsync
- See Also:
listHapgsAsync(ListHapgsRequest)
-
listHapgsAsync
public Future<ListHapgsResult> listHapgsAsync(AsyncHandler<ListHapgsRequest,ListHapgsResult> asyncHandler)
Simplified method form for invoking the ListHapgs operation with an AsyncHandler.- Specified by:
listHapgsAsync
in interfaceAWSCloudHSMAsync
- See Also:
listHapgsAsync(ListHapgsRequest, com.amazonaws.handlers.AsyncHandler)
-
listHsmsAsync
public Future<ListHsmsResult> listHsmsAsync(ListHsmsRequest request)
Description copied from interface:AWSCloudHSMAsync
Retrieves the identifiers of all of the HSMs provisioned for the current customer.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHsms to retrieve the next set of items.
- Specified by:
listHsmsAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the ListHsms operation returned by the service.
-
listHsmsAsync
public Future<ListHsmsResult> listHsmsAsync(ListHsmsRequest request, AsyncHandler<ListHsmsRequest,ListHsmsResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Retrieves the identifiers of all of the HSMs provisioned for the current customer.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListHsms to retrieve the next set of items.
- Specified by:
listHsmsAsync
in interfaceAWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListHsms operation returned by the service.
-
listHsmsAsync
public Future<ListHsmsResult> listHsmsAsync()
Simplified method form for invoking the ListHsms operation.- Specified by:
listHsmsAsync
in interfaceAWSCloudHSMAsync
- See Also:
listHsmsAsync(ListHsmsRequest)
-
listHsmsAsync
public Future<ListHsmsResult> listHsmsAsync(AsyncHandler<ListHsmsRequest,ListHsmsResult> asyncHandler)
Simplified method form for invoking the ListHsms operation with an AsyncHandler.- Specified by:
listHsmsAsync
in interfaceAWSCloudHSMAsync
- See Also:
listHsmsAsync(ListHsmsRequest, com.amazonaws.handlers.AsyncHandler)
-
listLunaClientsAsync
public Future<ListLunaClientsResult> listLunaClientsAsync(ListLunaClientsRequest request)
Description copied from interface:AWSCloudHSMAsync
Lists all of the clients.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListLunaClients to retrieve the next set of items.
- Specified by:
listLunaClientsAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the ListLunaClients operation returned by the service.
-
listLunaClientsAsync
public Future<ListLunaClientsResult> listLunaClientsAsync(ListLunaClientsRequest request, AsyncHandler<ListLunaClientsRequest,ListLunaClientsResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Lists all of the clients.
This operation supports pagination with the use of the NextToken member. If more results are available, the NextToken member of the response contains a token that you pass in the next call to ListLunaClients to retrieve the next set of items.
- Specified by:
listLunaClientsAsync
in interfaceAWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListLunaClients operation returned by the service.
-
listLunaClientsAsync
public Future<ListLunaClientsResult> listLunaClientsAsync()
Simplified method form for invoking the ListLunaClients operation.- Specified by:
listLunaClientsAsync
in interfaceAWSCloudHSMAsync
- See Also:
listLunaClientsAsync(ListLunaClientsRequest)
-
listLunaClientsAsync
public Future<ListLunaClientsResult> listLunaClientsAsync(AsyncHandler<ListLunaClientsRequest,ListLunaClientsResult> asyncHandler)
Simplified method form for invoking the ListLunaClients operation with an AsyncHandler.- Specified by:
listLunaClientsAsync
in interfaceAWSCloudHSMAsync
- See Also:
listLunaClientsAsync(ListLunaClientsRequest, com.amazonaws.handlers.AsyncHandler)
-
listTagsForResourceAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
Description copied from interface:AWSCloudHSMAsync
Returns a list of all tags for the specified AWS CloudHSM resource.
- Specified by:
listTagsForResourceAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
-
listTagsForResourceAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Returns a list of all tags for the specified AWS CloudHSM resource.
- Specified by:
listTagsForResourceAsync
in interfaceAWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
-
modifyHapgAsync
public Future<ModifyHapgResult> modifyHapgAsync(ModifyHapgRequest request)
Description copied from interface:AWSCloudHSMAsync
Modifies an existing high-availability partition group.
- Specified by:
modifyHapgAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the ModifyHapg operation returned by the service.
-
modifyHapgAsync
public Future<ModifyHapgResult> modifyHapgAsync(ModifyHapgRequest request, AsyncHandler<ModifyHapgRequest,ModifyHapgResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Modifies an existing high-availability partition group.
- Specified by:
modifyHapgAsync
in interfaceAWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ModifyHapg operation returned by the service.
-
modifyHsmAsync
public Future<ModifyHsmResult> modifyHsmAsync(ModifyHsmRequest request)
Description copied from interface:AWSCloudHSMAsync
Modifies an HSM.
This operation can result in the HSM being offline for up to 15 minutes while the AWS CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure that your AWS CloudHSM service is configured for high availability, and consider executing this operation during a maintenance window.
- Specified by:
modifyHsmAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the ModifyHsm operation.- Returns:
- A Java Future containing the result of the ModifyHsm operation returned by the service.
-
modifyHsmAsync
public Future<ModifyHsmResult> modifyHsmAsync(ModifyHsmRequest request, AsyncHandler<ModifyHsmRequest,ModifyHsmResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Modifies an HSM.
This operation can result in the HSM being offline for up to 15 minutes while the AWS CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure that your AWS CloudHSM service is configured for high availability, and consider executing this operation during a maintenance window.
- Specified by:
modifyHsmAsync
in interfaceAWSCloudHSMAsync
- Parameters:
request
- Contains the inputs for the ModifyHsm operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ModifyHsm operation returned by the service.
-
modifyLunaClientAsync
public Future<ModifyLunaClientResult> modifyLunaClientAsync(ModifyLunaClientRequest request)
Description copied from interface:AWSCloudHSMAsync
Modifies the certificate used by the client.
This action can potentially start a workflow to install the new certificate on the client's HSMs.
- Specified by:
modifyLunaClientAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the ModifyLunaClient operation returned by the service.
-
modifyLunaClientAsync
public Future<ModifyLunaClientResult> modifyLunaClientAsync(ModifyLunaClientRequest request, AsyncHandler<ModifyLunaClientRequest,ModifyLunaClientResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Modifies the certificate used by the client.
This action can potentially start a workflow to install the new certificate on the client's HSMs.
- Specified by:
modifyLunaClientAsync
in interfaceAWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ModifyLunaClient operation returned by the service.
-
removeTagsFromResourceAsync
public Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request)
Description copied from interface:AWSCloudHSMAsync
Removes one or more tags from the specified AWS CloudHSM resource.
To remove a tag, specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.
- Specified by:
removeTagsFromResourceAsync
in interfaceAWSCloudHSMAsync
- Returns:
- A Java Future containing the result of the RemoveTagsFromResource operation returned by the service.
-
removeTagsFromResourceAsync
public Future<RemoveTagsFromResourceResult> removeTagsFromResourceAsync(RemoveTagsFromResourceRequest request, AsyncHandler<RemoveTagsFromResourceRequest,RemoveTagsFromResourceResult> asyncHandler)
Description copied from interface:AWSCloudHSMAsync
Removes one or more tags from the specified AWS CloudHSM resource.
To remove a tag, specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.
- Specified by:
removeTagsFromResourceAsync
in interfaceAWSCloudHSMAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the RemoveTagsFromResource operation returned by the service.
-
-