Class ScheduleCertificateVersionDeletionRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.certificatesmanagement.requests.ScheduleCertificateVersionDeletionRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ScheduleCertificateVersionDeletionRequest,ScheduleCertificateVersionDeletionDetails>
- Enclosing class:
- ScheduleCertificateVersionDeletionRequest
public static class ScheduleCertificateVersionDeletionRequest.Builder extends Object implements BmcRequest.Builder<ScheduleCertificateVersionDeletionRequest,ScheduleCertificateVersionDeletionDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleCertificateVersionDeletionRequest.Builder
body$(ScheduleCertificateVersionDeletionDetails body)
Alternative setter for the body parameter.ScheduleCertificateVersionDeletionRequest
build()
Build the instance of ScheduleCertificateVersionDeletionRequest as configured by this builderScheduleCertificateVersionDeletionRequest
buildWithoutInvocationCallback()
Build the instance of ScheduleCertificateVersionDeletionRequest as configured by this builderScheduleCertificateVersionDeletionRequest.Builder
certificateId(String certificateId)
The OCID of the certificate.ScheduleCertificateVersionDeletionRequest.Builder
certificateVersionNumber(Long certificateVersionNumber)
The version number of the certificate.ScheduleCertificateVersionDeletionRequest.Builder
copy(ScheduleCertificateVersionDeletionRequest o)
Copy method to populate the builder with values from the given instance.ScheduleCertificateVersionDeletionRequest.Builder
ifMatch(String ifMatch)
For optimistic concurrency control.ScheduleCertificateVersionDeletionRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ScheduleCertificateVersionDeletionRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.ScheduleCertificateVersionDeletionRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ScheduleCertificateVersionDeletionRequest.Builder
scheduleCertificateVersionDeletionDetails(ScheduleCertificateVersionDeletionDetails scheduleCertificateVersionDeletionDetails)
The details of the request to delete a certificate version.
-
-
-
Method Detail
-
certificateId
public ScheduleCertificateVersionDeletionRequest.Builder certificateId(String certificateId)
The OCID of the certificate.- Parameters:
certificateId
- the value to set- Returns:
- this builder instance
-
certificateVersionNumber
public ScheduleCertificateVersionDeletionRequest.Builder certificateVersionNumber(Long certificateVersionNumber)
The version number of the certificate.- Parameters:
certificateVersionNumber
- the value to set- Returns:
- this builder instance
-
scheduleCertificateVersionDeletionDetails
public ScheduleCertificateVersionDeletionRequest.Builder scheduleCertificateVersionDeletionDetails(ScheduleCertificateVersionDeletionDetails scheduleCertificateVersionDeletionDetails)
The details of the request to delete a certificate version.- Parameters:
scheduleCertificateVersionDeletionDetails
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ScheduleCertificateVersionDeletionRequest.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
-
ifMatch
public ScheduleCertificateVersionDeletionRequest.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
-
invocationCallback
public ScheduleCertificateVersionDeletionRequest.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
-
retryConfiguration
public ScheduleCertificateVersionDeletionRequest.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
-
copy
public ScheduleCertificateVersionDeletionRequest.Builder copy(ScheduleCertificateVersionDeletionRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ScheduleCertificateVersionDeletionRequest,ScheduleCertificateVersionDeletionDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ScheduleCertificateVersionDeletionRequest build()
Build the instance of ScheduleCertificateVersionDeletionRequest 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:
build
in interfaceBmcRequest.Builder<ScheduleCertificateVersionDeletionRequest,ScheduleCertificateVersionDeletionDetails>
- Returns:
- instance of ScheduleCertificateVersionDeletionRequest
-
body$
public ScheduleCertificateVersionDeletionRequest.Builder body$(ScheduleCertificateVersionDeletionDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<ScheduleCertificateVersionDeletionRequest,ScheduleCertificateVersionDeletionDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public ScheduleCertificateVersionDeletionRequest buildWithoutInvocationCallback()
Build the instance of ScheduleCertificateVersionDeletionRequest 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 ScheduleCertificateVersionDeletionRequest
-
-