Interface DistributedAutonomousDbService
- 
- All Superinterfaces:
- AutoCloseable
 - All Known Implementing Classes:
- DistributedAutonomousDbServiceClient
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20250101") public interface DistributedAutonomousDbService extends AutoCloseableUse the Globally Distributed Database service APIs to create and manage the Globally distributed 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 Summary- 
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
 
 - 
addDistributedAutonomousDatabaseGdsControlNodeAddDistributedAutonomousDatabaseGdsControlNodeResponse addDistributedAutonomousDatabaseGdsControlNode(AddDistributedAutonomousDatabaseGdsControlNodeRequest request) Add new Global database services control(GDS CTL) node for the Globally distributed autonomous 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/distributeddatabase/AddDistributedAutonomousDatabaseGdsControlNodeExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use AddDistributedAutonomousDatabaseGdsControlNode API. 
 
 - 
changeDistributedAutonomousDatabaseCompartmentChangeDistributedAutonomousDatabaseCompartmentResponse changeDistributedAutonomousDatabaseCompartment(ChangeDistributedAutonomousDatabaseCompartmentRequest request) Move the Globally distributed autonomous database and its dependent resources to the specified 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/distributeddatabase/ChangeDistributedAutonomousDatabaseCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeDistributedAutonomousDatabaseCompartment API. 
 
 - 
configureDistributedAutonomousDatabaseGsmsConfigureDistributedAutonomousDatabaseGsmsResponse configureDistributedAutonomousDatabaseGsms(ConfigureDistributedAutonomousDatabaseGsmsRequest request) Configure new Global Service Manager(GSM aka shard manager) instances for the Globally distributed autonomous 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/distributeddatabase/ConfigureDistributedAutonomousDatabaseGsmsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ConfigureDistributedAutonomousDatabaseGsms API. 
 
 - 
configureDistributedAutonomousDatabaseShardingConfigureDistributedAutonomousDatabaseShardingResponse configureDistributedAutonomousDatabaseSharding(ConfigureDistributedAutonomousDatabaseShardingRequest request) Once all components of Globally distributed autonomous database are provisioned, and signed GSM certificates are successfully uploaded, this api shall be invoked to configure sharding on the Globally distributed autonomous database.Note that this ‘ConfigureSharding’ API also needs to be invoked after successfully adding a new shard to the Globally distributed autonomous database using PATCH api. If this API is not invoked after successfully adding a new shard, then that new shard will not be a participant in sharding topology of the Globally distributed autonomous 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/distributeddatabase/ConfigureDistributedAutonomousDatabaseShardingExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ConfigureDistributedAutonomousDatabaseSharding API. 
 
 - 
createDistributedAutonomousDatabaseCreateDistributedAutonomousDatabaseResponse createDistributedAutonomousDatabase(CreateDistributedAutonomousDatabaseRequest request) Creates a Globally distributed autonomous 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/distributeddatabase/CreateDistributedAutonomousDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateDistributedAutonomousDatabase API. 
 
 - 
deleteDistributedAutonomousDatabaseDeleteDistributedAutonomousDatabaseResponse deleteDistributedAutonomousDatabase(DeleteDistributedAutonomousDatabaseRequest request) Terminate the given Globally distributed autonomous databases.- 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/distributeddatabase/DeleteDistributedAutonomousDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteDistributedAutonomousDatabase API. 
 
 - 
downloadDistributedAutonomousDatabaseGsmCertificateSigningRequestDownloadDistributedAutonomousDatabaseGsmCertificateSigningRequestResponse downloadDistributedAutonomousDatabaseGsmCertificateSigningRequest(DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest request) Generate the common certificate signing request for GSMs.Download the .csr file from API response. Users can use this .csr file to generate the CA signed certificate, and as a next step use ‘uploadSignedCertificateAndGenerateWallet’ API to upload the CA signed certificate to GSM, and generate wallets for the GSM instances of the Globally distributed autonomous 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/distributeddatabase/DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DownloadDistributedAutonomousDatabaseGsmCertificateSigningRequest API. 
 
 - 
generateDistributedAutonomousDatabaseGsmCertificateSigningRequestGenerateDistributedAutonomousDatabaseGsmCertificateSigningRequestResponse generateDistributedAutonomousDatabaseGsmCertificateSigningRequest(GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequestRequest request) Generate the certificate signing request for GSM instances of the Globally distributed autonomous database.Once certificate signing request is generated, then customers can download the certificate signing request using ‘downloadGsmCertificateSigningRequest’ api call. - 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/distributeddatabase/GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GenerateDistributedAutonomousDatabaseGsmCertificateSigningRequest API. 
 
 - 
generateDistributedAutonomousDatabaseWalletGenerateDistributedAutonomousDatabaseWalletResponse generateDistributedAutonomousDatabaseWallet(GenerateDistributedAutonomousDatabaseWalletRequest request) Generate the wallet associated with Globally distributed autonomous 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/distributeddatabase/GenerateDistributedAutonomousDatabaseWalletExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GenerateDistributedAutonomousDatabaseWallet API. 
 
 - 
getDistributedAutonomousDatabaseGetDistributedAutonomousDatabaseResponse getDistributedAutonomousDatabase(GetDistributedAutonomousDatabaseRequest request) Gets the details of the Globally distributed autonomous database identified by given 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/distributeddatabase/GetDistributedAutonomousDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetDistributedAutonomousDatabase API. 
 
 - 
listDistributedAutonomousDatabasesListDistributedAutonomousDatabasesResponse listDistributedAutonomousDatabases(ListDistributedAutonomousDatabasesRequest request) List of Globally distributed autonomous databases.- 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/distributeddatabase/ListDistributedAutonomousDatabasesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListDistributedAutonomousDatabases API. 
 
 - 
patchDistributedAutonomousDatabasePatchDistributedAutonomousDatabaseResponse patchDistributedAutonomousDatabase(PatchDistributedAutonomousDatabaseRequest request) Patch operation to add, remove or update shards to the Globally distributed autonomous database topology.In single patch operation, multiple shards can be either added, or removed or updated. Combination of inserts, update and remove in single operation is 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/distributeddatabase/PatchDistributedAutonomousDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use PatchDistributedAutonomousDatabase API. 
 
 - 
rotateDistributedAutonomousDatabasePasswordsRotateDistributedAutonomousDatabasePasswordsResponse rotateDistributedAutonomousDatabasePasswords(RotateDistributedAutonomousDatabasePasswordsRequest request) Rotate passwords for different components of the Globally distributed autonomous 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/distributeddatabase/RotateDistributedAutonomousDatabasePasswordsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RotateDistributedAutonomousDatabasePasswords API. 
 
 - 
startDistributedAutonomousDatabaseStartDistributedAutonomousDatabaseResponse startDistributedAutonomousDatabase(StartDistributedAutonomousDatabaseRequest request) Start the shards, catalog and GSMs of Globally distributed autonomous 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/distributeddatabase/StartDistributedAutonomousDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use StartDistributedAutonomousDatabase API. 
 
 - 
stopDistributedAutonomousDatabaseStopDistributedAutonomousDatabaseResponse stopDistributedAutonomousDatabase(StopDistributedAutonomousDatabaseRequest request) Stop the shards, catalog and GSM instances for the Globally distributed autonomous 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/distributeddatabase/StopDistributedAutonomousDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use StopDistributedAutonomousDatabase API. 
 
 - 
updateDistributedAutonomousDatabaseUpdateDistributedAutonomousDatabaseResponse updateDistributedAutonomousDatabase(UpdateDistributedAutonomousDatabaseRequest request) Updates the configuration of the Globally distributed autonomous 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/distributeddatabase/UpdateDistributedAutonomousDatabaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateDistributedAutonomousDatabase API. 
 
 - 
uploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletUploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletResponse uploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWallet(UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletRequest request) Upload the CA signed certificate to the GSM instances and generate wallets for GSM instances of the Globally distributed autonomous database.Customer shall provide the CA signed certificate key details by adding the certificate in request body. - 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/distributeddatabase/UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWalletExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UploadDistributedAutonomousDatabaseSignedCertificateAndGenerateWallet API. 
 
 - 
validateDistributedAutonomousDatabaseNetworkValidateDistributedAutonomousDatabaseNetworkResponse validateDistributedAutonomousDatabaseNetwork(ValidateDistributedAutonomousDatabaseNetworkRequest request) Validate the network connectivity between components of the globally distributed autonomous 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/distributeddatabase/ValidateDistributedAutonomousDatabaseNetworkExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ValidateDistributedAutonomousDatabaseNetwork API. 
 
 - 
getWaitersDistributedAutonomousDbServiceWaiters getWaiters() Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
 
 - 
getPaginatorsDistributedAutonomousDbServicePaginators 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.
 
 
- 
 
-