Interface DatabaseRecovery
- 
- All Superinterfaces:
- AutoCloseable
 - All Known Implementing Classes:
- DatabaseRecoveryClient
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20210216") public interface DatabaseRecovery extends AutoCloseableUse Oracle Database Autonomous Recovery Service API to manage Protected Databases.This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user. 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description CancelProtectedDatabaseDeletionResponsecancelProtectedDatabaseDeletion(CancelProtectedDatabaseDeletionRequest request)Cancels the scheduled deletion of a protected database, and returns the protected database to an ACTIVE state.ChangeProtectedDatabaseCompartmentResponsechangeProtectedDatabaseCompartment(ChangeProtectedDatabaseCompartmentRequest request)Moves a protected database resource from the existing compartment to the specified compartment.ChangeProtectedDatabaseSubscriptionResponsechangeProtectedDatabaseSubscription(ChangeProtectedDatabaseSubscriptionRequest request)Associates the protected database with a new cloud service environment, such as Microsoft Azure.ChangeProtectionPolicyCompartmentResponsechangeProtectionPolicyCompartment(ChangeProtectionPolicyCompartmentRequest request)Moves a protection policy resource from the existing compartment to the specified compartment.ChangeRecoveryServiceSubnetCompartmentResponsechangeRecoveryServiceSubnetCompartment(ChangeRecoveryServiceSubnetCompartmentRequest request)Moves a recovery service subnet resource from the existing compartment to the specified compartment.CreateProtectedDatabaseResponsecreateProtectedDatabase(CreateProtectedDatabaseRequest request)Creates a new Protected Database.CreateProtectionPolicyResponsecreateProtectionPolicy(CreateProtectionPolicyRequest request)Creates a new Protection Policy.CreateRecoveryServiceSubnetResponsecreateRecoveryServiceSubnet(CreateRecoveryServiceSubnetRequest request)Creates a new Recovery Service Subnet.DeleteProtectedDatabaseResponsedeleteProtectedDatabase(DeleteProtectedDatabaseRequest request)Deletes a protected database based on the specified protected database ID.DeleteProtectionPolicyResponsedeleteProtectionPolicy(DeleteProtectionPolicyRequest request)Deletes a specified protection policy.DeleteRecoveryServiceSubnetResponsedeleteRecoveryServiceSubnet(DeleteRecoveryServiceSubnetRequest request)Deletes a specified recovery service subnet.FetchProtectedDatabaseConfigurationResponsefetchProtectedDatabaseConfiguration(FetchProtectedDatabaseConfigurationRequest request)Downloads the network service configuration file ‘tnsnames.ora’ for a specified protected database.StringgetEndpoint()Gets the set endpoint for REST call (ex, https://www.example.com)DatabaseRecoveryPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetProtectedDatabaseResponsegetProtectedDatabase(GetProtectedDatabaseRequest request)Gets information about a specified protected database.GetProtectionPolicyResponsegetProtectionPolicy(GetProtectionPolicyRequest request)Gets information about a specified protection policy.GetRecoveryServiceSubnetResponsegetRecoveryServiceSubnet(GetRecoveryServiceSubnetRequest request)Gets information about a specified recovery service subnet.DatabaseRecoveryWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets the status of the work request based on the specified IDListProtectedDatabasesResponselistProtectedDatabases(ListProtectedDatabasesRequest request)Lists the protected databases based on the specified parameters.ListProtectionPoliciesResponselistProtectionPolicies(ListProtectionPoliciesRequest request)Gets a list of protection policies based on the specified parameters.ListRecoveryServiceSubnetsResponselistRecoveryServiceSubnets(ListRecoveryServiceSubnetsRequest request)Returns a list of Recovery Service Subnets.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Return a (paginated) list of errors for a given work request.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Return a (paginated) list of logs for a given work request.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists the work requests in a compartment.voidrefreshClient()Rebuilds the client from scratch.ScheduleProtectedDatabaseDeletionResponsescheduleProtectedDatabaseDeletion(ScheduleProtectedDatabaseDeletionRequest request)Defines a preferred schedule to delete a protected database after you terminate the source database.voidsetEndpoint(String endpoint)Sets the endpoint to call (ex, https://www.example.com).voidsetRegion(Region region)Sets the region to call (ex, Region.US_PHOENIX_1).voidsetRegion(String regionId)Sets the region to call (ex, ‘us-phoenix-1’).UpdateProtectedDatabaseResponseupdateProtectedDatabase(UpdateProtectedDatabaseRequest request)Updates the Protected DatabaseUpdateProtectionPolicyResponseupdateProtectionPolicy(UpdateProtectionPolicyRequest request)Updates the specified protection policy.UpdateRecoveryServiceSubnetResponseupdateRecoveryServiceSubnet(UpdateRecoveryServiceSubnetRequest request)Updates the specified recovery service subnet.voiduseRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)Determines whether realm specific endpoint should be used or not.- 
Methods inherited from interface java.lang.AutoCloseableclose
 
- 
 
- 
- 
- 
Method Detail- 
refreshClientvoid refreshClient() Rebuilds the client from scratch.Useful to refresh certificates. 
 - 
setEndpointvoid setEndpoint(String endpoint) Sets the endpoint to call (ex, https://www.example.com).- Parameters:
- endpoint- The endpoint of the service.
 
 - 
getEndpointString getEndpoint() Gets the set endpoint for REST call (ex, https://www.example.com)
 - 
setRegionvoid setRegion(Region region) Sets the region to call (ex, Region.US_PHOENIX_1).Note, this will call setEndpointafter resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Parameters:
- region- The region of the service.
 
 - 
setRegionvoid setRegion(String regionId) Sets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call setRegion.If no known Region could be determined, it will create an endpoint based on the default endpoint format ( Region.formatDefaultRegionEndpoint(Service, String)and then callsetEndpoint.- Parameters:
- regionId- The public region ID.
 
 - 
useRealmSpecificEndpointTemplatevoid useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled) Determines whether realm specific endpoint should be used or not.Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false” - Parameters:
- realmSpecificEndpointTemplateEnabled- flag to enable the use of realm specific endpoint template
 
 - 
cancelProtectedDatabaseDeletionCancelProtectedDatabaseDeletionResponse cancelProtectedDatabaseDeletion(CancelProtectedDatabaseDeletionRequest request) Cancels the scheduled deletion of a protected database, and returns the protected database to an ACTIVE state.You can cancel the deletion only if the protected database is in the DELETE SCHEDULED state. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/CancelProtectedDatabaseDeletionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CancelProtectedDatabaseDeletion API. 
 
 - 
changeProtectedDatabaseCompartmentChangeProtectedDatabaseCompartmentResponse changeProtectedDatabaseCompartment(ChangeProtectedDatabaseCompartmentRequest request) Moves a protected database resource from the existing compartment to the specified compartment.When provided, If-Match is checked against ETag values of the resource. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/ChangeProtectedDatabaseCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeProtectedDatabaseCompartment API. 
 
 - 
changeProtectedDatabaseSubscriptionChangeProtectedDatabaseSubscriptionResponse changeProtectedDatabaseSubscription(ChangeProtectedDatabaseSubscriptionRequest request) Associates the protected database with a new cloud service environment, such as Microsoft Azure.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/ChangeProtectedDatabaseSubscriptionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeProtectedDatabaseSubscription API. 
 
 - 
changeProtectionPolicyCompartmentChangeProtectionPolicyCompartmentResponse changeProtectionPolicyCompartment(ChangeProtectionPolicyCompartmentRequest request) Moves a protection policy resource from the existing compartment to the specified compartment.When provided, If-Match is checked against ETag values of the resource. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/ChangeProtectionPolicyCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeProtectionPolicyCompartment API. 
 
 - 
changeRecoveryServiceSubnetCompartmentChangeRecoveryServiceSubnetCompartmentResponse changeRecoveryServiceSubnetCompartment(ChangeRecoveryServiceSubnetCompartmentRequest request) Moves a recovery service subnet resource from the existing compartment to the specified compartment.When provided, If-Match is checked against ETag values of the resource. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/ChangeRecoveryServiceSubnetCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeRecoveryServiceSubnetCompartment API. 
 
 - 
createProtectedDatabaseCreateProtectedDatabaseResponse createProtectedDatabase(CreateProtectedDatabaseRequest request) Creates a new Protected Database.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/CreateProtectedDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateProtectedDatabase API. 
 
 - 
createProtectionPolicyCreateProtectionPolicyResponse createProtectionPolicy(CreateProtectionPolicyRequest request) Creates a new Protection Policy.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/CreateProtectionPolicyExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateProtectionPolicy API. 
 
 - 
createRecoveryServiceSubnetCreateRecoveryServiceSubnetResponse createRecoveryServiceSubnet(CreateRecoveryServiceSubnetRequest request) Creates a new Recovery Service Subnet.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/CreateRecoveryServiceSubnetExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateRecoveryServiceSubnet API. 
 
 - 
deleteProtectedDatabaseDeleteProtectedDatabaseResponse deleteProtectedDatabase(DeleteProtectedDatabaseRequest request) Deletes a protected database based on the specified protected database ID.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/DeleteProtectedDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteProtectedDatabase API. 
 
 - 
deleteProtectionPolicyDeleteProtectionPolicyResponse deleteProtectionPolicy(DeleteProtectionPolicyRequest request) Deletes a specified protection policy.You can delete custom policies only. Deleting a Oracle predefined policies will result in status code 405 Method Not Allowed. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/DeleteProtectionPolicyExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteProtectionPolicy API. 
 
 - 
deleteRecoveryServiceSubnetDeleteRecoveryServiceSubnetResponse deleteRecoveryServiceSubnet(DeleteRecoveryServiceSubnetRequest request) Deletes a specified recovery service subnet.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/DeleteRecoveryServiceSubnetExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteRecoveryServiceSubnet API. 
 
 - 
fetchProtectedDatabaseConfigurationFetchProtectedDatabaseConfigurationResponse fetchProtectedDatabaseConfiguration(FetchProtectedDatabaseConfigurationRequest request) Downloads the network service configuration file ‘tnsnames.ora’ for a specified protected database.Applies to user-defined recovery systems only. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/FetchProtectedDatabaseConfigurationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use FetchProtectedDatabaseConfiguration API. 
 
 - 
getProtectedDatabaseGetProtectedDatabaseResponse getProtectedDatabase(GetProtectedDatabaseRequest request) Gets information about a specified protected database.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/GetProtectedDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetProtectedDatabase API. 
 
 - 
getProtectionPolicyGetProtectionPolicyResponse getProtectionPolicy(GetProtectionPolicyRequest request) Gets information about a specified protection policy.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/GetProtectionPolicyExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetProtectionPolicy API. 
 
 - 
getRecoveryServiceSubnetGetRecoveryServiceSubnetResponse getRecoveryServiceSubnet(GetRecoveryServiceSubnetRequest request) Gets information about a specified recovery service subnet.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/GetRecoveryServiceSubnetExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetRecoveryServiceSubnet API. 
 
 - 
getWorkRequestGetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request) Gets the status of the work request based on the specified ID- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/GetWorkRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetWorkRequest API. 
 
 - 
listProtectedDatabasesListProtectedDatabasesResponse listProtectedDatabases(ListProtectedDatabasesRequest request) Lists the protected databases based on the specified parameters.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/ListProtectedDatabasesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListProtectedDatabases API. 
 
 - 
listProtectionPoliciesListProtectionPoliciesResponse listProtectionPolicies(ListProtectionPoliciesRequest request) Gets a list of protection policies based on the specified parameters.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/ListProtectionPoliciesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListProtectionPolicies API. 
 
 - 
listRecoveryServiceSubnetsListRecoveryServiceSubnetsResponse listRecoveryServiceSubnets(ListRecoveryServiceSubnetsRequest request) Returns a list of Recovery Service Subnets.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/ListRecoveryServiceSubnetsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListRecoveryServiceSubnets API. 
 
 - 
listWorkRequestErrorsListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request) Return a (paginated) list of errors for a given work request.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/ListWorkRequestErrorsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestErrors API. 
 
 - 
listWorkRequestLogsListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request) Return a (paginated) list of logs for a given work request.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/ListWorkRequestLogsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestLogs API. 
 
 - 
listWorkRequestsListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request) Lists the work requests in a compartment.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/ListWorkRequestsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequests API. 
 
 - 
scheduleProtectedDatabaseDeletionScheduleProtectedDatabaseDeletionResponse scheduleProtectedDatabaseDeletion(ScheduleProtectedDatabaseDeletionRequest request) Defines a preferred schedule to delete a protected database after you terminate the source database.The default schedule is DELETE_AFTER_72_HOURS, so that the delete operation can occur 72 hours (3 days) after the source database is terminated. The alternate schedule is DELETE_AFTER_RETENTION_PERIOD. Specify this option if you want to delete a protected database only after the policy-defined backup retention period expires. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/ScheduleProtectedDatabaseDeletionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ScheduleProtectedDatabaseDeletion API. 
 
 - 
updateProtectedDatabaseUpdateProtectedDatabaseResponse updateProtectedDatabase(UpdateProtectedDatabaseRequest request) Updates the Protected Database- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/UpdateProtectedDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateProtectedDatabase API. 
 
 - 
updateProtectionPolicyUpdateProtectionPolicyResponse updateProtectionPolicy(UpdateProtectionPolicyRequest request) Updates the specified protection policy.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/UpdateProtectionPolicyExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateProtectionPolicy API. 
 
 - 
updateRecoveryServiceSubnetUpdateRecoveryServiceSubnetResponse updateRecoveryServiceSubnet(UpdateRecoveryServiceSubnetRequest request) Updates the specified recovery service subnet.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/UpdateRecoveryServiceSubnetExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateRecoveryServiceSubnet API. 
 
 - 
getWaitersDatabaseRecoveryWaiters getWaiters() Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
 
 - 
getPaginatorsDatabaseRecoveryPaginators getPaginators() Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an Iterableinterface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Returns:
- The service paginators.
 
 
- 
 
-