Class CommitMultipartUploadResponse.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • 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