@Generated(value="OracleSDKGenerator", comments="API Version: 20230301") public class ShardedDatabaseServiceAsyncClient extends BaseAsyncClient implements ShardedDatabaseServiceAsync
Async client implementation for ShardedDatabaseService service.
There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response
to the call is an InputStream
, like getObject Api in object storage service,
developers need to process the stream in AsyncHandler, and not anywhere else, because the stream
will be closed right after the AsyncHandler is invoked.
2. Use Java Future: using Java Future, developers need to close the stream after they are done
with the Java Future.
Accessing the result should be done in a mutually exclusive manner, either through the Future or
the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the
AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine
whether or not the request was completed via Future.isDone/isCancelled.
Please refer to
https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
Modifier and Type | Class and Description |
---|---|
static class |
ShardedDatabaseServiceAsyncClient.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 |
---|
ShardedDatabaseServiceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
ShardedDatabaseServiceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
ShardedDatabaseServiceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
ShardedDatabaseServiceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
ShardedDatabaseServiceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
ShardedDatabaseServiceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
ShardedDatabaseServiceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
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 ShardedDatabaseServiceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ShardedDatabaseServiceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public ShardedDatabaseServiceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ShardedDatabaseServiceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public ShardedDatabaseServiceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ShardedDatabaseServiceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public ShardedDatabaseServiceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ShardedDatabaseServiceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public ShardedDatabaseServiceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ShardedDatabaseServiceAsyncClient.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 ShardedDatabaseServiceAsyncClient(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 ShardedDatabaseServiceAsyncClient.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 ShardedDatabaseServiceAsyncClient(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 ShardedDatabaseServiceAsyncClient.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
public static ShardedDatabaseServiceAsyncClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
ShardedDatabaseServiceAsync
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 ShardedDatabaseServiceAsync
region
- The region of the service.public void setRegion(String regionId)
ShardedDatabaseServiceAsync
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 ShardedDatabaseServiceAsync
regionId
- The public region ID.public Future<ChangePrivateEndpointCompartmentResponse> changePrivateEndpointCompartment(ChangePrivateEndpointCompartmentRequest request, AsyncHandler<ChangePrivateEndpointCompartmentRequest,ChangePrivateEndpointCompartmentResponse> handler)
ShardedDatabaseServiceAsync
Move the private endpoint to the specified compartment.
changePrivateEndpointCompartment
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeShardedDatabaseCompartmentResponse> changeShardedDatabaseCompartment(ChangeShardedDatabaseCompartmentRequest request, AsyncHandler<ChangeShardedDatabaseCompartmentRequest,ChangeShardedDatabaseCompartmentResponse> handler)
ShardedDatabaseServiceAsync
Move the sharded database database and its dependent resources to the specified compartment.
changeShardedDatabaseCompartment
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ConfigureShardedDatabaseGsmsResponse> configureShardedDatabaseGsms(ConfigureShardedDatabaseGsmsRequest request, AsyncHandler<ConfigureShardedDatabaseGsmsRequest,ConfigureShardedDatabaseGsmsResponse> handler)
ShardedDatabaseServiceAsync
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 ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ConfigureShardingResponse> configureSharding(ConfigureShardingRequest request, AsyncHandler<ConfigureShardingRequest,ConfigureShardingResponse> handler)
ShardedDatabaseServiceAsync
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 ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreatePrivateEndpointResponse> createPrivateEndpoint(CreatePrivateEndpointRequest request, AsyncHandler<CreatePrivateEndpointRequest,CreatePrivateEndpointResponse> handler)
ShardedDatabaseServiceAsync
Creates a PrivateEndpoint.
createPrivateEndpoint
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateShardedDatabaseResponse> createShardedDatabase(CreateShardedDatabaseRequest request, AsyncHandler<CreateShardedDatabaseRequest,CreateShardedDatabaseResponse> handler)
ShardedDatabaseServiceAsync
Creates a Sharded Database.
createShardedDatabase
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeletePrivateEndpointResponse> deletePrivateEndpoint(DeletePrivateEndpointRequest request, AsyncHandler<DeletePrivateEndpointRequest,DeletePrivateEndpointResponse> handler)
ShardedDatabaseServiceAsync
Delete the given private endpoint.
deletePrivateEndpoint
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteShardedDatabaseResponse> deleteShardedDatabase(DeleteShardedDatabaseRequest request, AsyncHandler<DeleteShardedDatabaseRequest,DeleteShardedDatabaseResponse> handler)
ShardedDatabaseServiceAsync
Terminate the given sharded databases.
deleteShardedDatabase
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DownloadGsmCertificateSigningRequestResponse> downloadGsmCertificateSigningRequest(DownloadGsmCertificateSigningRequestRequest request, AsyncHandler<DownloadGsmCertificateSigningRequestRequest,DownloadGsmCertificateSigningRequestResponse> handler)
ShardedDatabaseServiceAsync
Generate the common certificate signing request for GSMs. Download the
downloadGsmCertificateSigningRequest
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<FetchConnectionStringResponse> fetchConnectionString(FetchConnectionStringRequest request, AsyncHandler<FetchConnectionStringRequest,FetchConnectionStringResponse> handler)
ShardedDatabaseServiceAsync
Gets the Sharded Database Connection Strings.
fetchConnectionString
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<FetchShardableCloudAutonomousVmClustersResponse> fetchShardableCloudAutonomousVmClusters(FetchShardableCloudAutonomousVmClustersRequest request, AsyncHandler<FetchShardableCloudAutonomousVmClustersRequest,FetchShardableCloudAutonomousVmClustersResponse> handler)
ShardedDatabaseServiceAsync
List of cloudAutonomousVMClusters for the given tenancy, that can be sharded.
fetchShardableCloudAutonomousVmClusters
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GenerateGsmCertificateSigningRequestResponse> generateGsmCertificateSigningRequest(GenerateGsmCertificateSigningRequestRequest request, AsyncHandler<GenerateGsmCertificateSigningRequestRequest,GenerateGsmCertificateSigningRequestResponse> handler)
ShardedDatabaseServiceAsync
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 ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GenerateWalletResponse> generateWallet(GenerateWalletRequest request, AsyncHandler<GenerateWalletRequest,GenerateWalletResponse> handler)
ShardedDatabaseServiceAsync
Generate the wallet associated with sharded database.
generateWallet
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetPrivateEndpointResponse> getPrivateEndpoint(GetPrivateEndpointRequest request, AsyncHandler<GetPrivateEndpointRequest,GetPrivateEndpointResponse> handler)
ShardedDatabaseServiceAsync
Get the PrivateEndpoint resource.
getPrivateEndpoint
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetShardedDatabaseResponse> getShardedDatabase(GetShardedDatabaseRequest request, AsyncHandler<GetShardedDatabaseRequest,GetShardedDatabaseResponse> handler)
ShardedDatabaseServiceAsync
Gets the details of the Sharded database identified by given id.
getShardedDatabase
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
ShardedDatabaseServiceAsync
Gets details of the work request with the given ID.
getWorkRequest
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListPrivateEndpointsResponse> listPrivateEndpoints(ListPrivateEndpointsRequest request, AsyncHandler<ListPrivateEndpointsRequest,ListPrivateEndpointsResponse> handler)
ShardedDatabaseServiceAsync
List of PrivateEndpoints.
listPrivateEndpoints
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListShardedDatabasesResponse> listShardedDatabases(ListShardedDatabasesRequest request, AsyncHandler<ListShardedDatabasesRequest,ListShardedDatabasesResponse> handler)
ShardedDatabaseServiceAsync
List of Sharded databases.
listShardedDatabases
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
ShardedDatabaseServiceAsync
Returns a (paginated) list of errors for the work request with the given ID.
listWorkRequestErrors
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
ShardedDatabaseServiceAsync
Returns a (paginated) list of logs for the work request with the given ID.
listWorkRequestLogs
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
ShardedDatabaseServiceAsync
Lists the work requests in a compartment.
listWorkRequests
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PatchShardedDatabaseResponse> patchShardedDatabase(PatchShardedDatabaseRequest request, AsyncHandler<PatchShardedDatabaseRequest,PatchShardedDatabaseResponse> handler)
ShardedDatabaseServiceAsync
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 ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<PrevalidateShardedDatabaseResponse> prevalidateShardedDatabase(PrevalidateShardedDatabaseRequest request, AsyncHandler<PrevalidateShardedDatabaseRequest,PrevalidateShardedDatabaseResponse> handler)
ShardedDatabaseServiceAsync
Sharded database pre-validation request.
prevalidateShardedDatabase
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ReinstateProxyInstanceResponse> reinstateProxyInstance(ReinstateProxyInstanceRequest request, AsyncHandler<ReinstateProxyInstanceRequest,ReinstateProxyInstanceResponse> handler)
ShardedDatabaseServiceAsync
API to reinstate the proxy instances associated with the private endpoint.
reinstateProxyInstance
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<StartShardedDatabaseResponse> startShardedDatabase(StartShardedDatabaseRequest request, AsyncHandler<StartShardedDatabaseRequest,StartShardedDatabaseResponse> handler)
ShardedDatabaseServiceAsync
Start the shards, catalog and GSMs of Sharded Database.
startShardedDatabase
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<StopShardedDatabaseResponse> stopShardedDatabase(StopShardedDatabaseRequest request, AsyncHandler<StopShardedDatabaseRequest,StopShardedDatabaseResponse> handler)
ShardedDatabaseServiceAsync
Stop the shards, catalog and GSM instances for the sharded database.
stopShardedDatabase
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdatePrivateEndpointResponse> updatePrivateEndpoint(UpdatePrivateEndpointRequest request, AsyncHandler<UpdatePrivateEndpointRequest,UpdatePrivateEndpointResponse> handler)
ShardedDatabaseServiceAsync
Updates the configuration of privateendpoint.
updatePrivateEndpoint
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateShardedDatabaseResponse> updateShardedDatabase(UpdateShardedDatabaseRequest request, AsyncHandler<UpdateShardedDatabaseRequest,UpdateShardedDatabaseResponse> handler)
ShardedDatabaseServiceAsync
Updates the configuration of sharded database.
updateShardedDatabase
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UploadSignedCertificateAndGenerateWalletResponse> uploadSignedCertificateAndGenerateWallet(UploadSignedCertificateAndGenerateWalletRequest request, AsyncHandler<UploadSignedCertificateAndGenerateWalletRequest,UploadSignedCertificateAndGenerateWalletResponse> handler)
ShardedDatabaseServiceAsync
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 ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ValidateNetworkResponse> validateNetwork(ValidateNetworkRequest request, AsyncHandler<ValidateNetworkRequest,ValidateNetworkResponse> handler)
ShardedDatabaseServiceAsync
Validate the network connectivity between components of sharded database.
validateNetwork
in interface ShardedDatabaseServiceAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.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()
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
protected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>> ClientCall<REQ,RESP,RESP_BUILDER> clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder)
Copyright © 2016–2024. All rights reserved.