Interface CopyObjectResult.Builder

    • Method Detail

      • eTag

        CopyObjectResult.Builder eTag​(String eTag)

        Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata.

        Parameters:
        eTag - Returns the ETag of the new object. The ETag reflects only changes to the contents of an object, not its metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModified

        CopyObjectResult.Builder lastModified​(Instant lastModified)

        Creation date of the object.

        Parameters:
        lastModified - Creation date of the object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • checksumCRC32

        CopyObjectResult.Builder checksumCRC32​(String checksumCRC32)

        The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.

        Parameters:
        checksumCRC32 - The base64-encoded, 32-bit CRC32 checksum of the object. This will only be present if it was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • checksumCRC32C

        CopyObjectResult.Builder checksumCRC32C​(String checksumCRC32C)

        The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.

        Parameters:
        checksumCRC32C - The base64-encoded, 32-bit CRC32C checksum of the object. This will only be present if it was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • checksumSHA1

        CopyObjectResult.Builder checksumSHA1​(String checksumSHA1)

        The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.

        Parameters:
        checksumSHA1 - The base64-encoded, 160-bit SHA-1 digest of the object. This will only be present if it was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • checksumSHA256

        CopyObjectResult.Builder checksumSHA256​(String checksumSHA256)

        The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.

        Parameters:
        checksumSHA256 - The base64-encoded, 256-bit SHA-256 digest of the object. This will only be present if it was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.