@Generated(value="OracleSDKGenerator", comments="API Version: 20210224") public class CertificatesManagementClient extends BaseSyncClient implements CertificatesManagement
Modifier and Type | Class and Description |
---|---|
static class |
CertificatesManagementClient.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 |
---|
CertificatesManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
CertificatesManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
CertificatesManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
CertificatesManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
CertificatesManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Deprecated.
Use the
builder instead. |
CertificatesManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
CertificatesManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
CertificatesManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
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 CertificatesManagement.
public final String clientCommonLibraryVersion
@Deprecated public CertificatesManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see CertificatesManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public CertificatesManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see CertificatesManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public CertificatesManagementClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see CertificatesManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public CertificatesManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see CertificatesManagementClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public CertificatesManagementClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see CertificatesManagementClient.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 CertificatesManagementClient(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 CertificatesManagementClient.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 CertificatesManagementClient(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 CertificatesManagementClient.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 CertificatesManagementClient(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 CertificatesManagementClient.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
- CertificatesManagementClient.Builder.executorService
public static CertificatesManagementClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
CertificatesManagement
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 CertificatesManagement
region
- The region of the service.public void setRegion(String regionId)
CertificatesManagement
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 CertificatesManagement
regionId
- The public region ID.public CancelCertificateAuthorityDeletionResponse cancelCertificateAuthorityDeletion(CancelCertificateAuthorityDeletionRequest request)
CertificatesManagement
Cancels the scheduled deletion of the specified certificate authority (CA).
cancelCertificateAuthorityDeletion
in interface CertificatesManagement
request
- The request object containing the details to sendpublic CancelCertificateAuthorityVersionDeletionResponse cancelCertificateAuthorityVersionDeletion(CancelCertificateAuthorityVersionDeletionRequest request)
CertificatesManagement
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 CertificatesManagement
request
- The request object containing the details to sendpublic CancelCertificateDeletionResponse cancelCertificateDeletion(CancelCertificateDeletionRequest request)
CertificatesManagement
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 CertificatesManagement
request
- The request object containing the details to sendpublic CancelCertificateVersionDeletionResponse cancelCertificateVersionDeletion(CancelCertificateVersionDeletionRequest request)
CertificatesManagement
Cancels the scheduled deletion of the specified certificate version.
cancelCertificateVersionDeletion
in interface CertificatesManagement
request
- The request object containing the details to sendpublic ChangeCaBundleCompartmentResponse changeCaBundleCompartment(ChangeCaBundleCompartmentRequest request)
CertificatesManagement
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 CertificatesManagement
request
- The request object containing the details to sendpublic ChangeCertificateAuthorityCompartmentResponse changeCertificateAuthorityCompartment(ChangeCertificateAuthorityCompartmentRequest request)
CertificatesManagement
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 CertificatesManagement
request
- The request object containing the details to sendpublic ChangeCertificateCompartmentResponse changeCertificateCompartment(ChangeCertificateCompartmentRequest request)
CertificatesManagement
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 CertificatesManagement
request
- The request object containing the details to sendpublic CreateCaBundleResponse createCaBundle(CreateCaBundleRequest request)
CertificatesManagement
Creates a new CA bundle according to the details of the request.
createCaBundle
in interface CertificatesManagement
request
- The request object containing the details to sendpublic CreateCertificateResponse createCertificate(CreateCertificateRequest request)
CertificatesManagement
Creates a new certificate according to the details of the request.
createCertificate
in interface CertificatesManagement
request
- The request object containing the details to sendpublic CreateCertificateAuthorityResponse createCertificateAuthority(CreateCertificateAuthorityRequest request)
CertificatesManagement
Creates a new certificate authority (CA) according to the details of the request.
createCertificateAuthority
in interface CertificatesManagement
request
- The request object containing the details to sendpublic DeleteCaBundleResponse deleteCaBundle(DeleteCaBundleRequest request)
CertificatesManagement
Deletes the specified CA bundle.
deleteCaBundle
in interface CertificatesManagement
request
- The request object containing the details to sendpublic GetAssociationResponse getAssociation(GetAssociationRequest request)
CertificatesManagement
Gets details about the specified association.
getAssociation
in interface CertificatesManagement
request
- The request object containing the details to sendpublic GetCaBundleResponse getCaBundle(GetCaBundleRequest request)
CertificatesManagement
Gets details about the specified CA bundle.
getCaBundle
in interface CertificatesManagement
request
- The request object containing the details to sendpublic GetCertificateResponse getCertificate(GetCertificateRequest request)
CertificatesManagement
Gets details about the specified certificate.
getCertificate
in interface CertificatesManagement
request
- The request object containing the details to sendpublic GetCertificateAuthorityResponse getCertificateAuthority(GetCertificateAuthorityRequest request)
CertificatesManagement
Gets details about the specified certificate authority (CA).
getCertificateAuthority
in interface CertificatesManagement
request
- The request object containing the details to sendpublic GetCertificateAuthorityVersionResponse getCertificateAuthorityVersion(GetCertificateAuthorityVersionRequest request)
CertificatesManagement
Gets details about the specified certificate authority (CA) version.
getCertificateAuthorityVersion
in interface CertificatesManagement
request
- The request object containing the details to sendpublic GetCertificateVersionResponse getCertificateVersion(GetCertificateVersionRequest request)
CertificatesManagement
Gets details about the specified version of a certificate.
getCertificateVersion
in interface CertificatesManagement
request
- The request object containing the details to sendpublic ListAssociationsResponse listAssociations(ListAssociationsRequest request)
CertificatesManagement
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 CertificatesManagement
request
- The request object containing the details to sendpublic ListCaBundlesResponse listCaBundles(ListCaBundlesRequest request)
CertificatesManagement
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 CertificatesManagement
request
- The request object containing the details to sendpublic ListCertificateAuthoritiesResponse listCertificateAuthorities(ListCertificateAuthoritiesRequest request)
CertificatesManagement
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 CertificatesManagement
request
- The request object containing the details to sendpublic ListCertificateAuthorityVersionsResponse listCertificateAuthorityVersions(ListCertificateAuthorityVersionsRequest request)
CertificatesManagement
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 CertificatesManagement
request
- The request object containing the details to sendpublic ListCertificateVersionsResponse listCertificateVersions(ListCertificateVersionsRequest request)
CertificatesManagement
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 CertificatesManagement
request
- The request object containing the details to sendpublic ListCertificatesResponse listCertificates(ListCertificatesRequest request)
CertificatesManagement
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 CertificatesManagement
request
- The request object containing the details to sendpublic RevokeCertificateAuthorityVersionResponse revokeCertificateAuthorityVersion(RevokeCertificateAuthorityVersionRequest request)
CertificatesManagement
Revokes a certificate authority (CA) version.
revokeCertificateAuthorityVersion
in interface CertificatesManagement
request
- The request object containing the details to sendpublic RevokeCertificateVersionResponse revokeCertificateVersion(RevokeCertificateVersionRequest request)
CertificatesManagement
Revokes the specified certificate version.
revokeCertificateVersion
in interface CertificatesManagement
request
- The request object containing the details to sendpublic ScheduleCertificateAuthorityDeletionResponse scheduleCertificateAuthorityDeletion(ScheduleCertificateAuthorityDeletionRequest request)
CertificatesManagement
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 CertificatesManagement
request
- The request object containing the details to sendpublic ScheduleCertificateAuthorityVersionDeletionResponse scheduleCertificateAuthorityVersionDeletion(ScheduleCertificateAuthorityVersionDeletionRequest request)
CertificatesManagement
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 CertificatesManagement
request
- The request object containing the details to sendpublic ScheduleCertificateDeletionResponse scheduleCertificateDeletion(ScheduleCertificateDeletionRequest request)
CertificatesManagement
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 CertificatesManagement
request
- The request object containing the details to sendpublic ScheduleCertificateVersionDeletionResponse scheduleCertificateVersionDeletion(ScheduleCertificateVersionDeletionRequest request)
CertificatesManagement
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 CertificatesManagement
request
- The request object containing the details to sendpublic UpdateCaBundleResponse updateCaBundle(UpdateCaBundleRequest request)
CertificatesManagement
Updates the properties of a CA bundle.
updateCaBundle
in interface CertificatesManagement
request
- The request object containing the details to sendpublic UpdateCertificateResponse updateCertificate(UpdateCertificateRequest request)
CertificatesManagement
Updates the properties of a certificate.
updateCertificate
in interface CertificatesManagement
request
- The request object containing the details to sendpublic UpdateCertificateAuthorityResponse updateCertificateAuthority(UpdateCertificateAuthorityRequest request)
CertificatesManagement
Updates the properties of the specified certificate authority (CA).
updateCertificateAuthority
in interface CertificatesManagement
request
- The request object containing the details to sendpublic CertificatesManagementWaiters getWaiters()
CertificatesManagement
Gets the pre-configured waiters available for resources for this service.
getWaiters
in interface CertificatesManagement
public CertificatesManagementPaginators getPaginators()
CertificatesManagement
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 CertificatesManagement
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.