Interface DatabaseRecovery

  • All Superinterfaces:
    AutoCloseable
    All Known Implementing Classes:
    DatabaseRecoveryClient

    @Generated(value="OracleSDKGenerator",
               comments="API Version: 20210216")
    public interface DatabaseRecovery
    extends AutoCloseable
    Use 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 Detail

      • refreshClient

        void refreshClient()
        Rebuilds the client from scratch.

        Useful to refresh certificates.

      • setEndpoint

        void setEndpoint​(String endpoint)
        Sets the endpoint to call (ex, https://www.example.com).
        Parameters:
        endpoint - The endpoint of the service.
      • getEndpoint

        String getEndpoint()
        Gets the set endpoint for REST call (ex, https://www.example.com)
      • setRegion

        void setRegion​(Region region)
        Sets the region to call (ex, Region.US_PHOENIX_1).

        Note, this will call setEndpoint after 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.
      • setRegion

        void 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 call setEndpoint.

        Parameters:
        regionId - The public region ID.
      • useRealmSpecificEndpointTemplate

        void 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
      • cancelProtectedDatabaseDeletion

        CancelProtectedDatabaseDeletionResponse 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.63.0/recovery/CancelProtectedDatabaseDeletionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CancelProtectedDatabaseDeletion API.

      • changeProtectedDatabaseCompartment

        ChangeProtectedDatabaseCompartmentResponse 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.63.0/recovery/ChangeProtectedDatabaseCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeProtectedDatabaseCompartment API.

      • changeProtectedDatabaseSubscription

        ChangeProtectedDatabaseSubscriptionResponse 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.63.0/recovery/ChangeProtectedDatabaseSubscriptionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeProtectedDatabaseSubscription API.

      • changeProtectionPolicyCompartment

        ChangeProtectionPolicyCompartmentResponse 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.63.0/recovery/ChangeProtectionPolicyCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeProtectionPolicyCompartment API.

      • changeRecoveryServiceSubnetCompartment

        ChangeRecoveryServiceSubnetCompartmentResponse 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.63.0/recovery/ChangeRecoveryServiceSubnetCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeRecoveryServiceSubnetCompartment API.

      • createProtectedDatabase

        CreateProtectedDatabaseResponse 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.63.0/recovery/CreateProtectedDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateProtectedDatabase API.

      • createProtectionPolicy

        CreateProtectionPolicyResponse 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.63.0/recovery/CreateProtectionPolicyExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateProtectionPolicy API.

      • createRecoveryServiceSubnet

        CreateRecoveryServiceSubnetResponse 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.63.0/recovery/CreateRecoveryServiceSubnetExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateRecoveryServiceSubnet API.

      • deleteProtectedDatabase

        DeleteProtectedDatabaseResponse 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.63.0/recovery/DeleteProtectedDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteProtectedDatabase API.

      • deleteProtectionPolicy

        DeleteProtectionPolicyResponse 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.63.0/recovery/DeleteProtectionPolicyExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteProtectionPolicy API.

      • deleteRecoveryServiceSubnet

        DeleteRecoveryServiceSubnetResponse 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.63.0/recovery/DeleteRecoveryServiceSubnetExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteRecoveryServiceSubnet API.

      • fetchProtectedDatabaseConfiguration

        FetchProtectedDatabaseConfigurationResponse 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.63.0/recovery/FetchProtectedDatabaseConfigurationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use FetchProtectedDatabaseConfiguration API.

      • getProtectedDatabase

        GetProtectedDatabaseResponse 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.63.0/recovery/GetProtectedDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetProtectedDatabase API.

      • getProtectionPolicy

        GetProtectionPolicyResponse 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.63.0/recovery/GetProtectionPolicyExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetProtectionPolicy API.

      • getRecoveryServiceSubnet

        GetRecoveryServiceSubnetResponse 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.63.0/recovery/GetRecoveryServiceSubnetExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetRecoveryServiceSubnet API.

      • getWorkRequest

        GetWorkRequestResponse 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.63.0/recovery/GetWorkRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetWorkRequest API.

      • listProtectedDatabases

        ListProtectedDatabasesResponse 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.63.0/recovery/ListProtectedDatabasesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListProtectedDatabases API.

      • listProtectionPolicies

        ListProtectionPoliciesResponse 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.63.0/recovery/ListProtectionPoliciesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListProtectionPolicies API.

      • listRecoveryServiceSubnets

        ListRecoveryServiceSubnetsResponse 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.63.0/recovery/ListRecoveryServiceSubnetsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListRecoveryServiceSubnets API.

      • listWorkRequestErrors

        ListWorkRequestErrorsResponse 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.63.0/recovery/ListWorkRequestErrorsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestErrors API.

      • listWorkRequestLogs

        ListWorkRequestLogsResponse 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.63.0/recovery/ListWorkRequestLogsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestLogs API.

      • listWorkRequests

        ListWorkRequestsResponse 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.63.0/recovery/ListWorkRequestsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequests API.

      • scheduleProtectedDatabaseDeletion

        ScheduleProtectedDatabaseDeletionResponse 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.63.0/recovery/ScheduleProtectedDatabaseDeletionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ScheduleProtectedDatabaseDeletion API.

      • updateProtectedDatabase

        UpdateProtectedDatabaseResponse 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.63.0/recovery/UpdateProtectedDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateProtectedDatabase API.

      • updateProtectionPolicy

        UpdateProtectionPolicyResponse 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.63.0/recovery/UpdateProtectionPolicyExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateProtectionPolicy API.

      • updateRecoveryServiceSubnet

        UpdateRecoveryServiceSubnetResponse 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.63.0/recovery/UpdateRecoveryServiceSubnetExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateRecoveryServiceSubnet API.

      • getWaiters

        DatabaseRecoveryWaiters getWaiters()
        Gets the pre-configured waiters available for resources for this service.
        Returns:
        The service waiters.
      • getPaginators

        DatabaseRecoveryPaginators getPaginators()
        Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.

        These paginators provide an Iterable interface 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.