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.
      • checksumType

        CopyObjectResult.Builder checksumType​(String checksumType)

        The checksum type that is used to calculate the object’s checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.

        Parameters:
        checksumType - The checksum type that is used to calculate the object’s checksum value. 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.
        See Also:
        ChecksumType, ChecksumType
      • checksumType

        CopyObjectResult.Builder checksumType​(ChecksumType checksumType)

        The checksum type that is used to calculate the object’s checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.

        Parameters:
        checksumType - The checksum type that is used to calculate the object’s checksum value. 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.
        See Also:
        ChecksumType, ChecksumType
      • checksumCRC32

        CopyObjectResult.Builder checksumCRC32​(String checksumCRC32)

        The Base64 encoded, 32-bit CRC32 checksum of the object. This checksum is only present if the object 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 checksum is only present if the object 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 the object 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 the object 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.
      • checksumCRC64NVME

        CopyObjectResult.Builder checksumCRC64NVME​(String checksumCRC64NVME)

        The Base64 encoded, 64-bit CRC64NVME checksum of the object. This checksum is present if the object being copied was uploaded with the CRC64NVME checksum algorithm, or if the object was uploaded without a checksum (and Amazon S3 added the default checksum, CRC64NVME, to the uploaded object). For more information, see Checking object integrity in the Amazon S3 User Guide.

        Parameters:
        checksumCRC64NVME - The Base64 encoded, 64-bit CRC64NVME checksum of the object. This checksum is present if the object being copied was uploaded with the CRC64NVME checksum algorithm, or if the object was uploaded without a checksum (and Amazon S3 added the default checksum, CRC64NVME, to the uploaded 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 SHA1 digest of the object. This will only be present if the object 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 SHA1 digest of the object. This will only be present if the object 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 SHA256 digest of the object. This will only be present if the object 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 SHA256 digest of the object. This will only be present if the object 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.