@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSBackupGatewayAsyncClient extends AWSBackupGatewayClient implements AWSBackupGatewayAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Backup gateway connects Backup to your hypervisor, so you can create, store, and restore backups of your virtual machines (VMs) anywhere, whether on-premises or in the VMware Cloud (VMC) on Amazon Web Services.
Add on-premises resources by connecting to a hypervisor through a gateway. Backup will automatically discover the resources in your hypervisor.
Use Backup to assign virtual or on-premises resources to a backup plan, or run on-demand backups. Once you have backed up your resources, you can view them and restore them like any resource supported by Backup.
To download the Amazon Web Services software to get started, navigate to the Backup console, choose Gateways, then choose Create gateway.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIXassociateGatewayToServer, builder, createGateway, deleteGateway, deleteHypervisor, disassociateGatewayFromServer, getCachedResponseMetadata, importHypervisorConfiguration, listGateways, listHypervisors, listTagsForResource, listVirtualMachines, putMaintenanceStartTime, tagResource, testHypervisorConfiguration, untagResource, updateGatewayInformation, updateHypervisoraddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitassociateGatewayToServer, createGateway, deleteGateway, deleteHypervisor, disassociateGatewayFromServer, getCachedResponseMetadata, importHypervisorConfiguration, listGateways, listHypervisors, listTagsForResource, listVirtualMachines, putMaintenanceStartTime, tagResource, testHypervisorConfiguration, untagResource, updateGatewayInformation, updateHypervisorpublic static AWSBackupGatewayAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateGatewayToServerResult> associateGatewayToServerAsync(AssociateGatewayToServerRequest request)
AWSBackupGatewayAsyncAssociates a backup gateway with your server. After you complete the association process, you can back up and restore your VMs through the gateway.
associateGatewayToServerAsync in interface AWSBackupGatewayAsyncpublic Future<AssociateGatewayToServerResult> associateGatewayToServerAsync(AssociateGatewayToServerRequest request, AsyncHandler<AssociateGatewayToServerRequest,AssociateGatewayToServerResult> asyncHandler)
AWSBackupGatewayAsyncAssociates a backup gateway with your server. After you complete the association process, you can back up and restore your VMs through the gateway.
associateGatewayToServerAsync in interface AWSBackupGatewayAsyncasyncHandler - 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.public Future<CreateGatewayResult> createGatewayAsync(CreateGatewayRequest request)
AWSBackupGatewayAsync
Creates a backup gateway. After you create a gateway, you can associate it with a server using the
AssociateGatewayToServer operation.
createGatewayAsync in interface AWSBackupGatewayAsyncpublic Future<CreateGatewayResult> createGatewayAsync(CreateGatewayRequest request, AsyncHandler<CreateGatewayRequest,CreateGatewayResult> asyncHandler)
AWSBackupGatewayAsync
Creates a backup gateway. After you create a gateway, you can associate it with a server using the
AssociateGatewayToServer operation.
createGatewayAsync in interface AWSBackupGatewayAsyncasyncHandler - 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.public Future<DeleteGatewayResult> deleteGatewayAsync(DeleteGatewayRequest request)
AWSBackupGatewayAsyncDeletes a backup gateway.
deleteGatewayAsync in interface AWSBackupGatewayAsyncpublic Future<DeleteGatewayResult> deleteGatewayAsync(DeleteGatewayRequest request, AsyncHandler<DeleteGatewayRequest,DeleteGatewayResult> asyncHandler)
AWSBackupGatewayAsyncDeletes a backup gateway.
deleteGatewayAsync in interface AWSBackupGatewayAsyncasyncHandler - 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.public Future<DeleteHypervisorResult> deleteHypervisorAsync(DeleteHypervisorRequest request)
AWSBackupGatewayAsyncDeletes a hypervisor.
deleteHypervisorAsync in interface AWSBackupGatewayAsyncpublic Future<DeleteHypervisorResult> deleteHypervisorAsync(DeleteHypervisorRequest request, AsyncHandler<DeleteHypervisorRequest,DeleteHypervisorResult> asyncHandler)
AWSBackupGatewayAsyncDeletes a hypervisor.
deleteHypervisorAsync in interface AWSBackupGatewayAsyncasyncHandler - 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.public Future<DisassociateGatewayFromServerResult> disassociateGatewayFromServerAsync(DisassociateGatewayFromServerRequest request)
AWSBackupGatewayAsyncDisassociates a backup gateway from the specified server. After the disassociation process finishes, the gateway can no longer access the virtual machines on the server.
disassociateGatewayFromServerAsync in interface AWSBackupGatewayAsyncpublic Future<DisassociateGatewayFromServerResult> disassociateGatewayFromServerAsync(DisassociateGatewayFromServerRequest request, AsyncHandler<DisassociateGatewayFromServerRequest,DisassociateGatewayFromServerResult> asyncHandler)
AWSBackupGatewayAsyncDisassociates a backup gateway from the specified server. After the disassociation process finishes, the gateway can no longer access the virtual machines on the server.
disassociateGatewayFromServerAsync in interface AWSBackupGatewayAsyncasyncHandler - 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.public Future<ImportHypervisorConfigurationResult> importHypervisorConfigurationAsync(ImportHypervisorConfigurationRequest request)
AWSBackupGatewayAsyncConnect to a hypervisor by importing its configuration.
importHypervisorConfigurationAsync in interface AWSBackupGatewayAsyncpublic Future<ImportHypervisorConfigurationResult> importHypervisorConfigurationAsync(ImportHypervisorConfigurationRequest request, AsyncHandler<ImportHypervisorConfigurationRequest,ImportHypervisorConfigurationResult> asyncHandler)
AWSBackupGatewayAsyncConnect to a hypervisor by importing its configuration.
importHypervisorConfigurationAsync in interface AWSBackupGatewayAsyncasyncHandler - 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.public Future<ListGatewaysResult> listGatewaysAsync(ListGatewaysRequest request)
AWSBackupGatewayAsyncLists backup gateways owned by an Amazon Web Services account in an Amazon Web Services Region. The returned list is ordered by gateway Amazon Resource Name (ARN).
listGatewaysAsync in interface AWSBackupGatewayAsyncpublic Future<ListGatewaysResult> listGatewaysAsync(ListGatewaysRequest request, AsyncHandler<ListGatewaysRequest,ListGatewaysResult> asyncHandler)
AWSBackupGatewayAsyncLists backup gateways owned by an Amazon Web Services account in an Amazon Web Services Region. The returned list is ordered by gateway Amazon Resource Name (ARN).
listGatewaysAsync in interface AWSBackupGatewayAsyncasyncHandler - 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.public Future<ListHypervisorsResult> listHypervisorsAsync(ListHypervisorsRequest request)
AWSBackupGatewayAsyncLists your hypervisors.
listHypervisorsAsync in interface AWSBackupGatewayAsyncpublic Future<ListHypervisorsResult> listHypervisorsAsync(ListHypervisorsRequest request, AsyncHandler<ListHypervisorsRequest,ListHypervisorsResult> asyncHandler)
AWSBackupGatewayAsyncLists your hypervisors.
listHypervisorsAsync in interface AWSBackupGatewayAsyncasyncHandler - 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.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSBackupGatewayAsyncLists the tags applied to the resource identified by its Amazon Resource Name (ARN).
listTagsForResourceAsync in interface AWSBackupGatewayAsyncpublic Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSBackupGatewayAsyncLists the tags applied to the resource identified by its Amazon Resource Name (ARN).
listTagsForResourceAsync in interface AWSBackupGatewayAsyncasyncHandler - 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.public Future<ListVirtualMachinesResult> listVirtualMachinesAsync(ListVirtualMachinesRequest request)
AWSBackupGatewayAsyncLists your virtual machines.
listVirtualMachinesAsync in interface AWSBackupGatewayAsyncpublic Future<ListVirtualMachinesResult> listVirtualMachinesAsync(ListVirtualMachinesRequest request, AsyncHandler<ListVirtualMachinesRequest,ListVirtualMachinesResult> asyncHandler)
AWSBackupGatewayAsyncLists your virtual machines.
listVirtualMachinesAsync in interface AWSBackupGatewayAsyncasyncHandler - 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.public Future<PutMaintenanceStartTimeResult> putMaintenanceStartTimeAsync(PutMaintenanceStartTimeRequest request)
AWSBackupGatewayAsyncSet the maintenance start time for a gateway.
putMaintenanceStartTimeAsync in interface AWSBackupGatewayAsyncpublic Future<PutMaintenanceStartTimeResult> putMaintenanceStartTimeAsync(PutMaintenanceStartTimeRequest request, AsyncHandler<PutMaintenanceStartTimeRequest,PutMaintenanceStartTimeResult> asyncHandler)
AWSBackupGatewayAsyncSet the maintenance start time for a gateway.
putMaintenanceStartTimeAsync in interface AWSBackupGatewayAsyncasyncHandler - 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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSBackupGatewayAsyncTag the resource.
tagResourceAsync in interface AWSBackupGatewayAsyncpublic Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSBackupGatewayAsyncTag the resource.
tagResourceAsync in interface AWSBackupGatewayAsyncasyncHandler - 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.public Future<TestHypervisorConfigurationResult> testHypervisorConfigurationAsync(TestHypervisorConfigurationRequest request)
AWSBackupGatewayAsyncTests your hypervisor configuration to validate that backup gateway can connect with the hypervisor and its resources.
testHypervisorConfigurationAsync in interface AWSBackupGatewayAsyncpublic Future<TestHypervisorConfigurationResult> testHypervisorConfigurationAsync(TestHypervisorConfigurationRequest request, AsyncHandler<TestHypervisorConfigurationRequest,TestHypervisorConfigurationResult> asyncHandler)
AWSBackupGatewayAsyncTests your hypervisor configuration to validate that backup gateway can connect with the hypervisor and its resources.
testHypervisorConfigurationAsync in interface AWSBackupGatewayAsyncasyncHandler - 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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSBackupGatewayAsyncRemoves tags from the resource.
untagResourceAsync in interface AWSBackupGatewayAsyncpublic Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSBackupGatewayAsyncRemoves tags from the resource.
untagResourceAsync in interface AWSBackupGatewayAsyncasyncHandler - 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.public Future<UpdateGatewayInformationResult> updateGatewayInformationAsync(UpdateGatewayInformationRequest request)
AWSBackupGatewayAsyncUpdates a gateway's name. Specify which gateway to update using the Amazon Resource Name (ARN) of the gateway in your request.
updateGatewayInformationAsync in interface AWSBackupGatewayAsyncpublic Future<UpdateGatewayInformationResult> updateGatewayInformationAsync(UpdateGatewayInformationRequest request, AsyncHandler<UpdateGatewayInformationRequest,UpdateGatewayInformationResult> asyncHandler)
AWSBackupGatewayAsyncUpdates a gateway's name. Specify which gateway to update using the Amazon Resource Name (ARN) of the gateway in your request.
updateGatewayInformationAsync in interface AWSBackupGatewayAsyncasyncHandler - 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.public Future<UpdateHypervisorResult> updateHypervisorAsync(UpdateHypervisorRequest request)
AWSBackupGatewayAsyncUpdates a hypervisor metadata, including its host, username, and password. Specify which hypervisor to update using the Amazon Resource Name (ARN) of the hypervisor in your request.
updateHypervisorAsync in interface AWSBackupGatewayAsyncpublic Future<UpdateHypervisorResult> updateHypervisorAsync(UpdateHypervisorRequest request, AsyncHandler<UpdateHypervisorRequest,UpdateHypervisorResult> asyncHandler)
AWSBackupGatewayAsyncUpdates a hypervisor metadata, including its host, username, and password. Specify which hypervisor to update using the Amazon Resource Name (ARN) of the hypervisor in your request.
updateHypervisorAsync in interface AWSBackupGatewayAsyncasyncHandler - 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.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSBackupGatewayshutdown in class AWSBackupGatewayClient