Interface GetPartResponse.Builder

  • Method Details

    • acceptRanges

      GetPartResponse.Builder acceptRanges(String acceptRanges)

      Indicates that a range of bytes was specified in the request.

      Parameters:
      acceptRanges - Indicates that a range of bytes was specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentLength

      GetPartResponse.Builder contentLength(Long contentLength)

      The size of the retrieved part in bytes.

      Parameters:
      contentLength - The size of the retrieved part in bytes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eTag

      The entity tag of the part.

      Parameters:
      eTag - The entity tag of the part.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • multipartUploadStatus

      GetPartResponse.Builder multipartUploadStatus(String multipartUploadStatus)

      The status of the multipart upload. Possible values are:

      • IN_PROGRESS - CompleteMultipartUpload has not been called. The part data exists, and can be overwritten by a subsequent UploadPart call with the same part number.

      • COMPLETED - CompleteMultipartUpload has been called. The part data is immutable, and the full object exists.

      Parameters:
      multipartUploadStatus - The status of the multipart upload. Possible values are:

      • IN_PROGRESS - CompleteMultipartUpload has not been called. The part data exists, and can be overwritten by a subsequent UploadPart call with the same part number.

      • COMPLETED - CompleteMultipartUpload has been called. The part data is immutable, and the full object exists.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • multipartUploadStatus

      GetPartResponse.Builder multipartUploadStatus(MultipartUploadStatus multipartUploadStatus)

      The status of the multipart upload. Possible values are:

      • IN_PROGRESS - CompleteMultipartUpload has not been called. The part data exists, and can be overwritten by a subsequent UploadPart call with the same part number.

      • COMPLETED - CompleteMultipartUpload has been called. The part data is immutable, and the full object exists.

      Parameters:
      multipartUploadStatus - The status of the multipart upload. Possible values are:

      • IN_PROGRESS - CompleteMultipartUpload has not been called. The part data exists, and can be overwritten by a subsequent UploadPart call with the same part number.

      • COMPLETED - CompleteMultipartUpload has been called. The part data is immutable, and the full object exists.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • checksumCRC32

      GetPartResponse.Builder checksumCRC32(String checksumCRC32)

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

      GetPartResponse.Builder checksumCRC32C(String checksumCRC32C)

      The Base64 encoded, 32-bit CRC32C checksum of the part. This checksum is only present if the checksum 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 part. This checksum is only present if the checksum 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

      GetPartResponse.Builder checksumCRC64NVME(String checksumCRC64NVME)

      The Base64 encoded, 64-bit CRC64NVME checksum of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.

      Parameters:
      checksumCRC64NVME - The Base64 encoded, 64-bit CRC64NVME checksum of the part. 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

      GetPartResponse.Builder checksumSHA1(String checksumSHA1)

      The Base64 encoded, 160-bit SHA1 digest of the part. This checksum is only present if the checksum 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 part. This checksum is only present if the checksum 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

      GetPartResponse.Builder checksumSHA256(String checksumSHA256)

      The Base64 encoded, 256-bit SHA256 digest of the part. This checksum is only present if the checksum 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 part. This checksum is only present if the checksum 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.
    • checksumSHA512

      GetPartResponse.Builder checksumSHA512(String checksumSHA512)

      The Base64 encoded, 512-bit SHA512 digest of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.

      Parameters:
      checksumSHA512 - The Base64 encoded, 512-bit SHA512 digest of the part. 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.
    • checksumMD5

      GetPartResponse.Builder checksumMD5(String checksumMD5)

      The Base64 encoded, 128-bit MD5 digest of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.

      Parameters:
      checksumMD5 - The Base64 encoded, 128-bit MD5 digest of the part. 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.
    • checksumXXHASH64

      GetPartResponse.Builder checksumXXHASH64(String checksumXXHASH64)

      The Base64 encoded, 64-bit XXHASH64 checksum of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.

      Parameters:
      checksumXXHASH64 - The Base64 encoded, 64-bit XXHASH64 checksum of the part. 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.
    • checksumXXHASH3

      GetPartResponse.Builder checksumXXHASH3(String checksumXXHASH3)

      The Base64 encoded, 64-bit XXHASH3 checksum of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.

      Parameters:
      checksumXXHASH3 - The Base64 encoded, 64-bit XXHASH3 checksum of the part. 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.
    • checksumXXHASH128

      GetPartResponse.Builder checksumXXHASH128(String checksumXXHASH128)

      The Base64 encoded, 128-bit XXHASH128 checksum of the part. For more information, see Checking object integrity in the Amazon S3 User Guide.

      Parameters:
      checksumXXHASH128 - The Base64 encoded, 128-bit XXHASH128 checksum of the part. 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.
    • versionId

      GetPartResponse.Builder versionId(String versionId)

      Version ID of the object.

      Parameters:
      versionId - Version ID of the object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentRange

      GetPartResponse.Builder contentRange(String contentRange)

      The portion of the part that was returned in the response.

      Parameters:
      contentRange - The portion of the part that was returned in the response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverSideEncryption

      GetPartResponse.Builder serverSideEncryption(String serverSideEncryption)

      The server-side encryption algorithm used when storing this multipart upload in Amazon S3.

      Parameters:
      serverSideEncryption - The server-side encryption algorithm used when storing this multipart upload in Amazon S3.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • serverSideEncryption

      GetPartResponse.Builder serverSideEncryption(ServerSideEncryption serverSideEncryption)

      The server-side encryption algorithm used when storing this multipart upload in Amazon S3.

      Parameters:
      serverSideEncryption - The server-side encryption algorithm used when storing this multipart upload in Amazon S3.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ssekmsKeyId

      GetPartResponse.Builder ssekmsKeyId(String ssekmsKeyId)

      If present, indicates the ID of the KMS key that was used for object encryption.

      Parameters:
      ssekmsKeyId - If present, indicates the ID of the KMS key that was used for object encryption.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bucketKeyEnabled

      GetPartResponse.Builder bucketKeyEnabled(Boolean bucketKeyEnabled)

      Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).

      Parameters:
      bucketKeyEnabled - Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageClass

      GetPartResponse.Builder storageClass(String storageClass)

      Provides storage class information about where this part is stored.

      For in-progress multipart uploads, this header can return any of the valid values listed for this header.

      For completed multipart uploads, GetPart doesn't support the GLACIER, DEEP_ARCHIVE, or INTELLIGENT_TIERING storage classes.

      Parameters:
      storageClass - Provides storage class information about where this part is stored.

      For in-progress multipart uploads, this header can return any of the valid values listed for this header.

      For completed multipart uploads, GetPart doesn't support the GLACIER, DEEP_ARCHIVE, or INTELLIGENT_TIERING storage classes.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • storageClass

      GetPartResponse.Builder storageClass(StorageClass storageClass)

      Provides storage class information about where this part is stored.

      For in-progress multipart uploads, this header can return any of the valid values listed for this header.

      For completed multipart uploads, GetPart doesn't support the GLACIER, DEEP_ARCHIVE, or INTELLIGENT_TIERING storage classes.

      Parameters:
      storageClass - Provides storage class information about where this part is stored.

      For in-progress multipart uploads, this header can return any of the valid values listed for this header.

      For completed multipart uploads, GetPart doesn't support the GLACIER, DEEP_ARCHIVE, or INTELLIGENT_TIERING storage classes.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestCharged

      GetPartResponse.Builder requestCharged(String requestCharged)
      Sets the value of the RequestCharged property for this object.
      Parameters:
      requestCharged - The new value for the RequestCharged property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requestCharged

      GetPartResponse.Builder requestCharged(RequestCharged requestCharged)
      Sets the value of the RequestCharged property for this object.
      Parameters:
      requestCharged - The new value for the RequestCharged property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: