Class DatabaseRecoveryClient
- java.lang.Object
- 
- com.oracle.bmc.http.internal.BaseSyncClient
- 
- com.oracle.bmc.recovery.DatabaseRecoveryClient
 
 
- 
- All Implemented Interfaces:
- DatabaseRecovery,- AutoCloseable
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20210216") public class DatabaseRecoveryClient extends BaseSyncClient implements DatabaseRecovery
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDatabaseRecoveryClient.BuilderBuilder class for this client.
 - 
Field SummaryFields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for DatabaseRecovery.
 - 
Constructor SummaryConstructors Constructor Description DatabaseRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.DatabaseRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.DatabaseRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.DatabaseRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.DatabaseRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.DatabaseRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.DatabaseRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.DatabaseRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseRecoveryClient.Builderbuilder()Create a builder for this client.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.voidclose()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.StringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()Optional<String>getMinimumClientCommonLibraryVersionFromClient()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.voidpopulateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)Populate the parameters in the endpoint with its corresponding value and update the base endpoint.voidrefreshClient()Rebuild the backingHttpClient.ScheduleProtectedDatabaseDeletionResponsescheduleProtectedDatabaseDeletion(ScheduleProtectedDatabaseDeletionRequest request)Defines a preferred schedule to delete a protected database after you terminate the source database.voidsetEndpoint(String endpoint)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’).voidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.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 useOfRealmSpecificEndpointTemplateEnabled)This method should be used to enable or disable the use of realm-specific endpoint template.- 
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClientclientCall
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.lang.AutoCloseableclose
 - 
Methods inherited from interface com.oracle.bmc.recovery.DatabaseRecoverygetEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
 
- 
 
- 
- 
- 
Constructor Detail- 
DatabaseRecoveryClient@Deprecated public DatabaseRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- DatabaseRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
 
 - 
DatabaseRecoveryClient@Deprecated public DatabaseRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- DatabaseRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
 
 - 
DatabaseRecoveryClient@Deprecated public DatabaseRecoveryClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- DatabaseRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
 
 - 
DatabaseRecoveryClient@Deprecated public DatabaseRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- DatabaseRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
 
 - 
DatabaseRecoveryClient@Deprecated public DatabaseRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- DatabaseRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
 
 - 
DatabaseRecoveryClient@Deprecated public DatabaseRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- DatabaseRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
- endpoint-- ClientBuilderBase.endpoint(java.lang.String)
 
 - 
DatabaseRecoveryClient@Deprecated public DatabaseRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- DatabaseRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
- endpoint-- ClientBuilderBase.endpoint(java.lang.String)
- signingStrategyRequestSignerFactories-- ClientBuilderBase.signingStrategyRequestSignerFactories
 
 - 
DatabaseRecoveryClient@Deprecated public DatabaseRecoveryClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- DatabaseRecoveryClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
- endpoint-- ClientBuilderBase.endpoint(java.lang.String)
- signingStrategyRequestSignerFactories-- ClientBuilderBase.signingStrategyRequestSignerFactories
- executorService-- DatabaseRecoveryClient.Builder.executorService
 
 
- 
 - 
Method Detail- 
builderpublic static DatabaseRecoveryClient.Builder builder() Create a builder for this client.- Returns:
- builder
 
 - 
setRegionpublic void setRegion(Region region) Description copied from interface:DatabaseRecoverySets 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.- Specified by:
- setRegionin interface- DatabaseRecovery
- Parameters:
- region- The region of the service.
 
 - 
setRegionpublic void setRegion(String regionId) Description copied from interface:DatabaseRecoverySets 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.- Specified by:
- setRegionin interface- DatabaseRecovery
- Parameters:
- regionId- The public region ID.
 
 - 
cancelProtectedDatabaseDeletionpublic CancelProtectedDatabaseDeletionResponse cancelProtectedDatabaseDeletion(CancelProtectedDatabaseDeletionRequest request) Description copied from interface:DatabaseRecoveryCancels 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. - Specified by:
- cancelProtectedDatabaseDeletionin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
changeProtectedDatabaseCompartmentpublic ChangeProtectedDatabaseCompartmentResponse changeProtectedDatabaseCompartment(ChangeProtectedDatabaseCompartmentRequest request) Description copied from interface:DatabaseRecoveryMoves a protected database resource from the existing compartment to the specified compartment.When provided, If-Match is checked against ETag values of the resource. - Specified by:
- changeProtectedDatabaseCompartmentin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
changeProtectedDatabaseSubscriptionpublic ChangeProtectedDatabaseSubscriptionResponse changeProtectedDatabaseSubscription(ChangeProtectedDatabaseSubscriptionRequest request) Description copied from interface:DatabaseRecoveryAssociates the protected database with a new cloud service environment, such as Microsoft Azure.- Specified by:
- changeProtectedDatabaseSubscriptionin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
changeProtectionPolicyCompartmentpublic ChangeProtectionPolicyCompartmentResponse changeProtectionPolicyCompartment(ChangeProtectionPolicyCompartmentRequest request) Description copied from interface:DatabaseRecoveryMoves a protection policy resource from the existing compartment to the specified compartment.When provided, If-Match is checked against ETag values of the resource. - Specified by:
- changeProtectionPolicyCompartmentin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
changeRecoveryServiceSubnetCompartmentpublic ChangeRecoveryServiceSubnetCompartmentResponse changeRecoveryServiceSubnetCompartment(ChangeRecoveryServiceSubnetCompartmentRequest request) Description copied from interface:DatabaseRecoveryMoves 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. - Specified by:
- changeRecoveryServiceSubnetCompartmentin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createProtectedDatabasepublic CreateProtectedDatabaseResponse createProtectedDatabase(CreateProtectedDatabaseRequest request) Description copied from interface:DatabaseRecoveryCreates a new Protected Database.- Specified by:
- createProtectedDatabasein interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createProtectionPolicypublic CreateProtectionPolicyResponse createProtectionPolicy(CreateProtectionPolicyRequest request) Description copied from interface:DatabaseRecoveryCreates a new Protection Policy.- Specified by:
- createProtectionPolicyin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createRecoveryServiceSubnetpublic CreateRecoveryServiceSubnetResponse createRecoveryServiceSubnet(CreateRecoveryServiceSubnetRequest request) Description copied from interface:DatabaseRecoveryCreates a new Recovery Service Subnet.- Specified by:
- createRecoveryServiceSubnetin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteProtectedDatabasepublic DeleteProtectedDatabaseResponse deleteProtectedDatabase(DeleteProtectedDatabaseRequest request) Description copied from interface:DatabaseRecoveryDeletes a protected database based on the specified protected database ID.- Specified by:
- deleteProtectedDatabasein interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteProtectionPolicypublic DeleteProtectionPolicyResponse deleteProtectionPolicy(DeleteProtectionPolicyRequest request) Description copied from interface:DatabaseRecoveryDeletes a specified protection policy.You can delete custom policies only. Deleting a Oracle predefined policies will result in status code 405 Method Not Allowed. - Specified by:
- deleteProtectionPolicyin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteRecoveryServiceSubnetpublic DeleteRecoveryServiceSubnetResponse deleteRecoveryServiceSubnet(DeleteRecoveryServiceSubnetRequest request) Description copied from interface:DatabaseRecoveryDeletes a specified recovery service subnet.- Specified by:
- deleteRecoveryServiceSubnetin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
fetchProtectedDatabaseConfigurationpublic FetchProtectedDatabaseConfigurationResponse fetchProtectedDatabaseConfiguration(FetchProtectedDatabaseConfigurationRequest request) Description copied from interface:DatabaseRecoveryDownloads the network service configuration file ‘tnsnames.ora’ for a specified protected database.Applies to user-defined recovery systems only. - Specified by:
- fetchProtectedDatabaseConfigurationin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getProtectedDatabasepublic GetProtectedDatabaseResponse getProtectedDatabase(GetProtectedDatabaseRequest request) Description copied from interface:DatabaseRecoveryGets information about a specified protected database.- Specified by:
- getProtectedDatabasein interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getProtectionPolicypublic GetProtectionPolicyResponse getProtectionPolicy(GetProtectionPolicyRequest request) Description copied from interface:DatabaseRecoveryGets information about a specified protection policy.- Specified by:
- getProtectionPolicyin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getRecoveryServiceSubnetpublic GetRecoveryServiceSubnetResponse getRecoveryServiceSubnet(GetRecoveryServiceSubnetRequest request) Description copied from interface:DatabaseRecoveryGets information about a specified recovery service subnet.- Specified by:
- getRecoveryServiceSubnetin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getWorkRequestpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request) Description copied from interface:DatabaseRecoveryGets the status of the work request based on the specified ID- Specified by:
- getWorkRequestin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listProtectedDatabasespublic ListProtectedDatabasesResponse listProtectedDatabases(ListProtectedDatabasesRequest request) Description copied from interface:DatabaseRecoveryLists the protected databases based on the specified parameters.- Specified by:
- listProtectedDatabasesin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listProtectionPoliciespublic ListProtectionPoliciesResponse listProtectionPolicies(ListProtectionPoliciesRequest request) Description copied from interface:DatabaseRecoveryGets a list of protection policies based on the specified parameters.- Specified by:
- listProtectionPoliciesin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listRecoveryServiceSubnetspublic ListRecoveryServiceSubnetsResponse listRecoveryServiceSubnets(ListRecoveryServiceSubnetsRequest request) Description copied from interface:DatabaseRecoveryReturns a list of Recovery Service Subnets.- Specified by:
- listRecoveryServiceSubnetsin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestErrorspublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request) Description copied from interface:DatabaseRecoveryReturn a (paginated) list of errors for a given work request.- Specified by:
- listWorkRequestErrorsin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestLogspublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request) Description copied from interface:DatabaseRecoveryReturn a (paginated) list of logs for a given work request.- Specified by:
- listWorkRequestLogsin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestspublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request) Description copied from interface:DatabaseRecoveryLists the work requests in a compartment.- Specified by:
- listWorkRequestsin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
scheduleProtectedDatabaseDeletionpublic ScheduleProtectedDatabaseDeletionResponse scheduleProtectedDatabaseDeletion(ScheduleProtectedDatabaseDeletionRequest request) Description copied from interface:DatabaseRecoveryDefines 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. - Specified by:
- scheduleProtectedDatabaseDeletionin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateProtectedDatabasepublic UpdateProtectedDatabaseResponse updateProtectedDatabase(UpdateProtectedDatabaseRequest request) Description copied from interface:DatabaseRecoveryUpdates the Protected Database- Specified by:
- updateProtectedDatabasein interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateProtectionPolicypublic UpdateProtectionPolicyResponse updateProtectionPolicy(UpdateProtectionPolicyRequest request) Description copied from interface:DatabaseRecoveryUpdates the specified protection policy.- Specified by:
- updateProtectionPolicyin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateRecoveryServiceSubnetpublic UpdateRecoveryServiceSubnetResponse updateRecoveryServiceSubnet(UpdateRecoveryServiceSubnetRequest request) Description copied from interface:DatabaseRecoveryUpdates the specified recovery service subnet.- Specified by:
- updateRecoveryServiceSubnetin interface- DatabaseRecovery
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getWaiterspublic DatabaseRecoveryWaiters getWaiters() Description copied from interface:DatabaseRecoveryGets the pre-configured waiters available for resources for this service.- Specified by:
- getWaitersin interface- DatabaseRecovery
- Returns:
- The service waiters.
 
 - 
getPaginatorspublic DatabaseRecoveryPaginators getPaginators() Description copied from interface:DatabaseRecoveryGets 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.- Specified by:
- getPaginatorsin interface- DatabaseRecovery
- Returns:
- The service paginators.
 
 - 
getDefaultConfiguratorprotected ClientConfigurator getDefaultConfigurator() 
 - 
useRealmSpecificEndpointTemplatepublic void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled) This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false - Parameters:
- useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
 
 - 
populateServiceParametersInEndpointpublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap) Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank. - Parameters:
- endpoint- The endpoint template in use
- requiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
 
 - 
updateBaseEndpointpublic final void updateBaseEndpoint(String endpoint) This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters. - Parameters:
- endpoint- The updated endpoint to use
 
 - 
setEndpointpublic final void setEndpoint(String endpoint) 
 - 
getEndpointpublic final String getEndpoint() 
 - 
refreshClientpublic final void refreshClient() Rebuild the backingHttpClient.This will call ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
 - 
closepublic final void close() - Specified by:
- closein interface- AutoCloseable
 
 - 
getClientCommonLibraryVersionpublic String getClientCommonLibraryVersion() 
 
- 
 
-