Class ScheduleCertificateDeletionRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.certificatesmanagement.requests.ScheduleCertificateDeletionRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ScheduleCertificateDeletionRequest,ScheduleCertificateDeletionDetails>
 - Enclosing class:
- ScheduleCertificateDeletionRequest
 
 public static class ScheduleCertificateDeletionRequest.Builder extends Object implements BmcRequest.Builder<ScheduleCertificateDeletionRequest,ScheduleCertificateDeletionDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleCertificateDeletionRequest.Builderbody$(ScheduleCertificateDeletionDetails body)Alternative setter for the body parameter.ScheduleCertificateDeletionRequestbuild()Build the instance of ScheduleCertificateDeletionRequest as configured by this builderScheduleCertificateDeletionRequestbuildWithoutInvocationCallback()Build the instance of ScheduleCertificateDeletionRequest as configured by this builderScheduleCertificateDeletionRequest.BuildercertificateId(String certificateId)The OCID of the certificate.ScheduleCertificateDeletionRequest.Buildercopy(ScheduleCertificateDeletionRequest o)Copy method to populate the builder with values from the given instance.ScheduleCertificateDeletionRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.ScheduleCertificateDeletionRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ScheduleCertificateDeletionRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ScheduleCertificateDeletionRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ScheduleCertificateDeletionRequest.BuilderscheduleCertificateDeletionDetails(ScheduleCertificateDeletionDetails scheduleCertificateDeletionDetails)The details of the request to schedule a certificate deletion.
 
- 
- 
- 
Method Detail- 
certificateIdpublic ScheduleCertificateDeletionRequest.Builder certificateId(String certificateId) The OCID of the certificate.- Parameters:
- certificateId- the value to set
- Returns:
- this builder instance
 
 - 
scheduleCertificateDeletionDetailspublic ScheduleCertificateDeletionRequest.Builder scheduleCertificateDeletionDetails(ScheduleCertificateDeletionDetails scheduleCertificateDeletionDetails) The details of the request to schedule a certificate deletion.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. - Parameters:
- scheduleCertificateDeletionDetails- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ScheduleCertificateDeletionRequest.Builder opcRequestId(String opcRequestId) Unique Oracle-assigned identifier for the request.If provided, the returned request ID will include this value. Otherwise, a random request ID will be generated by the service. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic ScheduleCertificateDeletionRequest.Builder ifMatch(String ifMatch) For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value. - Parameters:
- ifMatch- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ScheduleCertificateDeletionRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback) Set the invocation callback for the request to be built.- Parameters:
- invocationCallback- the invocation callback to be set for the request
- Returns:
- this builder instance
 
 - 
retryConfigurationpublic ScheduleCertificateDeletionRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration) Set the retry configuration for the request to be built.- Parameters:
- retryConfiguration- the retry configuration to be used for the request
- Returns:
- this builder instance
 
 - 
copypublic ScheduleCertificateDeletionRequest.Builder copy(ScheduleCertificateDeletionRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ScheduleCertificateDeletionRequest,ScheduleCertificateDeletionDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ScheduleCertificateDeletionRequest build() Build the instance of ScheduleCertificateDeletionRequest as configured by this builderNote that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance. - Specified by:
- buildin interface- BmcRequest.Builder<ScheduleCertificateDeletionRequest,ScheduleCertificateDeletionDetails>
- Returns:
- instance of ScheduleCertificateDeletionRequest
 
 - 
body$public ScheduleCertificateDeletionRequest.Builder body$(ScheduleCertificateDeletionDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<ScheduleCertificateDeletionRequest,ScheduleCertificateDeletionDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic ScheduleCertificateDeletionRequest buildWithoutInvocationCallback() Build the instance of ScheduleCertificateDeletionRequest as configured by this builderNote that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of ScheduleCertificateDeletionRequest
 
 
- 
 
-