Class ReencryptObjectRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.requests.ReencryptObjectRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ReencryptObjectRequest,ReencryptObjectDetails>
- Enclosing class:
- ReencryptObjectRequest
public static class ReencryptObjectRequest.Builder extends Object implements BmcRequest.Builder<ReencryptObjectRequest,ReencryptObjectDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReencryptObjectRequest.Builderbody$(ReencryptObjectDetails body)Alternative setter for the body parameter.ReencryptObjectRequest.BuilderbucketName(String bucketName)The name of the bucket.ReencryptObjectRequestbuild()Build the instance of ReencryptObjectRequest as configured by this builderReencryptObjectRequestbuildWithoutInvocationCallback()Build the instance of ReencryptObjectRequest as configured by this builderReencryptObjectRequest.Buildercopy(ReencryptObjectRequest o)Copy method to populate the builder with values from the given instance.ReencryptObjectRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ReencryptObjectRequest.BuildernamespaceName(String namespaceName)The Object Storage namespace used for the request.ReencryptObjectRequest.BuilderobjectName(String objectName)The name of the object.ReencryptObjectRequest.BuilderopcClientRequestId(String opcClientRequestId)The client request ID for tracing.ReencryptObjectRequest.BuilderreencryptObjectDetails(ReencryptObjectDetails reencryptObjectDetails)Request object for re-encrypting the data encryption key associated with an object.ReencryptObjectRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ReencryptObjectRequest.BuilderversionId(String versionId)VersionId used to identify a particular version of the object
-
-
-
Method Detail
-
namespaceName
public ReencryptObjectRequest.Builder namespaceName(String namespaceName)
The Object Storage namespace used for the request.- Parameters:
namespaceName- the value to set- Returns:
- this builder instance
-
bucketName
public ReencryptObjectRequest.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
-
objectName
public ReencryptObjectRequest.Builder objectName(String objectName)
The name of the object.Avoid entering confidential information. Example: test/object1.log
- Parameters:
objectName- the value to set- Returns:
- this builder instance
-
reencryptObjectDetails
public ReencryptObjectRequest.Builder reencryptObjectDetails(ReencryptObjectDetails reencryptObjectDetails)
Request object for re-encrypting the data encryption key associated with an object.- Parameters:
reencryptObjectDetails- the value to set- Returns:
- this builder instance
-
versionId
public ReencryptObjectRequest.Builder versionId(String versionId)
VersionId used to identify a particular version of the object- Parameters:
versionId- the value to set- Returns:
- this builder instance
-
opcClientRequestId
public ReencryptObjectRequest.Builder opcClientRequestId(String opcClientRequestId)
The client request ID for tracing.- Parameters:
opcClientRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ReencryptObjectRequest.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 ReencryptObjectRequest.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 ReencryptObjectRequest.Builder copy(ReencryptObjectRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ReencryptObjectRequest,ReencryptObjectDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ReencryptObjectRequest build()
Build the instance of ReencryptObjectRequest 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<ReencryptObjectRequest,ReencryptObjectDetails>- Returns:
- instance of ReencryptObjectRequest
-
body$
public ReencryptObjectRequest.Builder body$(ReencryptObjectDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<ReencryptObjectRequest,ReencryptObjectDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public ReencryptObjectRequest buildWithoutInvocationCallback()
Build the instance of ReencryptObjectRequest 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 ReencryptObjectRequest
-
-