@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, getBandwidthRateLimitSchedule, getCachedResponseMetadata, getGateway, getHypervisor, getHypervisorPropertyMappings, getVirtualMachine, importHypervisorConfiguration, listGateways, listHypervisors, listTagsForResource, listVirtualMachines, putBandwidthRateLimitSchedule, putHypervisorPropertyMappings, putMaintenanceStartTime, startVirtualMachinesMetadataSync, tagResource, testHypervisorConfiguration, untagResource, updateGatewayInformation, updateGatewaySoftwareNow, 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, getBandwidthRateLimitSchedule, getCachedResponseMetadata, getGateway, getHypervisor, getHypervisorPropertyMappings, getVirtualMachine, importHypervisorConfiguration, listGateways, listHypervisors, listTagsForResource, listVirtualMachines, putBandwidthRateLimitSchedule, putHypervisorPropertyMappings, putMaintenanceStartTime, startVirtualMachinesMetadataSync, tagResource, testHypervisorConfiguration, untagResource, updateGatewayInformation, updateGatewaySoftwareNow, 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<GetBandwidthRateLimitScheduleResult> getBandwidthRateLimitScheduleAsync(GetBandwidthRateLimitScheduleRequest request)
AWSBackupGatewayAsync
Retrieves the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. Use this to get a gateway's bandwidth rate limit schedule.
getBandwidthRateLimitScheduleAsync
in interface AWSBackupGatewayAsync
public Future<GetBandwidthRateLimitScheduleResult> getBandwidthRateLimitScheduleAsync(GetBandwidthRateLimitScheduleRequest request, AsyncHandler<GetBandwidthRateLimitScheduleRequest,GetBandwidthRateLimitScheduleResult> asyncHandler)
AWSBackupGatewayAsync
Retrieves the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have bandwidth rate limit schedules, which means no bandwidth rate limiting is in effect. Use this to get a gateway's bandwidth rate limit schedule.
getBandwidthRateLimitScheduleAsync
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<GetGatewayResult> getGatewayAsync(GetGatewayRequest request)
AWSBackupGatewayAsync
By providing the ARN (Amazon Resource Name), this API returns the gateway.
getGatewayAsync
in interface AWSBackupGatewayAsync
public Future<GetGatewayResult> getGatewayAsync(GetGatewayRequest request, AsyncHandler<GetGatewayRequest,GetGatewayResult> asyncHandler)
AWSBackupGatewayAsync
By providing the ARN (Amazon Resource Name), this API returns the gateway.
getGatewayAsync
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<GetHypervisorResult> getHypervisorAsync(GetHypervisorRequest request)
AWSBackupGatewayAsync
This action requests information about the specified hypervisor to which the gateway will connect. A hypervisor is hardware, software, or firmware that creates and manages virtual machines, and allocates resources to them.
getHypervisorAsync
in interface AWSBackupGatewayAsync
public Future<GetHypervisorResult> getHypervisorAsync(GetHypervisorRequest request, AsyncHandler<GetHypervisorRequest,GetHypervisorResult> asyncHandler)
AWSBackupGatewayAsync
This action requests information about the specified hypervisor to which the gateway will connect. A hypervisor is hardware, software, or firmware that creates and manages virtual machines, and allocates resources to them.
getHypervisorAsync
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<GetHypervisorPropertyMappingsResult> getHypervisorPropertyMappingsAsync(GetHypervisorPropertyMappingsRequest request)
AWSBackupGatewayAsync
This action retrieves the property mappings for the specified hypervisor. A hypervisor property mapping displays the relationship of entity properties available from the on-premises hypervisor to the properties available in Amazon Web Services.
getHypervisorPropertyMappingsAsync
in interface AWSBackupGatewayAsync
public Future<GetHypervisorPropertyMappingsResult> getHypervisorPropertyMappingsAsync(GetHypervisorPropertyMappingsRequest request, AsyncHandler<GetHypervisorPropertyMappingsRequest,GetHypervisorPropertyMappingsResult> asyncHandler)
AWSBackupGatewayAsync
This action retrieves the property mappings for the specified hypervisor. A hypervisor property mapping displays the relationship of entity properties available from the on-premises hypervisor to the properties available in Amazon Web Services.
getHypervisorPropertyMappingsAsync
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<GetVirtualMachineResult> getVirtualMachineAsync(GetVirtualMachineRequest request)
AWSBackupGatewayAsync
By providing the ARN (Amazon Resource Name), this API returns the virtual machine.
getVirtualMachineAsync
in interface AWSBackupGatewayAsync
public Future<GetVirtualMachineResult> getVirtualMachineAsync(GetVirtualMachineRequest request, AsyncHandler<GetVirtualMachineRequest,GetVirtualMachineResult> asyncHandler)
AWSBackupGatewayAsync
By providing the ARN (Amazon Resource Name), this API returns the virtual machine.
getVirtualMachineAsync
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<PutBandwidthRateLimitScheduleResult> putBandwidthRateLimitScheduleAsync(PutBandwidthRateLimitScheduleRequest request)
AWSBackupGatewayAsync
This action sets the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have a bandwidth rate limit schedule, which means no bandwidth rate limiting is in effect. Use this to initiate a gateway's bandwidth rate limit schedule.
putBandwidthRateLimitScheduleAsync
in interface AWSBackupGatewayAsync
public Future<PutBandwidthRateLimitScheduleResult> putBandwidthRateLimitScheduleAsync(PutBandwidthRateLimitScheduleRequest request, AsyncHandler<PutBandwidthRateLimitScheduleRequest,PutBandwidthRateLimitScheduleResult> asyncHandler)
AWSBackupGatewayAsync
This action sets the bandwidth rate limit schedule for a specified gateway. By default, gateways do not have a bandwidth rate limit schedule, which means no bandwidth rate limiting is in effect. Use this to initiate a gateway's bandwidth rate limit schedule.
putBandwidthRateLimitScheduleAsync
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<PutHypervisorPropertyMappingsResult> putHypervisorPropertyMappingsAsync(PutHypervisorPropertyMappingsRequest request)
AWSBackupGatewayAsync
This action sets the property mappings for the specified hypervisor. A hypervisor property mapping displays the relationship of entity properties available from the on-premises hypervisor to the properties available in Amazon Web Services.
putHypervisorPropertyMappingsAsync
in interface AWSBackupGatewayAsync
public Future<PutHypervisorPropertyMappingsResult> putHypervisorPropertyMappingsAsync(PutHypervisorPropertyMappingsRequest request, AsyncHandler<PutHypervisorPropertyMappingsRequest,PutHypervisorPropertyMappingsResult> asyncHandler)
AWSBackupGatewayAsync
This action sets the property mappings for the specified hypervisor. A hypervisor property mapping displays the relationship of entity properties available from the on-premises hypervisor to the properties available in Amazon Web Services.
putHypervisorPropertyMappingsAsync
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<StartVirtualMachinesMetadataSyncResult> startVirtualMachinesMetadataSyncAsync(StartVirtualMachinesMetadataSyncRequest request)
AWSBackupGatewayAsync
This action sends a request to sync metadata across the specified virtual machines.
startVirtualMachinesMetadataSyncAsync
in interface AWSBackupGatewayAsync
public Future<StartVirtualMachinesMetadataSyncResult> startVirtualMachinesMetadataSyncAsync(StartVirtualMachinesMetadataSyncRequest request, AsyncHandler<StartVirtualMachinesMetadataSyncRequest,StartVirtualMachinesMetadataSyncResult> asyncHandler)
AWSBackupGatewayAsync
This action sends a request to sync metadata across the specified virtual machines.
startVirtualMachinesMetadataSyncAsync
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<UpdateGatewaySoftwareNowResult> updateGatewaySoftwareNowAsync(UpdateGatewaySoftwareNowRequest request)
AWSBackupGatewayAsync
Updates the gateway virtual machine (VM) software. The request immediately triggers the software update.
When you make this request, you get a 200 OK
success response immediately. However, it might take
some time for the update to complete.
updateGatewaySoftwareNowAsync
in interface AWSBackupGatewayAsync
public Future<UpdateGatewaySoftwareNowResult> updateGatewaySoftwareNowAsync(UpdateGatewaySoftwareNowRequest request, AsyncHandler<UpdateGatewaySoftwareNowRequest,UpdateGatewaySoftwareNowResult> asyncHandler)
AWSBackupGatewayAsync
Updates the gateway virtual machine (VM) software. The request immediately triggers the software update.
When you make this request, you get a 200 OK
success response immediately. However, it might take
some time for the update to complete.
updateGatewaySoftwareNowAsync
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