Class CommitMultipartUploadResponse.Builder
- java.lang.Object
-
- com.oracle.bmc.objectstorage.responses.CommitMultipartUploadResponse.Builder
-
- All Implemented Interfaces:
BmcResponse.Builder<CommitMultipartUploadResponse>
- Enclosing class:
- CommitMultipartUploadResponse
public static class CommitMultipartUploadResponse.Builder extends Object implements BmcResponse.Builder<CommitMultipartUploadResponse>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommitMultipartUploadResponse.Builder
__httpStatusCode__(int __httpStatusCode__)
CommitMultipartUploadResponse
build()
Build the response object.CommitMultipartUploadResponse.Builder
copy(CommitMultipartUploadResponse o)
Copy method to populate the builder with values from the given instance.CommitMultipartUploadResponse.Builder
eTag(String eTag)
The entity tag (ETag) for the object.CommitMultipartUploadResponse.Builder
headers(Map<String,List<String>> headers)
CommitMultipartUploadResponse.Builder
lastModified(Date lastModified)
The time the object was last modified, as described in RFC 2616.CommitMultipartUploadResponse.Builder
opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.CommitMultipartUploadResponse.Builder
opcContentCrc32c(String opcContentCrc32c)
The base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the object.CommitMultipartUploadResponse.Builder
opcMultipartMd5(String opcMultipartMd5)
Base-64 representation of the multipart object MD5 hash.CommitMultipartUploadResponse.Builder
opcMultipartSha256(String opcMultipartSha256)
Base-64 representation of the multipart object SHA256 hash.CommitMultipartUploadResponse.Builder
opcMultipartSha384(String opcMultipartSha384)
Base-64 representation of the multipart object SHA384 hash.CommitMultipartUploadResponse.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.CommitMultipartUploadResponse.Builder
versionId(String versionId)
VersionId of the newly created object-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.Builder
isNotModified
-
-
-
-
Method Detail
-
__httpStatusCode__
public CommitMultipartUploadResponse.Builder __httpStatusCode__(int __httpStatusCode__)
- Specified by:
__httpStatusCode__
in interfaceBmcResponse.Builder<CommitMultipartUploadResponse>
-
headers
public CommitMultipartUploadResponse.Builder headers(Map<String,List<String>> headers)
- Specified by:
headers
in interfaceBmcResponse.Builder<CommitMultipartUploadResponse>
-
opcClientRequestId
public CommitMultipartUploadResponse.Builder opcClientRequestId(String opcClientRequestId)
Echoes back the value passed in the opc-client-request-id header, for use by clients when debugging.- Parameters:
opcClientRequestId
- the value to set- Returns:
- this builder
-
opcRequestId
public CommitMultipartUploadResponse.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, provide this request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder
-
opcMultipartMd5
public CommitMultipartUploadResponse.Builder opcMultipartMd5(String opcMultipartMd5)
Base-64 representation of the multipart object MD5 hash.The multipart object hash is calculated by taking the MD5 hashes of the parts passed to this call, concatenating the binary representation of those hashes in order of their part numbers, and then calculating the MD5 hash of the concatenated values. The multipart object hash is followed by a hyphen and the total number of parts (for example, ‘-6’).
- Parameters:
opcMultipartMd5
- the value to set- Returns:
- this builder
-
opcContentCrc32c
public CommitMultipartUploadResponse.Builder opcContentCrc32c(String opcContentCrc32c)
The base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the object.Even for objects uploaded using multipart upload, this header returns the CRC32C (Castagnoli) checksum of the complete reconstructed object.
- Parameters:
opcContentCrc32c
- the value to set- Returns:
- this builder
-
opcMultipartSha256
public CommitMultipartUploadResponse.Builder opcMultipartSha256(String opcMultipartSha256)
Base-64 representation of the multipart object SHA256 hash.The multipart object hash is calculated by taking the SHA256 hashes of the parts passed to this call, concatenating the binary representation of those hashes in order of their part numbers, and then calculating the SHA256 hash of the concatenated values. The multipart object hash is followed by a hyphen and the total number of parts (for example, ‘-6’).
- Parameters:
opcMultipartSha256
- the value to set- Returns:
- this builder
-
opcMultipartSha384
public CommitMultipartUploadResponse.Builder opcMultipartSha384(String opcMultipartSha384)
Base-64 representation of the multipart object SHA384 hash.The multipart object hash is calculated by taking the SHA384 hashes of the parts passed to this call, concatenating the binary representation of those hashes in order of their part numbers, and then calculating the SHA384 hash of the concatenated values. The multipart object hash is followed by a hyphen and the total number of parts (for example, ‘-6’).
- Parameters:
opcMultipartSha384
- the value to set- Returns:
- this builder
-
eTag
public CommitMultipartUploadResponse.Builder eTag(String eTag)
The entity tag (ETag) for the object.- Parameters:
eTag
- the value to set- Returns:
- this builder
-
lastModified
public CommitMultipartUploadResponse.Builder lastModified(Date lastModified)
The time the object was last modified, as described in RFC 2616.- Parameters:
lastModified
- the value to set- Returns:
- this builder
-
versionId
public CommitMultipartUploadResponse.Builder versionId(String versionId)
VersionId of the newly created object- Parameters:
versionId
- the value to set- Returns:
- this builder
-
copy
public CommitMultipartUploadResponse.Builder copy(CommitMultipartUploadResponse o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcResponse.Builder<CommitMultipartUploadResponse>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public CommitMultipartUploadResponse build()
Build the response object.- Specified by:
build
in interfaceBmcResponse.Builder<CommitMultipartUploadResponse>
- Returns:
- the response object
-
-