Class BatchDeleteObjectsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.requests.BatchDeleteObjectsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<BatchDeleteObjectsRequest,BatchDeleteObjectsDetails>
- Enclosing class:
- BatchDeleteObjectsRequest
public static class BatchDeleteObjectsRequest.Builder extends Object implements BmcRequest.Builder<BatchDeleteObjectsRequest,BatchDeleteObjectsDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchDeleteObjectsRequest.BuilderbatchDeleteObjectsDetails(BatchDeleteObjectsDetails batchDeleteObjectsDetails)Details about batch of objects to be deleted.BatchDeleteObjectsRequest.Builderbody$(BatchDeleteObjectsDetails body)Alternative setter for the body parameter.BatchDeleteObjectsRequest.BuilderbucketName(String bucketName)The name of the bucket.BatchDeleteObjectsRequestbuild()Build the instance of BatchDeleteObjectsRequest as configured by this builderBatchDeleteObjectsRequestbuildWithoutInvocationCallback()Build the instance of BatchDeleteObjectsRequest as configured by this builderBatchDeleteObjectsRequest.Buildercopy(BatchDeleteObjectsRequest o)Copy method to populate the builder with values from the given instance.BatchDeleteObjectsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.BatchDeleteObjectsRequest.BuildernamespaceName(String namespaceName)The Object Storage namespace used for the request.BatchDeleteObjectsRequest.BuilderopcClientRequestId(String opcClientRequestId)The client request ID for tracing.BatchDeleteObjectsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
namespaceName
public BatchDeleteObjectsRequest.Builder namespaceName(String namespaceName)
The Object Storage namespace used for the request.- Parameters:
namespaceName- the value to set- Returns:
- this builder instance
-
bucketName
public BatchDeleteObjectsRequest.Builder bucketName(String bucketName)
The name of the bucket.Avoid entering confidential information. Example: my-new-bucket1
- Parameters:
bucketName- the value to set- Returns:
- this builder instance
-
batchDeleteObjectsDetails
public BatchDeleteObjectsRequest.Builder batchDeleteObjectsDetails(BatchDeleteObjectsDetails batchDeleteObjectsDetails)
Details about batch of objects to be deleted.- Parameters:
batchDeleteObjectsDetails- the value to set- Returns:
- this builder instance
-
opcClientRequestId
public BatchDeleteObjectsRequest.Builder opcClientRequestId(String opcClientRequestId)
The client request ID for tracing.- Parameters:
opcClientRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public BatchDeleteObjectsRequest.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 BatchDeleteObjectsRequest.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 BatchDeleteObjectsRequest.Builder copy(BatchDeleteObjectsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<BatchDeleteObjectsRequest,BatchDeleteObjectsDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public BatchDeleteObjectsRequest build()
Build the instance of BatchDeleteObjectsRequest 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 interfaceBmcRequest.Builder<BatchDeleteObjectsRequest,BatchDeleteObjectsDetails>- Returns:
- instance of BatchDeleteObjectsRequest
-
body$
public BatchDeleteObjectsRequest.Builder body$(BatchDeleteObjectsDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<BatchDeleteObjectsRequest,BatchDeleteObjectsDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public BatchDeleteObjectsRequest buildWithoutInvocationCallback()
Build the instance of BatchDeleteObjectsRequest 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 BatchDeleteObjectsRequest
-
-