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.Builder
body$(ReencryptObjectDetails body)
Alternative setter for the body parameter.ReencryptObjectRequest.Builder
bucketName(String bucketName)
The name of the bucket.ReencryptObjectRequest
build()
Build the instance of ReencryptObjectRequest as configured by this builderReencryptObjectRequest
buildWithoutInvocationCallback()
Build the instance of ReencryptObjectRequest as configured by this builderReencryptObjectRequest.Builder
copy(ReencryptObjectRequest o)
Copy method to populate the builder with values from the given instance.ReencryptObjectRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ReencryptObjectRequest.Builder
namespaceName(String namespaceName)
The Object Storage namespace used for the request.ReencryptObjectRequest.Builder
objectName(String objectName)
The name of the object.ReencryptObjectRequest.Builder
opcClientRequestId(String opcClientRequestId)
The client request ID for tracing.ReencryptObjectRequest.Builder
reencryptObjectDetails(ReencryptObjectDetails reencryptObjectDetails)
Request object for re-encrypting the data encryption key associated with an object.ReencryptObjectRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ReencryptObjectRequest.Builder
versionId(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:
copy
in 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:
build
in 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
-
-