@Generated(value="OracleSDKGenerator", comments="API Version: 20230301") public class ShardedDatabaseServiceClient extends BaseSyncClient implements ShardedDatabaseService
Modifier and Type | Class and Description |
---|---|
static class |
ShardedDatabaseServiceClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for ShardedDatabaseService.
|
Constructor and Description |
---|
ShardedDatabaseServiceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
ShardedDatabaseServiceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
ShardedDatabaseServiceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
ShardedDatabaseServiceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
ShardedDatabaseServiceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Deprecated.
Use the
builder instead. |
ShardedDatabaseServiceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
ShardedDatabaseServiceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
ShardedDatabaseServiceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
Modifier and Type | Method and Description |
---|---|
static ShardedDatabaseServiceClient.Builder |
builder()
Create a builder for this client.
|
ChangePrivateEndpointCompartmentResponse |
changePrivateEndpointCompartment(ChangePrivateEndpointCompartmentRequest request)
Move the private endpoint to the specified compartment.
|
ChangeShardedDatabaseCompartmentResponse |
changeShardedDatabaseCompartment(ChangeShardedDatabaseCompartmentRequest request)
Move the sharded database database and its dependent resources to the specified compartment.
|
void |
close() |
ConfigureShardedDatabaseGsmsResponse |
configureShardedDatabaseGsms(ConfigureShardedDatabaseGsmsRequest request)
Configure new Global Service Manager(GSM aka shard manager) instances for the sharded
database.
|
ConfigureShardingResponse |
configureSharding(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.
|
CreatePrivateEndpointResponse |
createPrivateEndpoint(CreatePrivateEndpointRequest request)
Creates a PrivateEndpoint.
|
CreateShardedDatabaseResponse |
createShardedDatabase(CreateShardedDatabaseRequest request)
Creates a Sharded Database.
|
DeletePrivateEndpointResponse |
deletePrivateEndpoint(DeletePrivateEndpointRequest request)
Delete the given private endpoint.
|
DeleteShardedDatabaseResponse |
deleteShardedDatabase(DeleteShardedDatabaseRequest request)
Terminate the given sharded databases.
|
DownloadGsmCertificateSigningRequestResponse |
downloadGsmCertificateSigningRequest(DownloadGsmCertificateSigningRequestRequest request)
Generate the common certificate signing request for GSMs.
|
FetchConnectionStringResponse |
fetchConnectionString(FetchConnectionStringRequest request)
Gets the Sharded Database Connection Strings.
|
FetchShardableCloudAutonomousVmClustersResponse |
fetchShardableCloudAutonomousVmClusters(FetchShardableCloudAutonomousVmClustersRequest request)
List of cloudAutonomousVMClusters for the given tenancy, that can be sharded.
|
GenerateGsmCertificateSigningRequestResponse |
generateGsmCertificateSigningRequest(GenerateGsmCertificateSigningRequestRequest request)
Generate the certificate signing request for GSM instances of the sharded database.
|
GenerateWalletResponse |
generateWallet(GenerateWalletRequest request)
Generate the wallet associated with sharded database.
|
String |
getClientCommonLibraryVersion() |
protected ClientConfigurator |
getDefaultConfigurator() |
String |
getEndpoint() |
Optional<String> |
getMinimumClientCommonLibraryVersionFromClient() |
ShardedDatabaseServicePaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data.
|
GetPrivateEndpointResponse |
getPrivateEndpoint(GetPrivateEndpointRequest request)
Get the PrivateEndpoint resource.
|
GetShardedDatabaseResponse |
getShardedDatabase(GetShardedDatabaseRequest request)
Gets the details of the Sharded database identified by given id.
|
ShardedDatabaseServiceWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
GetWorkRequestResponse |
getWorkRequest(GetWorkRequestRequest request)
Gets details of the work request with the given ID.
|
ListPrivateEndpointsResponse |
listPrivateEndpoints(ListPrivateEndpointsRequest request)
List of PrivateEndpoints.
|
ListShardedDatabasesResponse |
listShardedDatabases(ListShardedDatabasesRequest request)
List of Sharded databases.
|
ListWorkRequestErrorsResponse |
listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Returns a (paginated) list of errors for the work request with the given ID.
|
ListWorkRequestLogsResponse |
listWorkRequestLogs(ListWorkRequestLogsRequest request)
Returns a (paginated) list of logs for the work request with the given ID.
|
ListWorkRequestsResponse |
listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment.
|
PatchShardedDatabaseResponse |
patchShardedDatabase(PatchShardedDatabaseRequest request)
Patch operation to add, remove or update shards to the sharded database topology.
|
void |
populateServiceParametersInEndpoint(String endpoint,
Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base
endpoint.
|
PrevalidateShardedDatabaseResponse |
prevalidateShardedDatabase(PrevalidateShardedDatabaseRequest request)
Sharded database pre-validation request.
|
void |
refreshClient()
Rebuild the backing
HttpClient . |
ReinstateProxyInstanceResponse |
reinstateProxyInstance(ReinstateProxyInstanceRequest request)
API to reinstate the proxy instances associated with the private endpoint.
|
void |
setEndpoint(String endpoint) |
void |
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
|
void |
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
|
StartShardedDatabaseResponse |
startShardedDatabase(StartShardedDatabaseRequest request)
Start the shards, catalog and GSMs of Sharded Database.
|
StopShardedDatabaseResponse |
stopShardedDatabase(StopShardedDatabaseRequest request)
Stop the shards, catalog and GSM instances for the sharded database.
|
void |
updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.
|
UpdatePrivateEndpointResponse |
updatePrivateEndpoint(UpdatePrivateEndpointRequest request)
Updates the configuration of privateendpoint.
|
UpdateShardedDatabaseResponse |
updateShardedDatabase(UpdateShardedDatabaseRequest request)
Updates the configuration of sharded database.
|
UploadSignedCertificateAndGenerateWalletResponse |
uploadSignedCertificateAndGenerateWallet(UploadSignedCertificateAndGenerateWalletRequest request)
Upload the CA signed certificate to the GSM instances and generate wallets for GSM instances
of the sharded database.
|
void |
useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.
|
ValidateNetworkResponse |
validateNetwork(ValidateNetworkRequest request)
Validate the network connectivity between components of sharded database.
|
clientCall
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for ShardedDatabaseService.
public final String clientCommonLibraryVersion
@Deprecated public ShardedDatabaseServiceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ShardedDatabaseServiceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public ShardedDatabaseServiceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ShardedDatabaseServiceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public ShardedDatabaseServiceClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ShardedDatabaseServiceClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public ShardedDatabaseServiceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
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
@Deprecated public ShardedDatabaseServiceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
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
@Deprecated public ShardedDatabaseServiceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
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)
@Deprecated public ShardedDatabaseServiceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
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
@Deprecated public ShardedDatabaseServiceClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
builder
instead.Create a new client instance.
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
public static ShardedDatabaseServiceClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
ShardedDatabaseService
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.
setRegion
in interface ShardedDatabaseService
region
- The region of the service.public void setRegion(String regionId)
ShardedDatabaseService
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
.
setRegion
in interface ShardedDatabaseService
regionId
- The public region ID.public ChangePrivateEndpointCompartmentResponse changePrivateEndpointCompartment(ChangePrivateEndpointCompartmentRequest request)
ShardedDatabaseService
Move the private endpoint to the specified compartment.
changePrivateEndpointCompartment
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic ChangeShardedDatabaseCompartmentResponse changeShardedDatabaseCompartment(ChangeShardedDatabaseCompartmentRequest request)
ShardedDatabaseService
Move the sharded database database and its dependent resources to the specified compartment.
changeShardedDatabaseCompartment
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic ConfigureShardedDatabaseGsmsResponse configureShardedDatabaseGsms(ConfigureShardedDatabaseGsmsRequest request)
ShardedDatabaseService
Configure 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.
configureShardedDatabaseGsms
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic ConfigureShardingResponse configureSharding(ConfigureShardingRequest request)
ShardedDatabaseService
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. 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.
configureSharding
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic CreatePrivateEndpointResponse createPrivateEndpoint(CreatePrivateEndpointRequest request)
ShardedDatabaseService
Creates a PrivateEndpoint.
createPrivateEndpoint
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic CreateShardedDatabaseResponse createShardedDatabase(CreateShardedDatabaseRequest request)
ShardedDatabaseService
Creates a Sharded Database.
createShardedDatabase
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic DeletePrivateEndpointResponse deletePrivateEndpoint(DeletePrivateEndpointRequest request)
ShardedDatabaseService
Delete the given private endpoint.
deletePrivateEndpoint
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic DeleteShardedDatabaseResponse deleteShardedDatabase(DeleteShardedDatabaseRequest request)
ShardedDatabaseService
Terminate the given sharded databases.
deleteShardedDatabase
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic DownloadGsmCertificateSigningRequestResponse downloadGsmCertificateSigningRequest(DownloadGsmCertificateSigningRequestRequest request)
ShardedDatabaseService
Generate the common certificate signing request for GSMs. Download the
downloadGsmCertificateSigningRequest
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic FetchConnectionStringResponse fetchConnectionString(FetchConnectionStringRequest request)
ShardedDatabaseService
Gets the Sharded Database Connection Strings.
fetchConnectionString
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic FetchShardableCloudAutonomousVmClustersResponse fetchShardableCloudAutonomousVmClusters(FetchShardableCloudAutonomousVmClustersRequest request)
ShardedDatabaseService
List of cloudAutonomousVMClusters for the given tenancy, that can be sharded.
fetchShardableCloudAutonomousVmClusters
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic GenerateGsmCertificateSigningRequestResponse generateGsmCertificateSigningRequest(GenerateGsmCertificateSigningRequestRequest request)
ShardedDatabaseService
Generate 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.
generateGsmCertificateSigningRequest
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic GenerateWalletResponse generateWallet(GenerateWalletRequest request)
ShardedDatabaseService
Generate the wallet associated with sharded database.
generateWallet
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic GetPrivateEndpointResponse getPrivateEndpoint(GetPrivateEndpointRequest request)
ShardedDatabaseService
Get the PrivateEndpoint resource.
getPrivateEndpoint
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic GetShardedDatabaseResponse getShardedDatabase(GetShardedDatabaseRequest request)
ShardedDatabaseService
Gets the details of the Sharded database identified by given id.
getShardedDatabase
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
ShardedDatabaseService
Gets details of the work request with the given ID.
getWorkRequest
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic ListPrivateEndpointsResponse listPrivateEndpoints(ListPrivateEndpointsRequest request)
ShardedDatabaseService
List of PrivateEndpoints.
listPrivateEndpoints
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic ListShardedDatabasesResponse listShardedDatabases(ListShardedDatabasesRequest request)
ShardedDatabaseService
List of Sharded databases.
listShardedDatabases
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
ShardedDatabaseService
Returns a (paginated) list of errors for the work request with the given ID.
listWorkRequestErrors
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
ShardedDatabaseService
Returns a (paginated) list of logs for the work request with the given ID.
listWorkRequestLogs
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
ShardedDatabaseService
Lists the work requests in a compartment.
listWorkRequests
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic PatchShardedDatabaseResponse patchShardedDatabase(PatchShardedDatabaseRequest request)
ShardedDatabaseService
Patch 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.
patchShardedDatabase
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic PrevalidateShardedDatabaseResponse prevalidateShardedDatabase(PrevalidateShardedDatabaseRequest request)
ShardedDatabaseService
Sharded database pre-validation request.
prevalidateShardedDatabase
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic ReinstateProxyInstanceResponse reinstateProxyInstance(ReinstateProxyInstanceRequest request)
ShardedDatabaseService
API to reinstate the proxy instances associated with the private endpoint.
reinstateProxyInstance
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic StartShardedDatabaseResponse startShardedDatabase(StartShardedDatabaseRequest request)
ShardedDatabaseService
Start the shards, catalog and GSMs of Sharded Database.
startShardedDatabase
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic StopShardedDatabaseResponse stopShardedDatabase(StopShardedDatabaseRequest request)
ShardedDatabaseService
Stop the shards, catalog and GSM instances for the sharded database.
stopShardedDatabase
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic UpdatePrivateEndpointResponse updatePrivateEndpoint(UpdatePrivateEndpointRequest request)
ShardedDatabaseService
Updates the configuration of privateendpoint.
updatePrivateEndpoint
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic UpdateShardedDatabaseResponse updateShardedDatabase(UpdateShardedDatabaseRequest request)
ShardedDatabaseService
Updates the configuration of sharded database.
updateShardedDatabase
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic UploadSignedCertificateAndGenerateWalletResponse uploadSignedCertificateAndGenerateWallet(UploadSignedCertificateAndGenerateWalletRequest request)
ShardedDatabaseService
Upload 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.
uploadSignedCertificateAndGenerateWallet
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic ValidateNetworkResponse validateNetwork(ValidateNetworkRequest request)
ShardedDatabaseService
Validate the network connectivity between components of sharded database.
validateNetwork
in interface ShardedDatabaseService
request
- The request object containing the details to sendpublic ShardedDatabaseServiceWaiters getWaiters()
ShardedDatabaseService
Gets the pre-configured waiters available for resources for this service.
getWaiters
in interface ShardedDatabaseService
public ShardedDatabaseServicePaginators getPaginators()
ShardedDatabaseService
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.
getPaginators
in interface ShardedDatabaseService
protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
Copyright © 2016–2024. All rights reserved.