Class PutObjectResponse.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • opcClientRequestId

        public PutObjectResponse.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 PutObjectResponse.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
      • opcContentMd5

        public PutObjectResponse.Builder opcContentMd5​(String opcContentMd5)
        The base64-encoded MD5 hash of the request body as computed by the server.
        Parameters:
        opcContentMd5 - the value to set
        Returns:
        this builder
      • opcContentCrc32c

        public PutObjectResponse.Builder opcContentCrc32c​(String opcContentCrc32c)
        The base64-encoded, 32-bit CRC32C (Castagnoli) checksum of the request body as computed by the server.

        Applicable only if CRC32C was specified in opc-checksum-algorithm request header during upload.

        Parameters:
        opcContentCrc32c - the value to set
        Returns:
        this builder
      • opcContentSha256

        public PutObjectResponse.Builder opcContentSha256​(String opcContentSha256)
        The base64-encoded SHA256 hash of the request body as computed by the server.

        Applicable only if SHA256 was specified in opc-checksum-algorithm request header during upload.

        Parameters:
        opcContentSha256 - the value to set
        Returns:
        this builder
      • opcContentSha384

        public PutObjectResponse.Builder opcContentSha384​(String opcContentSha384)
        The base64-encoded SHA384 hash of the request body as computed by the server.

        Applicable only if SHA384 was specified in opc-checksum-algorithm request header during upload.

        Parameters:
        opcContentSha384 - the value to set
        Returns:
        this builder
      • eTag

        public PutObjectResponse.Builder eTag​(String eTag)
        The entity tag (ETag) for the object.
        Parameters:
        eTag - the value to set
        Returns:
        this builder
      • lastModified

        public PutObjectResponse.Builder lastModified​(Date lastModified)
        The time the object was modified, as described in RFC 2616.
        Parameters:
        lastModified - the value to set
        Returns:
        this builder
      • versionId

        public PutObjectResponse.Builder versionId​(String versionId)
        VersionId of the newly created object
        Parameters:
        versionId - the value to set
        Returns:
        this builder