@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_METRIC
ENDPOINT_PREFIX
associateGatewayToServer, builder, createGateway, deleteGateway, deleteHypervisor, disassociateGatewayFromServer, getCachedResponseMetadata, importHypervisorConfiguration, listGateways, listHypervisors, listTagsForResource, listVirtualMachines, putMaintenanceStartTime, tagResource, testHypervisorConfiguration, untagResource, updateGatewayInformation, updateHypervisor
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
associateGatewayToServer, createGateway, deleteGateway, deleteHypervisor, disassociateGatewayFromServer, getCachedResponseMetadata, importHypervisorConfiguration, listGateways, listHypervisors, listTagsForResource, listVirtualMachines, putMaintenanceStartTime, tagResource, testHypervisorConfiguration, untagResource, updateGatewayInformation, updateHypervisor
public static AWSBackupGatewayAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssociateGatewayToServerResult> associateGatewayToServerAsync(AssociateGatewayToServerRequest request)
AWSBackupGatewayAsync
Associates 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 AWSBackupGatewayAsync
public Future<AssociateGatewayToServerResult> associateGatewayToServerAsync(AssociateGatewayToServerRequest request, AsyncHandler<AssociateGatewayToServerRequest,AssociateGatewayToServerResult> asyncHandler)
AWSBackupGatewayAsync
Associates 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 AWSBackupGatewayAsync
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.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 AWSBackupGatewayAsync
public 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 AWSBackupGatewayAsync
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.public Future<DeleteGatewayResult> deleteGatewayAsync(DeleteGatewayRequest request)
AWSBackupGatewayAsync
Deletes a backup gateway.
deleteGatewayAsync
in interface AWSBackupGatewayAsync
public Future<DeleteGatewayResult> deleteGatewayAsync(DeleteGatewayRequest request, AsyncHandler<DeleteGatewayRequest,DeleteGatewayResult> asyncHandler)
AWSBackupGatewayAsync
Deletes a backup gateway.
deleteGatewayAsync
in interface AWSBackupGatewayAsync
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.public Future<DeleteHypervisorResult> deleteHypervisorAsync(DeleteHypervisorRequest request)
AWSBackupGatewayAsync
Deletes a hypervisor.
deleteHypervisorAsync
in interface AWSBackupGatewayAsync
public Future<DeleteHypervisorResult> deleteHypervisorAsync(DeleteHypervisorRequest request, AsyncHandler<DeleteHypervisorRequest,DeleteHypervisorResult> asyncHandler)
AWSBackupGatewayAsync
Deletes a hypervisor.
deleteHypervisorAsync
in interface AWSBackupGatewayAsync
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.public Future<DisassociateGatewayFromServerResult> disassociateGatewayFromServerAsync(DisassociateGatewayFromServerRequest request)
AWSBackupGatewayAsync
Disassociates 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 AWSBackupGatewayAsync
public Future<DisassociateGatewayFromServerResult> disassociateGatewayFromServerAsync(DisassociateGatewayFromServerRequest request, AsyncHandler<DisassociateGatewayFromServerRequest,DisassociateGatewayFromServerResult> asyncHandler)
AWSBackupGatewayAsync
Disassociates 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 AWSBackupGatewayAsync
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.public Future<ImportHypervisorConfigurationResult> importHypervisorConfigurationAsync(ImportHypervisorConfigurationRequest request)
AWSBackupGatewayAsync
Connect to a hypervisor by importing its configuration.
importHypervisorConfigurationAsync
in interface AWSBackupGatewayAsync
public Future<ImportHypervisorConfigurationResult> importHypervisorConfigurationAsync(ImportHypervisorConfigurationRequest request, AsyncHandler<ImportHypervisorConfigurationRequest,ImportHypervisorConfigurationResult> asyncHandler)
AWSBackupGatewayAsync
Connect to a hypervisor by importing its configuration.
importHypervisorConfigurationAsync
in interface AWSBackupGatewayAsync
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.public Future<ListGatewaysResult> listGatewaysAsync(ListGatewaysRequest request)
AWSBackupGatewayAsync
Lists 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 AWSBackupGatewayAsync
public Future<ListGatewaysResult> listGatewaysAsync(ListGatewaysRequest request, AsyncHandler<ListGatewaysRequest,ListGatewaysResult> asyncHandler)
AWSBackupGatewayAsync
Lists 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 AWSBackupGatewayAsync
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.public Future<ListHypervisorsResult> listHypervisorsAsync(ListHypervisorsRequest request)
AWSBackupGatewayAsync
Lists your hypervisors.
listHypervisorsAsync
in interface AWSBackupGatewayAsync
public Future<ListHypervisorsResult> listHypervisorsAsync(ListHypervisorsRequest request, AsyncHandler<ListHypervisorsRequest,ListHypervisorsResult> asyncHandler)
AWSBackupGatewayAsync
Lists your hypervisors.
listHypervisorsAsync
in interface AWSBackupGatewayAsync
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.public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request)
AWSBackupGatewayAsync
Lists the tags applied to the resource identified by its Amazon Resource Name (ARN).
listTagsForResourceAsync
in interface AWSBackupGatewayAsync
public Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest request, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
AWSBackupGatewayAsync
Lists the tags applied to the resource identified by its Amazon Resource Name (ARN).
listTagsForResourceAsync
in interface AWSBackupGatewayAsync
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.public Future<ListVirtualMachinesResult> listVirtualMachinesAsync(ListVirtualMachinesRequest request)
AWSBackupGatewayAsync
Lists your virtual machines.
listVirtualMachinesAsync
in interface AWSBackupGatewayAsync
public Future<ListVirtualMachinesResult> listVirtualMachinesAsync(ListVirtualMachinesRequest request, AsyncHandler<ListVirtualMachinesRequest,ListVirtualMachinesResult> asyncHandler)
AWSBackupGatewayAsync
Lists your virtual machines.
listVirtualMachinesAsync
in interface AWSBackupGatewayAsync
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.public Future<PutMaintenanceStartTimeResult> putMaintenanceStartTimeAsync(PutMaintenanceStartTimeRequest request)
AWSBackupGatewayAsync
Set the maintenance start time for a gateway.
putMaintenanceStartTimeAsync
in interface AWSBackupGatewayAsync
public Future<PutMaintenanceStartTimeResult> putMaintenanceStartTimeAsync(PutMaintenanceStartTimeRequest request, AsyncHandler<PutMaintenanceStartTimeRequest,PutMaintenanceStartTimeResult> asyncHandler)
AWSBackupGatewayAsync
Set the maintenance start time for a gateway.
putMaintenanceStartTimeAsync
in interface AWSBackupGatewayAsync
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.public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request)
AWSBackupGatewayAsync
Tag the resource.
tagResourceAsync
in interface AWSBackupGatewayAsync
public Future<TagResourceResult> tagResourceAsync(TagResourceRequest request, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
AWSBackupGatewayAsync
Tag the resource.
tagResourceAsync
in interface AWSBackupGatewayAsync
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.public Future<TestHypervisorConfigurationResult> testHypervisorConfigurationAsync(TestHypervisorConfigurationRequest request)
AWSBackupGatewayAsync
Tests your hypervisor configuration to validate that backup gateway can connect with the hypervisor and its resources.
testHypervisorConfigurationAsync
in interface AWSBackupGatewayAsync
public Future<TestHypervisorConfigurationResult> testHypervisorConfigurationAsync(TestHypervisorConfigurationRequest request, AsyncHandler<TestHypervisorConfigurationRequest,TestHypervisorConfigurationResult> asyncHandler)
AWSBackupGatewayAsync
Tests your hypervisor configuration to validate that backup gateway can connect with the hypervisor and its resources.
testHypervisorConfigurationAsync
in interface AWSBackupGatewayAsync
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.public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request)
AWSBackupGatewayAsync
Removes tags from the resource.
untagResourceAsync
in interface AWSBackupGatewayAsync
public Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest request, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
AWSBackupGatewayAsync
Removes tags from the resource.
untagResourceAsync
in interface AWSBackupGatewayAsync
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.public Future<UpdateGatewayInformationResult> updateGatewayInformationAsync(UpdateGatewayInformationRequest request)
AWSBackupGatewayAsync
Updates a gateway's name. Specify which gateway to update using the Amazon Resource Name (ARN) of the gateway in your request.
updateGatewayInformationAsync
in interface AWSBackupGatewayAsync
public Future<UpdateGatewayInformationResult> updateGatewayInformationAsync(UpdateGatewayInformationRequest request, AsyncHandler<UpdateGatewayInformationRequest,UpdateGatewayInformationResult> asyncHandler)
AWSBackupGatewayAsync
Updates a gateway's name. Specify which gateway to update using the Amazon Resource Name (ARN) of the gateway in your request.
updateGatewayInformationAsync
in interface AWSBackupGatewayAsync
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.public Future<UpdateHypervisorResult> updateHypervisorAsync(UpdateHypervisorRequest request)
AWSBackupGatewayAsync
Updates 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 AWSBackupGatewayAsync
public Future<UpdateHypervisorResult> updateHypervisorAsync(UpdateHypervisorRequest request, AsyncHandler<UpdateHypervisorRequest,UpdateHypervisorResult> asyncHandler)
AWSBackupGatewayAsync
Updates 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 AWSBackupGatewayAsync
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.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSBackupGateway
shutdown
in class AWSBackupGatewayClient