@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSBackupGatewayClient extends AmazonWebServiceClient implements AWSBackupGateway
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_PREFIX| Modifier and Type | Method and Description |
|---|---|
AssociateGatewayToServerResult |
associateGatewayToServer(AssociateGatewayToServerRequest request)
Associates a backup gateway with your server.
|
static AWSBackupGatewayClientBuilder |
builder() |
CreateGatewayResult |
createGateway(CreateGatewayRequest request)
Creates a backup gateway.
|
DeleteGatewayResult |
deleteGateway(DeleteGatewayRequest request)
Deletes a backup gateway.
|
DeleteHypervisorResult |
deleteHypervisor(DeleteHypervisorRequest request)
Deletes a hypervisor.
|
DisassociateGatewayFromServerResult |
disassociateGatewayFromServer(DisassociateGatewayFromServerRequest request)
Disassociates a backup gateway from the specified server.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
ImportHypervisorConfigurationResult |
importHypervisorConfiguration(ImportHypervisorConfigurationRequest request)
Connect to a hypervisor by importing its configuration.
|
ListGatewaysResult |
listGateways(ListGatewaysRequest request)
Lists backup gateways owned by an Amazon Web Services account in an Amazon Web Services Region.
|
ListHypervisorsResult |
listHypervisors(ListHypervisorsRequest request)
Lists your hypervisors.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists the tags applied to the resource identified by its Amazon Resource Name (ARN).
|
ListVirtualMachinesResult |
listVirtualMachines(ListVirtualMachinesRequest request)
Lists your virtual machines.
|
PutMaintenanceStartTimeResult |
putMaintenanceStartTime(PutMaintenanceStartTimeRequest request)
Set the maintenance start time for a gateway.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Tag the resource.
|
TestHypervisorConfigurationResult |
testHypervisorConfiguration(TestHypervisorConfigurationRequest request)
Tests your hypervisor configuration to validate that backup gateway can connect with the hypervisor and its
resources.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes tags from the resource.
|
UpdateGatewayInformationResult |
updateGatewayInformation(UpdateGatewayInformationRequest request)
Updates a gateway's name.
|
UpdateHypervisorResult |
updateHypervisor(UpdateHypervisorRequest request)
Updates a hypervisor metadata, including its host, username, and password.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetpublic static AWSBackupGatewayClientBuilder builder()
public AssociateGatewayToServerResult associateGatewayToServer(AssociateGatewayToServerRequest request)
Associates a backup gateway with your server. After you complete the association process, you can back up and restore your VMs through the gateway.
associateGatewayToServer in interface AWSBackupGatewayassociateGatewayToServerRequest - ValidationException - The operation did not succeed because a validation error occurred.ConflictException - The operation cannot proceed because it is not supported.InternalServerException - The operation did not succeed because an internal error occurred. Try again later.public CreateGatewayResult createGateway(CreateGatewayRequest request)
Creates a backup gateway. After you create a gateway, you can associate it with a server using the
AssociateGatewayToServer operation.
createGateway in interface AWSBackupGatewaycreateGatewayRequest - ValidationException - The operation did not succeed because a validation error occurred.InternalServerException - The operation did not succeed because an internal error occurred. Try again later.public DeleteGatewayResult deleteGateway(DeleteGatewayRequest request)
Deletes a backup gateway.
deleteGateway in interface AWSBackupGatewaydeleteGatewayRequest - ValidationException - The operation did not succeed because a validation error occurred.InternalServerException - The operation did not succeed because an internal error occurred. Try again later.ResourceNotFoundException - A resource that is required for the action wasn't found.public DeleteHypervisorResult deleteHypervisor(DeleteHypervisorRequest request)
Deletes a hypervisor.
deleteHypervisor in interface AWSBackupGatewaydeleteHypervisorRequest - ValidationException - The operation did not succeed because a validation error occurred.InternalServerException - The operation did not succeed because an internal error occurred. Try again later.AccessDeniedException - The operation cannot proceed because you have insufficient permissions.ResourceNotFoundException - A resource that is required for the action wasn't found.public DisassociateGatewayFromServerResult disassociateGatewayFromServer(DisassociateGatewayFromServerRequest request)
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.
disassociateGatewayFromServer in interface AWSBackupGatewaydisassociateGatewayFromServerRequest - ValidationException - The operation did not succeed because a validation error occurred.ConflictException - The operation cannot proceed because it is not supported.InternalServerException - The operation did not succeed because an internal error occurred. Try again later.ResourceNotFoundException - A resource that is required for the action wasn't found.public ImportHypervisorConfigurationResult importHypervisorConfiguration(ImportHypervisorConfigurationRequest request)
Connect to a hypervisor by importing its configuration.
importHypervisorConfiguration in interface AWSBackupGatewayimportHypervisorConfigurationRequest - ValidationException - The operation did not succeed because a validation error occurred.InternalServerException - The operation did not succeed because an internal error occurred. Try again later.AccessDeniedException - The operation cannot proceed because you have insufficient permissions.public ListGatewaysResult listGateways(ListGatewaysRequest request)
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).
listGateways in interface AWSBackupGatewaylistGatewaysRequest - ValidationException - The operation did not succeed because a validation error occurred.InternalServerException - The operation did not succeed because an internal error occurred. Try again later.public ListHypervisorsResult listHypervisors(ListHypervisorsRequest request)
Lists your hypervisors.
listHypervisors in interface AWSBackupGatewaylistHypervisorsRequest - ValidationException - The operation did not succeed because a validation error occurred.InternalServerException - The operation did not succeed because an internal error occurred. Try again later.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists the tags applied to the resource identified by its Amazon Resource Name (ARN).
listTagsForResource in interface AWSBackupGatewaylistTagsForResourceRequest - ValidationException - The operation did not succeed because a validation error occurred.InternalServerException - The operation did not succeed because an internal error occurred. Try again later.ResourceNotFoundException - A resource that is required for the action wasn't found.public ListVirtualMachinesResult listVirtualMachines(ListVirtualMachinesRequest request)
Lists your virtual machines.
listVirtualMachines in interface AWSBackupGatewaylistVirtualMachinesRequest - ValidationException - The operation did not succeed because a validation error occurred.InternalServerException - The operation did not succeed because an internal error occurred. Try again later.public PutMaintenanceStartTimeResult putMaintenanceStartTime(PutMaintenanceStartTimeRequest request)
Set the maintenance start time for a gateway.
putMaintenanceStartTime in interface AWSBackupGatewayputMaintenanceStartTimeRequest - ValidationException - The operation did not succeed because a validation error occurred.ConflictException - The operation cannot proceed because it is not supported.InternalServerException - The operation did not succeed because an internal error occurred. Try again later.ResourceNotFoundException - A resource that is required for the action wasn't found.public TagResourceResult tagResource(TagResourceRequest request)
Tag the resource.
tagResource in interface AWSBackupGatewaytagResourceRequest - ValidationException - The operation did not succeed because a validation error occurred.InternalServerException - The operation did not succeed because an internal error occurred. Try again later.ResourceNotFoundException - A resource that is required for the action wasn't found.public TestHypervisorConfigurationResult testHypervisorConfiguration(TestHypervisorConfigurationRequest request)
Tests your hypervisor configuration to validate that backup gateway can connect with the hypervisor and its resources.
testHypervisorConfiguration in interface AWSBackupGatewaytestHypervisorConfigurationRequest - ValidationException - The operation did not succeed because a validation error occurred.ConflictException - The operation cannot proceed because it is not supported.InternalServerException - The operation did not succeed because an internal error occurred. Try again later.ResourceNotFoundException - A resource that is required for the action wasn't found.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes tags from the resource.
untagResource in interface AWSBackupGatewayuntagResourceRequest - ValidationException - The operation did not succeed because a validation error occurred.InternalServerException - The operation did not succeed because an internal error occurred. Try again later.ResourceNotFoundException - A resource that is required for the action wasn't found.public UpdateGatewayInformationResult updateGatewayInformation(UpdateGatewayInformationRequest request)
Updates a gateway's name. Specify which gateway to update using the Amazon Resource Name (ARN) of the gateway in your request.
updateGatewayInformation in interface AWSBackupGatewayupdateGatewayInformationRequest - ValidationException - The operation did not succeed because a validation error occurred.ConflictException - The operation cannot proceed because it is not supported.InternalServerException - The operation did not succeed because an internal error occurred. Try again later.ResourceNotFoundException - A resource that is required for the action wasn't found.public UpdateHypervisorResult updateHypervisor(UpdateHypervisorRequest request)
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.
updateHypervisor in interface AWSBackupGatewayupdateHypervisorRequest - ValidationException - The operation did not succeed because a validation error occurred.InternalServerException - The operation did not succeed because an internal error occurred. Try again later.AccessDeniedException - The operation cannot proceed because you have insufficient permissions.ResourceNotFoundException - A resource that is required for the action wasn't found.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AWSBackupGatewayrequest - The originally executed requestpublic void shutdown()
AmazonWebServiceClientshutdown in interface AWSBackupGatewayshutdown in class AmazonWebServiceClient