@Generated(value="OracleSDKGenerator", comments="API Version: 20210224") public class CertificatesManagementAsyncClient extends BaseAsyncClient implements CertificatesManagementAsync
Async client implementation for CertificatesManagement 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 |
CertificatesManagementAsyncClient.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 CertificatesManagement.
|
Constructor and Description |
---|
CertificatesManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
CertificatesManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
CertificatesManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
CertificatesManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
CertificatesManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
CertificatesManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
CertificatesManagementAsyncClient(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 CertificatesManagement.
public final String clientCommonLibraryVersion
@Deprecated public CertificatesManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see CertificatesManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public CertificatesManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see CertificatesManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public CertificatesManagementAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see CertificatesManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public CertificatesManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see CertificatesManagementAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public CertificatesManagementAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see CertificatesManagementAsyncClient.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 CertificatesManagementAsyncClient(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 CertificatesManagementAsyncClient.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 CertificatesManagementAsyncClient(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 CertificatesManagementAsyncClient.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 CertificatesManagementAsyncClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
CertificatesManagementAsync
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 CertificatesManagementAsync
region
- The region of the service.public void setRegion(String regionId)
CertificatesManagementAsync
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 CertificatesManagementAsync
regionId
- The public region ID.public Future<CancelCertificateAuthorityDeletionResponse> cancelCertificateAuthorityDeletion(CancelCertificateAuthorityDeletionRequest request, AsyncHandler<CancelCertificateAuthorityDeletionRequest,CancelCertificateAuthorityDeletionResponse> handler)
CertificatesManagementAsync
Cancels the scheduled deletion of the specified certificate authority (CA).
cancelCertificateAuthorityDeletion
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CancelCertificateAuthorityVersionDeletionResponse> cancelCertificateAuthorityVersionDeletion(CancelCertificateAuthorityVersionDeletionRequest request, AsyncHandler<CancelCertificateAuthorityVersionDeletionRequest,CancelCertificateAuthorityVersionDeletionResponse> handler)
CertificatesManagementAsync
Cancels the scheduled deletion of the specified certificate authority (CA) version. Canceling a scheduled deletion restores the CA version’s lifecycle state to what it was before its scheduled deletion.
cancelCertificateAuthorityVersionDeletion
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CancelCertificateDeletionResponse> cancelCertificateDeletion(CancelCertificateDeletionRequest request, AsyncHandler<CancelCertificateDeletionRequest,CancelCertificateDeletionResponse> handler)
CertificatesManagementAsync
Cancels the pending deletion of the specified certificate. Canceling a scheduled deletion restores the certificate’s lifecycle state to what it was before you scheduled the certificate for deletion.
cancelCertificateDeletion
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CancelCertificateVersionDeletionResponse> cancelCertificateVersionDeletion(CancelCertificateVersionDeletionRequest request, AsyncHandler<CancelCertificateVersionDeletionRequest,CancelCertificateVersionDeletionResponse> handler)
CertificatesManagementAsync
Cancels the scheduled deletion of the specified certificate version.
cancelCertificateVersionDeletion
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeCaBundleCompartmentResponse> changeCaBundleCompartment(ChangeCaBundleCompartmentRequest request, AsyncHandler<ChangeCaBundleCompartmentRequest,ChangeCaBundleCompartmentResponse> handler)
CertificatesManagementAsync
Moves a CA bundle to a different compartment in the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
When provided, if-match is checked against the ETag values of the secret.
changeCaBundleCompartment
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeCertificateAuthorityCompartmentResponse> changeCertificateAuthorityCompartment(ChangeCertificateAuthorityCompartmentRequest request, AsyncHandler<ChangeCertificateAuthorityCompartmentRequest,ChangeCertificateAuthorityCompartmentResponse> handler)
CertificatesManagementAsync
Moves a certificate authority (CA) to a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
When provided, If-Match is checked against the ETag values of the source.
changeCertificateAuthorityCompartment
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeCertificateCompartmentResponse> changeCertificateCompartment(ChangeCertificateCompartmentRequest request, AsyncHandler<ChangeCertificateCompartmentRequest,ChangeCertificateCompartmentResponse> handler)
CertificatesManagementAsync
Moves a certificate to a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
When provided, if-match is checked against the ETag values of the secret.
changeCertificateCompartment
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateCaBundleResponse> createCaBundle(CreateCaBundleRequest request, AsyncHandler<CreateCaBundleRequest,CreateCaBundleResponse> handler)
CertificatesManagementAsync
Creates a new CA bundle according to the details of the request.
createCaBundle
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateCertificateResponse> createCertificate(CreateCertificateRequest request, AsyncHandler<CreateCertificateRequest,CreateCertificateResponse> handler)
CertificatesManagementAsync
Creates a new certificate according to the details of the request.
createCertificate
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateCertificateAuthorityResponse> createCertificateAuthority(CreateCertificateAuthorityRequest request, AsyncHandler<CreateCertificateAuthorityRequest,CreateCertificateAuthorityResponse> handler)
CertificatesManagementAsync
Creates a new certificate authority (CA) according to the details of the request.
createCertificateAuthority
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteCaBundleResponse> deleteCaBundle(DeleteCaBundleRequest request, AsyncHandler<DeleteCaBundleRequest,DeleteCaBundleResponse> handler)
CertificatesManagementAsync
Deletes the specified CA bundle.
deleteCaBundle
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetAssociationResponse> getAssociation(GetAssociationRequest request, AsyncHandler<GetAssociationRequest,GetAssociationResponse> handler)
CertificatesManagementAsync
Gets details about the specified association.
getAssociation
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetCaBundleResponse> getCaBundle(GetCaBundleRequest request, AsyncHandler<GetCaBundleRequest,GetCaBundleResponse> handler)
CertificatesManagementAsync
Gets details about the specified CA bundle.
getCaBundle
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetCertificateResponse> getCertificate(GetCertificateRequest request, AsyncHandler<GetCertificateRequest,GetCertificateResponse> handler)
CertificatesManagementAsync
Gets details about the specified certificate.
getCertificate
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetCertificateAuthorityResponse> getCertificateAuthority(GetCertificateAuthorityRequest request, AsyncHandler<GetCertificateAuthorityRequest,GetCertificateAuthorityResponse> handler)
CertificatesManagementAsync
Gets details about the specified certificate authority (CA).
getCertificateAuthority
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetCertificateAuthorityVersionResponse> getCertificateAuthorityVersion(GetCertificateAuthorityVersionRequest request, AsyncHandler<GetCertificateAuthorityVersionRequest,GetCertificateAuthorityVersionResponse> handler)
CertificatesManagementAsync
Gets details about the specified certificate authority (CA) version.
getCertificateAuthorityVersion
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetCertificateVersionResponse> getCertificateVersion(GetCertificateVersionRequest request, AsyncHandler<GetCertificateVersionRequest,GetCertificateVersionResponse> handler)
CertificatesManagementAsync
Gets details about the specified version of a certificate.
getCertificateVersion
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListAssociationsResponse> listAssociations(ListAssociationsRequest request, AsyncHandler<ListAssociationsRequest,ListAssociationsResponse> handler)
CertificatesManagementAsync
Lists all associations that match the query parameters. Optionally, you can use the parameter
FilterByAssociationIdQueryParam
to limit the result set to a single item that matches the
specified association.
listAssociations
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListCaBundlesResponse> listCaBundles(ListCaBundlesRequest request, AsyncHandler<ListCaBundlesRequest,ListCaBundlesResponse> handler)
CertificatesManagementAsync
Lists all CA bundles that match the query parameters. Optionally, you can use the parameter
FilterByCaBundleIdQueryParam
to limit the result set to a single item that matches the
specified CA bundle.
listCaBundles
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListCertificateAuthoritiesResponse> listCertificateAuthorities(ListCertificateAuthoritiesRequest request, AsyncHandler<ListCertificateAuthoritiesRequest,ListCertificateAuthoritiesResponse> handler)
CertificatesManagementAsync
Lists all certificate authorities (CAs) in the specified compartment. Optionally, you can use
the parameter FilterByCertificateAuthorityIdQueryParam
to limit the results to a single
item that matches the specified CA.
listCertificateAuthorities
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListCertificateAuthorityVersionsResponse> listCertificateAuthorityVersions(ListCertificateAuthorityVersionsRequest request, AsyncHandler<ListCertificateAuthorityVersionsRequest,ListCertificateAuthorityVersionsResponse> handler)
CertificatesManagementAsync
Lists all versions for the specified certificate authority (CA). Optionally, you can use the
parameter FilterByVersionNumberQueryParam
to limit the results to a single item that
matches the specified version number.
listCertificateAuthorityVersions
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListCertificateVersionsResponse> listCertificateVersions(ListCertificateVersionsRequest request, AsyncHandler<ListCertificateVersionsRequest,ListCertificateVersionsResponse> handler)
CertificatesManagementAsync
Lists all certificate versions for the specified certificate. Optionally, you can use the
parameter FilterByVersionNumberQueryParam
to limit the result set to a single item that
matches the specified version number.
listCertificateVersions
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListCertificatesResponse> listCertificates(ListCertificatesRequest request, AsyncHandler<ListCertificatesRequest,ListCertificatesResponse> handler)
CertificatesManagementAsync
Lists all certificates that match the query parameters. Optionally, you can use the parameter
FilterByCertificateIdQueryParam
to limit the result set to a single item that matches the
specified certificate.
listCertificates
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RevokeCertificateAuthorityVersionResponse> revokeCertificateAuthorityVersion(RevokeCertificateAuthorityVersionRequest request, AsyncHandler<RevokeCertificateAuthorityVersionRequest,RevokeCertificateAuthorityVersionResponse> handler)
CertificatesManagementAsync
Revokes a certificate authority (CA) version.
revokeCertificateAuthorityVersion
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RevokeCertificateVersionResponse> revokeCertificateVersion(RevokeCertificateVersionRequest request, AsyncHandler<RevokeCertificateVersionRequest,RevokeCertificateVersionResponse> handler)
CertificatesManagementAsync
Revokes the specified certificate version.
revokeCertificateVersion
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ScheduleCertificateAuthorityDeletionResponse> scheduleCertificateAuthorityDeletion(ScheduleCertificateAuthorityDeletionRequest request, AsyncHandler<ScheduleCertificateAuthorityDeletionRequest,ScheduleCertificateAuthorityDeletionResponse> handler)
CertificatesManagementAsync
Schedules the deletion of the specified certificate authority (CA). This sets the lifecycle
state of the CA to PENDING_DELETION
and then deletes it after the specified retention
period ends. If needed, you can determine the status of the deletion by using
GetCertificateAuthority
.
scheduleCertificateAuthorityDeletion
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ScheduleCertificateAuthorityVersionDeletionResponse> scheduleCertificateAuthorityVersionDeletion(ScheduleCertificateAuthorityVersionDeletionRequest request, AsyncHandler<ScheduleCertificateAuthorityVersionDeletionRequest,ScheduleCertificateAuthorityVersionDeletionResponse> handler)
CertificatesManagementAsync
Schedules the deletion of the specified certificate authority (CA) version. This sets the
lifecycle state of the CA version to PENDING_DELETION
and then deletes it after the
specified retention period ends. If needed, you can determine the status of the deletion by
using GetCertificateAuthorityVersion
.
scheduleCertificateAuthorityVersionDeletion
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ScheduleCertificateDeletionResponse> scheduleCertificateDeletion(ScheduleCertificateDeletionRequest request, AsyncHandler<ScheduleCertificateDeletionRequest,ScheduleCertificateDeletionResponse> handler)
CertificatesManagementAsync
Schedules the deletion of the specified certificate. This sets the lifecycle state of the
certificate to PENDING_DELETION
and then deletes it after the specified retention period
ends. You can subsequently use GetCertificate
to determine the current deletion status.
scheduleCertificateDeletion
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ScheduleCertificateVersionDeletionResponse> scheduleCertificateVersionDeletion(ScheduleCertificateVersionDeletionRequest request, AsyncHandler<ScheduleCertificateVersionDeletionRequest,ScheduleCertificateVersionDeletionResponse> handler)
CertificatesManagementAsync
Schedules the deletion of the specified certificate version. This sets the lifecycle state of
the certificate version to PENDING_DELETION
and then deletes it after the specified
retention period ends. You can only delete a certificate version if the certificate version
rotation state is marked as DEPRECATED
.
You can subsequently use `GetCertificateVersion` to determine the current certificate version deletion status.
scheduleCertificateVersionDeletion
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateCaBundleResponse> updateCaBundle(UpdateCaBundleRequest request, AsyncHandler<UpdateCaBundleRequest,UpdateCaBundleResponse> handler)
CertificatesManagementAsync
Updates the properties of a CA bundle.
updateCaBundle
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateCertificateResponse> updateCertificate(UpdateCertificateRequest request, AsyncHandler<UpdateCertificateRequest,UpdateCertificateResponse> handler)
CertificatesManagementAsync
Updates the properties of a certificate.
updateCertificate
in interface CertificatesManagementAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateCertificateAuthorityResponse> updateCertificateAuthority(UpdateCertificateAuthorityRequest request, AsyncHandler<UpdateCertificateAuthorityRequest,UpdateCertificateAuthorityResponse> handler)
CertificatesManagementAsync
Updates the properties of the specified certificate authority (CA).
updateCertificateAuthority
in interface CertificatesManagementAsync
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.