public static class CopyObjectRequest.Builder extends Object implements BmcRequest.Builder<CopyObjectRequest,CopyObjectDetails>
Constructor and Description |
---|
Builder() |
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()
Build the instance of CopyObjectRequest as configured by this builder
|
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(com.oracle.bmc.http.client.RequestInterceptor 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.
|
public CopyObjectRequest.Builder namespaceName(String namespaceName)
The Object Storage namespace used for the request.
namespaceName
- the value to setpublic CopyObjectRequest.Builder bucketName(String bucketName)
The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
bucketName
- the value to setpublic CopyObjectRequest.Builder copyObjectDetails(CopyObjectDetails copyObjectDetails)
The source and destination of the object to be copied.
copyObjectDetails
- the value to setpublic CopyObjectRequest.Builder opcClientRequestId(String opcClientRequestId)
The client request ID for tracing.
opcClientRequestId
- the value to setpublic 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.
opcSseCustomerAlgorithm
- the value to setpublic 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.
opcSseCustomerKey
- the value to setpublic 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.
opcSseCustomerKeySha256
- the value to setpublic 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.
opcSourceSseCustomerAlgorithm
- the value to setpublic 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.
opcSourceSseCustomerKey
- the value to setpublic 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.
opcSourceSseCustomerKeySha256
- the value to setpublic 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.
opcSseKmsKeyId
- the value to setpublic CopyObjectRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor 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.http.client.RequestInterceptor)
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 buildWithoutInvocationCallback()
Build the instance of CopyObjectRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.