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