Class ShardedDatabaseServiceClient
- java.lang.Object
- 
- com.oracle.bmc.http.internal.BaseSyncClient
- 
- com.oracle.bmc.globallydistributeddatabase.ShardedDatabaseServiceClient
 
 
- 
- All Implemented Interfaces:
- ShardedDatabaseService,- AutoCloseable
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20230301") public class ShardedDatabaseServiceClient extends BaseSyncClient implements ShardedDatabaseService
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classShardedDatabaseServiceClient.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 ShardedDatabaseService.
 - 
Constructor SummaryConstructors Constructor Description ShardedDatabaseServiceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.ShardedDatabaseServiceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.ShardedDatabaseServiceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ShardedDatabaseServiceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ShardedDatabaseServiceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.ShardedDatabaseServiceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.ShardedDatabaseServiceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.ShardedDatabaseServiceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShardedDatabaseServiceClient.Builderbuilder()Create a builder for this client.ChangePrivateEndpointCompartmentResponsechangePrivateEndpointCompartment(ChangePrivateEndpointCompartmentRequest request)Move the private endpoint to the specified compartment.ChangeShardedDatabaseCompartmentResponsechangeShardedDatabaseCompartment(ChangeShardedDatabaseCompartmentRequest request)Move the sharded database database and its dependent resources to the specified compartment.voidclose()ConfigureShardedDatabaseGsmsResponseconfigureShardedDatabaseGsms(ConfigureShardedDatabaseGsmsRequest request)Configure new Global Service Manager(GSM aka shard manager) instances for the sharded database.ConfigureShardingResponseconfigureSharding(ConfigureShardingRequest request)Once all components of sharded database are provisioned, and signed GSM certificates are successfully uploaded, this api shall be invoked to configure sharding on the sharded database.CreatePrivateEndpointResponsecreatePrivateEndpoint(CreatePrivateEndpointRequest request)Creates a PrivateEndpoint.CreateShardedDatabaseResponsecreateShardedDatabase(CreateShardedDatabaseRequest request)Creates a Sharded Database.DeletePrivateEndpointResponsedeletePrivateEndpoint(DeletePrivateEndpointRequest request)Delete the given private endpoint.DeleteShardedDatabaseResponsedeleteShardedDatabase(DeleteShardedDatabaseRequest request)Terminate the given sharded databases.DownloadGsmCertificateSigningRequestResponsedownloadGsmCertificateSigningRequest(DownloadGsmCertificateSigningRequestRequest request)Generate the common certificate signing request for GSMs.FetchConnectionStringResponsefetchConnectionString(FetchConnectionStringRequest request)Gets the Sharded Database Connection Strings.FetchShardableCloudAutonomousVmClustersResponsefetchShardableCloudAutonomousVmClusters(FetchShardableCloudAutonomousVmClustersRequest request)List of cloudAutonomousVMClusters for the given tenancy, that can be sharded.GenerateGsmCertificateSigningRequestResponsegenerateGsmCertificateSigningRequest(GenerateGsmCertificateSigningRequestRequest request)Generate the certificate signing request for GSM instances of the sharded database.GenerateWalletResponsegenerateWallet(GenerateWalletRequest request)Generate the wallet associated with sharded database.StringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()Optional<String>getMinimumClientCommonLibraryVersionFromClient()ShardedDatabaseServicePaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetPrivateEndpointResponsegetPrivateEndpoint(GetPrivateEndpointRequest request)Get the PrivateEndpoint resource.GetShardedDatabaseResponsegetShardedDatabase(GetShardedDatabaseRequest request)Gets the details of the Sharded database identified by given id.ShardedDatabaseServiceWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets details of the work request with the given ID.ListPrivateEndpointsResponselistPrivateEndpoints(ListPrivateEndpointsRequest request)List of PrivateEndpoints.ListShardedDatabasesResponselistShardedDatabases(ListShardedDatabasesRequest request)List of Sharded databases.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Returns a (paginated) list of errors for the work request with the given ID.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Returns a (paginated) list of logs for the work request with the given ID.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists the work requests in a compartment.PatchShardedDatabaseResponsepatchShardedDatabase(PatchShardedDatabaseRequest request)Patch operation to add, remove or update shards to the sharded database topology.voidpopulateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)Populate the parameters in the endpoint with its corresponding value and update the base endpoint.PrevalidateShardedDatabaseResponseprevalidateShardedDatabase(PrevalidateShardedDatabaseRequest request)Sharded database pre-validation request.voidrefreshClient()Rebuild the backingHttpClient.ReinstateProxyInstanceResponsereinstateProxyInstance(ReinstateProxyInstanceRequest request)API to reinstate the proxy instances associated with the private endpoint.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’).StartShardedDatabaseResponsestartShardedDatabase(StartShardedDatabaseRequest request)Start the shards, catalog and GSMs of Sharded Database.StopShardedDatabaseResponsestopShardedDatabase(StopShardedDatabaseRequest request)Stop the shards, catalog and GSM instances for the sharded database.voidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.UpdatePrivateEndpointResponseupdatePrivateEndpoint(UpdatePrivateEndpointRequest request)Updates the configuration of privateendpoint.UpdateShardedDatabaseResponseupdateShardedDatabase(UpdateShardedDatabaseRequest request)Updates the configuration of sharded database.UploadSignedCertificateAndGenerateWalletResponseuploadSignedCertificateAndGenerateWallet(UploadSignedCertificateAndGenerateWalletRequest request)Upload the CA signed certificate to the GSM instances and generate wallets for GSM instances of the sharded database.voiduseRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)This method should be used to enable or disable the use of realm-specific endpoint template.ValidateNetworkResponsevalidateNetwork(ValidateNetworkRequest request)Validate the network connectivity between components of sharded database.- 
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.globallydistributeddatabase.ShardedDatabaseServicegetEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
 
- 
 
- 
- 
- 
Constructor Detail- 
ShardedDatabaseServiceClient@Deprecated public ShardedDatabaseServiceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- ShardedDatabaseServiceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
 
 - 
ShardedDatabaseServiceClient@Deprecated public ShardedDatabaseServiceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- ShardedDatabaseServiceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
 
 - 
ShardedDatabaseServiceClient@Deprecated public ShardedDatabaseServiceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- ShardedDatabaseServiceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
 
 - 
ShardedDatabaseServiceClient@Deprecated public ShardedDatabaseServiceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- ShardedDatabaseServiceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
 
 - 
ShardedDatabaseServiceClient@Deprecated public ShardedDatabaseServiceClient(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- ShardedDatabaseServiceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
 
 - 
ShardedDatabaseServiceClient@Deprecated public ShardedDatabaseServiceClient(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- ShardedDatabaseServiceClient.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)
 
 - 
ShardedDatabaseServiceClient@Deprecated public ShardedDatabaseServiceClient(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- ShardedDatabaseServiceClient.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
 
 - 
ShardedDatabaseServiceClient@Deprecated public ShardedDatabaseServiceClient(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- ShardedDatabaseServiceClient.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-- ShardedDatabaseServiceClient.Builder.executorService
 
 
- 
 - 
Method Detail- 
builderpublic static ShardedDatabaseServiceClient.Builder builder() Create a builder for this client.- Returns:
- builder
 
 - 
setRegionpublic void setRegion(Region region) Description copied from interface:ShardedDatabaseServiceSets 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- ShardedDatabaseService
- Parameters:
- region- The region of the service.
 
 - 
setRegionpublic void setRegion(String regionId) Description copied from interface:ShardedDatabaseServiceSets 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- ShardedDatabaseService
- Parameters:
- regionId- The public region ID.
 
 - 
changePrivateEndpointCompartmentpublic ChangePrivateEndpointCompartmentResponse changePrivateEndpointCompartment(ChangePrivateEndpointCompartmentRequest request) Description copied from interface:ShardedDatabaseServiceMove the private endpoint to the specified compartment.- Specified by:
- changePrivateEndpointCompartmentin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
changeShardedDatabaseCompartmentpublic ChangeShardedDatabaseCompartmentResponse changeShardedDatabaseCompartment(ChangeShardedDatabaseCompartmentRequest request) Description copied from interface:ShardedDatabaseServiceMove the sharded database database and its dependent resources to the specified compartment.- Specified by:
- changeShardedDatabaseCompartmentin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
configureShardedDatabaseGsmspublic ConfigureShardedDatabaseGsmsResponse configureShardedDatabaseGsms(ConfigureShardedDatabaseGsmsRequest request) Description copied from interface:ShardedDatabaseServiceConfigure new Global Service Manager(GSM aka shard manager) instances for the sharded database.Specify the names of old GSM instances that need to be replaced via parameter oldGsmNames in the request payload. Also specify whether rotated GSM instances shall be provisioned with latest image of GSM software or the image used by existing GSM instances shall be used. - Specified by:
- configureShardedDatabaseGsmsin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
configureShardingpublic ConfigureShardingResponse configureSharding(ConfigureShardingRequest request) Description copied from interface:ShardedDatabaseServiceOnce all components of sharded database are provisioned, and signed GSM certificates are successfully uploaded, this api shall be invoked to configure sharding on the sharded database.Note that this ‘ConfigureSharding’ API also needs to be invoked after successfully adding a new shard to the sharded 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 sharded database. - Specified by:
- configureShardingin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createPrivateEndpointpublic CreatePrivateEndpointResponse createPrivateEndpoint(CreatePrivateEndpointRequest request) Description copied from interface:ShardedDatabaseServiceCreates a PrivateEndpoint.- Specified by:
- createPrivateEndpointin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createShardedDatabasepublic CreateShardedDatabaseResponse createShardedDatabase(CreateShardedDatabaseRequest request) Description copied from interface:ShardedDatabaseServiceCreates a Sharded Database.- Specified by:
- createShardedDatabasein interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deletePrivateEndpointpublic DeletePrivateEndpointResponse deletePrivateEndpoint(DeletePrivateEndpointRequest request) Description copied from interface:ShardedDatabaseServiceDelete the given private endpoint.- Specified by:
- deletePrivateEndpointin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteShardedDatabasepublic DeleteShardedDatabaseResponse deleteShardedDatabase(DeleteShardedDatabaseRequest request) Description copied from interface:ShardedDatabaseServiceTerminate the given sharded databases.- Specified by:
- deleteShardedDatabasein interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
downloadGsmCertificateSigningRequestpublic DownloadGsmCertificateSigningRequestResponse downloadGsmCertificateSigningRequest(DownloadGsmCertificateSigningRequestRequest request) Description copied from interface:ShardedDatabaseServiceGenerate 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 sharded database. - Specified by:
- downloadGsmCertificateSigningRequestin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
fetchConnectionStringpublic FetchConnectionStringResponse fetchConnectionString(FetchConnectionStringRequest request) Description copied from interface:ShardedDatabaseServiceGets the Sharded Database Connection Strings.- Specified by:
- fetchConnectionStringin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
fetchShardableCloudAutonomousVmClusterspublic FetchShardableCloudAutonomousVmClustersResponse fetchShardableCloudAutonomousVmClusters(FetchShardableCloudAutonomousVmClustersRequest request) Description copied from interface:ShardedDatabaseServiceList of cloudAutonomousVMClusters for the given tenancy, that can be sharded.- Specified by:
- fetchShardableCloudAutonomousVmClustersin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
generateGsmCertificateSigningRequestpublic GenerateGsmCertificateSigningRequestResponse generateGsmCertificateSigningRequest(GenerateGsmCertificateSigningRequestRequest request) Description copied from interface:ShardedDatabaseServiceGenerate the certificate signing request for GSM instances of the sharded database.Once certificate signing request is generated, then customers can download the certificate signing request using ‘downloadGsmCertificateSigningRequest’ api call. - Specified by:
- generateGsmCertificateSigningRequestin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
generateWalletpublic GenerateWalletResponse generateWallet(GenerateWalletRequest request) Description copied from interface:ShardedDatabaseServiceGenerate the wallet associated with sharded database.- Specified by:
- generateWalletin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getPrivateEndpointpublic GetPrivateEndpointResponse getPrivateEndpoint(GetPrivateEndpointRequest request) Description copied from interface:ShardedDatabaseServiceGet the PrivateEndpoint resource.- Specified by:
- getPrivateEndpointin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getShardedDatabasepublic GetShardedDatabaseResponse getShardedDatabase(GetShardedDatabaseRequest request) Description copied from interface:ShardedDatabaseServiceGets the details of the Sharded database identified by given id.- Specified by:
- getShardedDatabasein interface- ShardedDatabaseService
- 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:ShardedDatabaseServiceGets details of the work request with the given ID.- Specified by:
- getWorkRequestin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listPrivateEndpointspublic ListPrivateEndpointsResponse listPrivateEndpoints(ListPrivateEndpointsRequest request) Description copied from interface:ShardedDatabaseServiceList of PrivateEndpoints.- Specified by:
- listPrivateEndpointsin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listShardedDatabasespublic ListShardedDatabasesResponse listShardedDatabases(ListShardedDatabasesRequest request) Description copied from interface:ShardedDatabaseServiceList of Sharded databases.- Specified by:
- listShardedDatabasesin interface- ShardedDatabaseService
- 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:ShardedDatabaseServiceReturns a (paginated) list of errors for the work request with the given ID.- Specified by:
- listWorkRequestErrorsin interface- ShardedDatabaseService
- 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:ShardedDatabaseServiceReturns a (paginated) list of logs for the work request with the given ID.- Specified by:
- listWorkRequestLogsin interface- ShardedDatabaseService
- 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:ShardedDatabaseServiceLists the work requests in a compartment.- Specified by:
- listWorkRequestsin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
patchShardedDatabasepublic PatchShardedDatabaseResponse patchShardedDatabase(PatchShardedDatabaseRequest request) Description copied from interface:ShardedDatabaseServicePatch operation to add, remove or update shards to the sharded 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. - Specified by:
- patchShardedDatabasein interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
prevalidateShardedDatabasepublic PrevalidateShardedDatabaseResponse prevalidateShardedDatabase(PrevalidateShardedDatabaseRequest request) Description copied from interface:ShardedDatabaseServiceSharded database pre-validation request.- Specified by:
- prevalidateShardedDatabasein interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
reinstateProxyInstancepublic ReinstateProxyInstanceResponse reinstateProxyInstance(ReinstateProxyInstanceRequest request) Description copied from interface:ShardedDatabaseServiceAPI to reinstate the proxy instances associated with the private endpoint.- Specified by:
- reinstateProxyInstancein interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
startShardedDatabasepublic StartShardedDatabaseResponse startShardedDatabase(StartShardedDatabaseRequest request) Description copied from interface:ShardedDatabaseServiceStart the shards, catalog and GSMs of Sharded Database.- Specified by:
- startShardedDatabasein interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
stopShardedDatabasepublic StopShardedDatabaseResponse stopShardedDatabase(StopShardedDatabaseRequest request) Description copied from interface:ShardedDatabaseServiceStop the shards, catalog and GSM instances for the sharded database.- Specified by:
- stopShardedDatabasein interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updatePrivateEndpointpublic UpdatePrivateEndpointResponse updatePrivateEndpoint(UpdatePrivateEndpointRequest request) Description copied from interface:ShardedDatabaseServiceUpdates the configuration of privateendpoint.- Specified by:
- updatePrivateEndpointin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateShardedDatabasepublic UpdateShardedDatabaseResponse updateShardedDatabase(UpdateShardedDatabaseRequest request) Description copied from interface:ShardedDatabaseServiceUpdates the configuration of sharded database.- Specified by:
- updateShardedDatabasein interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
uploadSignedCertificateAndGenerateWalletpublic UploadSignedCertificateAndGenerateWalletResponse uploadSignedCertificateAndGenerateWallet(UploadSignedCertificateAndGenerateWalletRequest request) Description copied from interface:ShardedDatabaseServiceUpload the CA signed certificate to the GSM instances and generate wallets for GSM instances of the sharded database.Customer shall provide the CA signed certificate key details by adding the certificate in request body. - Specified by:
- uploadSignedCertificateAndGenerateWalletin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
validateNetworkpublic ValidateNetworkResponse validateNetwork(ValidateNetworkRequest request) Description copied from interface:ShardedDatabaseServiceValidate the network connectivity between components of sharded database.- Specified by:
- validateNetworkin interface- ShardedDatabaseService
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getWaiterspublic ShardedDatabaseServiceWaiters getWaiters() Description copied from interface:ShardedDatabaseServiceGets the pre-configured waiters available for resources for this service.- Specified by:
- getWaitersin interface- ShardedDatabaseService
- Returns:
- The service waiters.
 
 - 
getPaginatorspublic ShardedDatabaseServicePaginators getPaginators() Description copied from interface:ShardedDatabaseServiceGets 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- ShardedDatabaseService
- 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() 
 
- 
 
-