public static class CopyObjectRequest.Builder extends Object implements BmcRequest.Builder<CopyObjectRequest,CopyObjectDetails>
Modifier and Type | Method and Description |
---|---|
CopyObjectRequest.Builder |
body$(CopyObjectDetails body)
Alternative setter for the body parameter.
|
CopyObjectRequest.Builder |
bucketName(String bucketName)
The name of the bucket.
|
CopyObjectRequest |
build()
Build the instance of CopyObjectRequest as configured by this builder
|
CopyObjectRequest |
buildWithoutInvocationCallback() |
CopyObjectRequest.Builder |
copy(CopyObjectRequest o)
Copy method to populate the builder with values from the given instance.
|
CopyObjectRequest.Builder |
copyObjectDetails(CopyObjectDetails copyObjectDetails)
The source and destination of the object to be copied.
|
CopyObjectRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
CopyObjectRequest.Builder |
namespaceName(String namespaceName)
The Object Storage namespace used for the request.
|
CopyObjectRequest.Builder |
opcClientRequestId(String opcClientRequestId)
The client request ID for tracing.
|
CopyObjectRequest.Builder |
opcSourceSseCustomerAlgorithm(String opcSourceSseCustomerAlgorithm)
The optional header that specifies “AES256” as the encryption algorithm to use to decrypt the source
object.
|
CopyObjectRequest.Builder |
opcSourceSseCustomerKey(String opcSourceSseCustomerKey)
The optional header that specifies the base64-encoded 256-bit encryption key to use to decrypt
the source object.
|
CopyObjectRequest.Builder |
opcSourceSseCustomerKeySha256(String opcSourceSseCustomerKeySha256)
The optional header that specifies the base64-encoded SHA256 hash of the encryption key used to
decrypt the source object.
|
CopyObjectRequest.Builder |
opcSseCustomerAlgorithm(String opcSseCustomerAlgorithm)
The optional header that specifies “AES256” as the encryption algorithm.
|
CopyObjectRequest.Builder |
opcSseCustomerKey(String opcSseCustomerKey)
The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or
decrypt the data.
|
CopyObjectRequest.Builder |
opcSseCustomerKeySha256(String opcSseCustomerKeySha256)
The optional header that specifies the base64-encoded SHA256 hash of the encryption key.
|
CopyObjectRequest.Builder |
opcSseKmsKeyId(String opcSseKmsKeyId)
The OCID of a master encryption key used to call the Key
Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
|
CopyObjectRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
String |
toString() |
public CopyObjectRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic CopyObjectRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic CopyObjectRequest.Builder copy(CopyObjectRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<CopyObjectRequest,CopyObjectDetails>
o
- other request from which to copy valuespublic CopyObjectRequest build()
Build the instance of CopyObjectRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<CopyObjectRequest,CopyObjectDetails>
public CopyObjectRequest.Builder body$(CopyObjectDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<CopyObjectRequest,CopyObjectDetails>
body
- the body parameterpublic CopyObjectRequest.Builder namespaceName(String namespaceName)
The Object Storage namespace used for the request.
this
.public CopyObjectRequest.Builder bucketName(String bucketName)
The name of the bucket. Avoid entering confidential information.
Example: my-new-bucket1
this
.public CopyObjectRequest.Builder copyObjectDetails(CopyObjectDetails copyObjectDetails)
The source and destination of the object to be copied.
this
.public CopyObjectRequest.Builder opcClientRequestId(String opcClientRequestId)
The client request ID for tracing.
this
.public CopyObjectRequest.Builder opcSseCustomerAlgorithm(String opcSseCustomerAlgorithm)
The optional header that specifies “AES256” as the encryption algorithm. For more information, see Using Your Own Keys for Server-Side Encryption.
this
.public CopyObjectRequest.Builder opcSseCustomerKey(String opcSseCustomerKey)
The optional header that specifies the base64-encoded 256-bit encryption key to use to encrypt or decrypt the data. For more information, see Using Your Own Keys for Server-Side Encryption.
this
.public CopyObjectRequest.Builder opcSseCustomerKeySha256(String opcSseCustomerKeySha256)
The optional header that specifies the base64-encoded SHA256 hash of the encryption key. This value is used to check the integrity of the encryption key. For more information, see Using Your Own Keys for Server-Side Encryption.
this
.public CopyObjectRequest.Builder opcSourceSseCustomerAlgorithm(String opcSourceSseCustomerAlgorithm)
The optional header that specifies “AES256” as the encryption algorithm to use to decrypt the source object. For more information, see Using Your Own Keys for Server-Side Encryption.
this
.public CopyObjectRequest.Builder opcSourceSseCustomerKey(String opcSourceSseCustomerKey)
The optional header that specifies the base64-encoded 256-bit encryption key to use to decrypt the source object. For more information, see Using Your Own Keys for Server-Side Encryption.
this
.public CopyObjectRequest.Builder opcSourceSseCustomerKeySha256(String opcSourceSseCustomerKeySha256)
The optional header that specifies the base64-encoded SHA256 hash of the encryption key used to decrypt the source object. This value is used to check the integrity of the encryption key. For more information, see Using Your Own Keys for Server-Side Encryption.
this
.public CopyObjectRequest.Builder opcSseKmsKeyId(String opcSseKmsKeyId)
The OCID of a master encryption key used to call the Key Management service to generate a data encryption key or to encrypt or decrypt a data encryption key.
this
.public CopyObjectRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.