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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
namespaceNamepublic ReencryptObjectRequest.Builder namespaceName(String namespaceName) The Object Storage namespace used for the request.- Parameters:
- namespaceName- the value to set
- Returns:
- this builder instance
 
 - 
bucketNamepublic 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
 
 - 
objectNamepublic 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
 
 - 
reencryptObjectDetailspublic 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
 
 - 
versionIdpublic 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
 
 - 
opcClientRequestIdpublic ReencryptObjectRequest.Builder opcClientRequestId(String opcClientRequestId) The client request ID for tracing.- Parameters:
- opcClientRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic 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
 
 - 
retryConfigurationpublic 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
 
 - 
copypublic ReencryptObjectRequest.Builder copy(ReencryptObjectRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ReencryptObjectRequest,ReencryptObjectDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic 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 interface- BmcRequest.Builder<ReencryptObjectRequest,ReencryptObjectDetails>
- Returns:
- instance of ReencryptObjectRequest
 
 - 
body$public ReencryptObjectRequest.Builder body$(ReencryptObjectDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<ReencryptObjectRequest,ReencryptObjectDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic 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
 
 
- 
 
-