public static class CreateMultipartUploadRequest.Builder extends Object implements BmcRequest.Builder<CreateMultipartUploadRequest,CreateMultipartUploadDetails>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateMultipartUploadRequest.Builder |
body$(CreateMultipartUploadDetails body)
Alternative setter for the body parameter.
|
CreateMultipartUploadRequest.Builder |
bucketName(String bucketName)
The name of the bucket.
|
CreateMultipartUploadRequest |
build()
Build the instance of CreateMultipartUploadRequest as configured by this builder
|
CreateMultipartUploadRequest |
buildWithoutInvocationCallback()
Build the instance of CreateMultipartUploadRequest as configured by this builder
|
CreateMultipartUploadRequest.Builder |
copy(CreateMultipartUploadRequest o)
Copy method to populate the builder with values from the given instance.
|
CreateMultipartUploadRequest.Builder |
createMultipartUploadDetails(CreateMultipartUploadDetails createMultipartUploadDetails)
Request object for creating a multipart upload.
|
CreateMultipartUploadRequest.Builder |
ifMatch(String ifMatch)
The entity tag (ETag) to match with the ETag of an existing resource.
|
CreateMultipartUploadRequest.Builder |
ifNoneMatch(String ifNoneMatch)
The entity tag (ETag) to avoid matching.
|
CreateMultipartUploadRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
CreateMultipartUploadRequest.Builder |
namespaceName(String namespaceName)
The Object Storage namespace used for the request.
|
CreateMultipartUploadRequest.Builder |
opcChecksumAlgorithm(ChecksumAlgorithm opcChecksumAlgorithm)
The optional checksum algorithm to use to compute and store the checksum of the body of
the HTTP request (or the parts in case of multipart uploads), in addition to the default
MD5 checksum.
|
CreateMultipartUploadRequest.Builder |
opcClientRequestId(String opcClientRequestId)
The client request ID for tracing.
|
CreateMultipartUploadRequest.Builder |
opcSseCustomerAlgorithm(String opcSseCustomerAlgorithm)
The optional header that specifies “AES256” as the encryption algorithm.
|
CreateMultipartUploadRequest.Builder |
opcSseCustomerKey(String opcSseCustomerKey)
The optional header that specifies the base64-encoded 256-bit encryption key to use to
encrypt or decrypt the data.
|
CreateMultipartUploadRequest.Builder |
opcSseCustomerKeySha256(String opcSseCustomerKeySha256)
The optional header that specifies the base64-encoded SHA256 hash of the encryption key.
|
CreateMultipartUploadRequest.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.
|
CreateMultipartUploadRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
public CreateMultipartUploadRequest.Builder namespaceName(String namespaceName)
The Object Storage namespace used for the request.
namespaceName
- the value to setpublic CreateMultipartUploadRequest.Builder bucketName(String bucketName)
The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1
bucketName
- the value to setpublic CreateMultipartUploadRequest.Builder createMultipartUploadDetails(CreateMultipartUploadDetails createMultipartUploadDetails)
Request object for creating a multipart upload.
createMultipartUploadDetails
- the value to setpublic CreateMultipartUploadRequest.Builder ifMatch(String ifMatch)
The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload the resource.
ifMatch
- the value to setpublic CreateMultipartUploadRequest.Builder ifNoneMatch(String ifNoneMatch)
The entity tag (ETag) to avoid matching. The only valid value is ‘*’, which indicates that the request should fail if the resource already exists.
ifNoneMatch
- the value to setpublic CreateMultipartUploadRequest.Builder opcClientRequestId(String opcClientRequestId)
The client request ID for tracing.
opcClientRequestId
- the value to setpublic CreateMultipartUploadRequest.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 CreateMultipartUploadRequest.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 CreateMultipartUploadRequest.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 CreateMultipartUploadRequest.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 CreateMultipartUploadRequest.Builder opcChecksumAlgorithm(ChecksumAlgorithm opcChecksumAlgorithm)
The optional checksum algorithm to use to compute and store the checksum of the body of the HTTP request (or the parts in case of multipart uploads), in addition to the default MD5 checksum.
opcChecksumAlgorithm
- the value to setpublic CreateMultipartUploadRequest.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 CreateMultipartUploadRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic CreateMultipartUploadRequest.Builder copy(CreateMultipartUploadRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<CreateMultipartUploadRequest,CreateMultipartUploadDetails>
o
- other request from which to copy valuespublic CreateMultipartUploadRequest build()
Build the instance of CreateMultipartUploadRequest 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<CreateMultipartUploadRequest,CreateMultipartUploadDetails>
public CreateMultipartUploadRequest.Builder body$(CreateMultipartUploadDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<CreateMultipartUploadRequest,CreateMultipartUploadDetails>
body
- the body parameterpublic CreateMultipartUploadRequest buildWithoutInvocationCallback()
Build the instance of CreateMultipartUploadRequest 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.