Interface CertificatesManagement
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
CertificatesManagementClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20210224") public interface CertificatesManagement extends AutoCloseable
API for managing certificates.This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user.
-
-
Method Summary
-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
refreshClient
void refreshClient()
Rebuilds the client from scratch.Useful to refresh certificates.
-
setEndpoint
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).- Parameters:
endpoint
- The endpoint of the service.
-
getEndpoint
String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
-
setRegion
void setRegion(Region region)
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.- Parameters:
region
- The region of the service.
-
setRegion
void setRegion(String regionId)
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 callsetEndpoint
.- Parameters:
regionId
- The public region ID.
-
useRealmSpecificEndpointTemplate
void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not.Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”
- Parameters:
realmSpecificEndpointTemplateEnabled
- flag to enable the use of realm specific endpoint template
-
cancelCertificateAuthorityDeletion
CancelCertificateAuthorityDeletionResponse cancelCertificateAuthorityDeletion(CancelCertificateAuthorityDeletionRequest request)
Cancels the scheduled deletion of the specified certificate authority (CA).- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/CancelCertificateAuthorityDeletionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CancelCertificateAuthorityDeletion API.
-
cancelCertificateAuthorityVersionDeletion
CancelCertificateAuthorityVersionDeletionResponse cancelCertificateAuthorityVersionDeletion(CancelCertificateAuthorityVersionDeletionRequest request)
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.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/CancelCertificateAuthorityVersionDeletionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CancelCertificateAuthorityVersionDeletion API.
-
cancelCertificateDeletion
CancelCertificateDeletionResponse cancelCertificateDeletion(CancelCertificateDeletionRequest request)
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.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/CancelCertificateDeletionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CancelCertificateDeletion API.
-
cancelCertificateVersionDeletion
CancelCertificateVersionDeletionResponse cancelCertificateVersionDeletion(CancelCertificateVersionDeletionRequest request)
Cancels the scheduled deletion of the specified certificate version.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/CancelCertificateVersionDeletionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CancelCertificateVersionDeletion API.
-
changeCaBundleCompartment
ChangeCaBundleCompartmentResponse changeCaBundleCompartment(ChangeCaBundleCompartmentRequest request)
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.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/ChangeCaBundleCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeCaBundleCompartment API.
-
changeCertificateAuthorityCompartment
ChangeCertificateAuthorityCompartmentResponse changeCertificateAuthorityCompartment(ChangeCertificateAuthorityCompartmentRequest request)
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.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/ChangeCertificateAuthorityCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeCertificateAuthorityCompartment API.
-
changeCertificateCompartment
ChangeCertificateCompartmentResponse changeCertificateCompartment(ChangeCertificateCompartmentRequest request)
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.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/ChangeCertificateCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeCertificateCompartment API.
-
createCaBundle
CreateCaBundleResponse createCaBundle(CreateCaBundleRequest request)
Creates a new CA bundle according to the details of the request.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/CreateCaBundleExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateCaBundle API.
-
createCertificate
CreateCertificateResponse createCertificate(CreateCertificateRequest request)
Creates a new certificate according to the details of the request.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/CreateCertificateExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateCertificate API.
-
createCertificateAuthority
CreateCertificateAuthorityResponse createCertificateAuthority(CreateCertificateAuthorityRequest request)
Creates a new certificate authority (CA) according to the details of the request.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/CreateCertificateAuthorityExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateCertificateAuthority API.
-
deleteCaBundle
DeleteCaBundleResponse deleteCaBundle(DeleteCaBundleRequest request)
Deletes the specified CA bundle.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/DeleteCaBundleExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteCaBundle API.
-
getAssociation
GetAssociationResponse getAssociation(GetAssociationRequest request)
Gets details about the specified association.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/GetAssociationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetAssociation API.
-
getCaBundle
GetCaBundleResponse getCaBundle(GetCaBundleRequest request)
Gets details about the specified CA bundle.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/GetCaBundleExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetCaBundle API.
-
getCertificate
GetCertificateResponse getCertificate(GetCertificateRequest request)
Gets details about the specified certificate.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/GetCertificateExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetCertificate API.
-
getCertificateAuthority
GetCertificateAuthorityResponse getCertificateAuthority(GetCertificateAuthorityRequest request)
Gets details about the specified certificate authority (CA).- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/GetCertificateAuthorityExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetCertificateAuthority API.
-
getCertificateAuthorityVersion
GetCertificateAuthorityVersionResponse getCertificateAuthorityVersion(GetCertificateAuthorityVersionRequest request)
Gets details about the specified certificate authority (CA) version.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/GetCertificateAuthorityVersionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetCertificateAuthorityVersion API.
-
getCertificateVersion
GetCertificateVersionResponse getCertificateVersion(GetCertificateVersionRequest request)
Gets details about the specified version of a certificate.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/GetCertificateVersionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetCertificateVersion API.
-
listAssociations
ListAssociationsResponse listAssociations(ListAssociationsRequest request)
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.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/ListAssociationsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListAssociations API.
-
listCaBundles
ListCaBundlesResponse listCaBundles(ListCaBundlesRequest request)
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.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/ListCaBundlesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListCaBundles API.
-
listCertificateAuthorities
ListCertificateAuthoritiesResponse listCertificateAuthorities(ListCertificateAuthoritiesRequest request)
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.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/ListCertificateAuthoritiesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListCertificateAuthorities API.
-
listCertificateAuthorityVersions
ListCertificateAuthorityVersionsResponse listCertificateAuthorityVersions(ListCertificateAuthorityVersionsRequest request)
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.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/ListCertificateAuthorityVersionsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListCertificateAuthorityVersions API.
-
listCertificateVersions
ListCertificateVersionsResponse listCertificateVersions(ListCertificateVersionsRequest request)
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.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/ListCertificateVersionsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListCertificateVersions API.
-
listCertificates
ListCertificatesResponse listCertificates(ListCertificatesRequest request)
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.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/ListCertificatesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListCertificates API.
-
revokeCertificateAuthorityVersion
RevokeCertificateAuthorityVersionResponse revokeCertificateAuthorityVersion(RevokeCertificateAuthorityVersionRequest request)
Revokes a certificate authority (CA) version.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/RevokeCertificateAuthorityVersionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RevokeCertificateAuthorityVersion API.
-
revokeCertificateVersion
RevokeCertificateVersionResponse revokeCertificateVersion(RevokeCertificateVersionRequest request)
Revokes the specified certificate version.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/RevokeCertificateVersionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RevokeCertificateVersion API.
-
scheduleCertificateAuthorityDeletion
ScheduleCertificateAuthorityDeletionResponse scheduleCertificateAuthorityDeletion(ScheduleCertificateAuthorityDeletionRequest request)
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 usingGetCertificateAuthority
.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/ScheduleCertificateAuthorityDeletionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ScheduleCertificateAuthorityDeletion API.
-
scheduleCertificateAuthorityVersionDeletion
ScheduleCertificateAuthorityVersionDeletionResponse scheduleCertificateAuthorityVersionDeletion(ScheduleCertificateAuthorityVersionDeletionRequest request)
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 usingGetCertificateAuthorityVersion
.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/ScheduleCertificateAuthorityVersionDeletionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ScheduleCertificateAuthorityVersionDeletion API.
-
scheduleCertificateDeletion
ScheduleCertificateDeletionResponse scheduleCertificateDeletion(ScheduleCertificateDeletionRequest request)
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 useGetCertificate
to determine the current deletion status.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/ScheduleCertificateDeletionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ScheduleCertificateDeletion API.
-
scheduleCertificateVersionDeletion
ScheduleCertificateVersionDeletionResponse scheduleCertificateVersionDeletion(ScheduleCertificateVersionDeletionRequest request)
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 asDEPRECATED
.You can subsequently use `GetCertificateVersion` to determine the current certificate version deletion status.
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/ScheduleCertificateVersionDeletionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ScheduleCertificateVersionDeletion API.
-
updateCaBundle
UpdateCaBundleResponse updateCaBundle(UpdateCaBundleRequest request)
Updates the properties of a CA bundle.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/UpdateCaBundleExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateCaBundle API.
-
updateCertificate
UpdateCertificateResponse updateCertificate(UpdateCertificateRequest request)
Updates the properties of a certificate.- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/UpdateCertificateExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateCertificate API.
-
updateCertificateAuthority
UpdateCertificateAuthorityResponse updateCertificateAuthority(UpdateCertificateAuthorityRequest request)
Updates the properties of the specified certificate authority (CA).- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException
- when an error occurs. This operation will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/certificatesmanagement/UpdateCertificateAuthorityExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateCertificateAuthority API.
-
getWaiters
CertificatesManagementWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
-
getPaginators
CertificatesManagementPaginators getPaginators()
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.- Returns:
- The service paginators.
-
-