Interface GetObjectResponse.Builder

  • Method Details

    • body

      Sets the value of the Body property for this object.
      Parameters:
      body - The new value for the Body property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deleteMarker

      GetObjectResponse.Builder deleteMarker(Boolean deleteMarker)
      Sets the value of the DeleteMarker property for this object.
      Parameters:
      deleteMarker - The new value for the DeleteMarker property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • acceptRanges

      GetObjectResponse.Builder acceptRanges(String acceptRanges)
      Sets the value of the AcceptRanges property for this object.
      Parameters:
      acceptRanges - The new value for the AcceptRanges property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiration

      GetObjectResponse.Builder expiration(String expiration)
      Sets the value of the Expiration property for this object.
      Parameters:
      expiration - The new value for the Expiration property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • restore

      Sets the value of the Restore property for this object.
      Parameters:
      restore - The new value for the Restore property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModified

      GetObjectResponse.Builder lastModified(Instant lastModified)
      Sets the value of the LastModified property for this object.
      Parameters:
      lastModified - The new value for the LastModified property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentLength

      GetObjectResponse.Builder contentLength(Long contentLength)
      Sets the value of the ContentLength property for this object.
      Parameters:
      contentLength - The new value for the ContentLength property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • eTag

      Sets the value of the ETag property for this object.
      Parameters:
      eTag - The new value for the ETag property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksumCRC32

      GetObjectResponse.Builder checksumCRC32(String checksumCRC32)
      Sets the value of the ChecksumCRC32 property for this object.
      Parameters:
      checksumCRC32 - The new value for the ChecksumCRC32 property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksumCRC32C

      GetObjectResponse.Builder checksumCRC32C(String checksumCRC32C)
      Sets the value of the ChecksumCRC32C property for this object.
      Parameters:
      checksumCRC32C - The new value for the ChecksumCRC32C property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksumCRC64NVME

      GetObjectResponse.Builder checksumCRC64NVME(String checksumCRC64NVME)
      Sets the value of the ChecksumCRC64NVME property for this object.
      Parameters:
      checksumCRC64NVME - The new value for the ChecksumCRC64NVME property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksumSHA1

      GetObjectResponse.Builder checksumSHA1(String checksumSHA1)
      Sets the value of the ChecksumSHA1 property for this object.
      Parameters:
      checksumSHA1 - The new value for the ChecksumSHA1 property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksumSHA256

      GetObjectResponse.Builder checksumSHA256(String checksumSHA256)
      Sets the value of the ChecksumSHA256 property for this object.
      Parameters:
      checksumSHA256 - The new value for the ChecksumSHA256 property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • checksumType

      GetObjectResponse.Builder checksumType(String checksumType)
      Sets the value of the ChecksumType property for this object.
      Parameters:
      checksumType - The new value for the ChecksumType property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • missingMeta

      GetObjectResponse.Builder missingMeta(Integer missingMeta)
      Sets the value of the MissingMeta property for this object.
      Parameters:
      missingMeta - The new value for the MissingMeta property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • versionId

      GetObjectResponse.Builder versionId(String versionId)
      Sets the value of the VersionId property for this object.
      Parameters:
      versionId - The new value for the VersionId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cacheControl

      GetObjectResponse.Builder cacheControl(String cacheControl)
      Sets the value of the CacheControl property for this object.
      Parameters:
      cacheControl - The new value for the CacheControl property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentDisposition

      GetObjectResponse.Builder contentDisposition(String contentDisposition)
      Sets the value of the ContentDisposition property for this object.
      Parameters:
      contentDisposition - The new value for the ContentDisposition property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentEncoding

      GetObjectResponse.Builder contentEncoding(String contentEncoding)
      Sets the value of the ContentEncoding property for this object.
      Parameters:
      contentEncoding - The new value for the ContentEncoding property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentLanguage

      GetObjectResponse.Builder contentLanguage(String contentLanguage)
      Sets the value of the ContentLanguage property for this object.
      Parameters:
      contentLanguage - The new value for the ContentLanguage property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentType

      GetObjectResponse.Builder contentType(String contentType)
      Sets the value of the ContentType property for this object.
      Parameters:
      contentType - The new value for the ContentType property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expires

      Sets the value of the Expires property for this object.
      Parameters:
      expires - The new value for the Expires property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • websiteRedirectLocation

      GetObjectResponse.Builder websiteRedirectLocation(String websiteRedirectLocation)
      Sets the value of the WebsiteRedirectLocation property for this object.
      Parameters:
      websiteRedirectLocation - The new value for the WebsiteRedirectLocation property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serverSideEncryption

      GetObjectResponse.Builder serverSideEncryption(String serverSideEncryption)
      Sets the value of the ServerSideEncryption property for this object.
      Parameters:
      serverSideEncryption - The new value for the ServerSideEncryption property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sseCustomerAlgorithm

      GetObjectResponse.Builder sseCustomerAlgorithm(String sseCustomerAlgorithm)
      Sets the value of the SSECustomerAlgorithm property for this object.
      Parameters:
      sseCustomerAlgorithm - The new value for the SSECustomerAlgorithm property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sseCustomerKeyMD5

      GetObjectResponse.Builder sseCustomerKeyMD5(String sseCustomerKeyMD5)
      Sets the value of the SSECustomerKeyMD5 property for this object.
      Parameters:
      sseCustomerKeyMD5 - The new value for the SSECustomerKeyMD5 property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ssekmsKeyId

      GetObjectResponse.Builder ssekmsKeyId(String ssekmsKeyId)
      Sets the value of the SSEKMSKeyId property for this object.
      Parameters:
      ssekmsKeyId - The new value for the SSEKMSKeyId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • bucketKeyEnabled

      GetObjectResponse.Builder bucketKeyEnabled(Boolean bucketKeyEnabled)
      Sets the value of the BucketKeyEnabled property for this object.
      Parameters:
      bucketKeyEnabled - The new value for the BucketKeyEnabled property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageClass

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

      GetObjectResponse.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.
    • replicationStatus

      GetObjectResponse.Builder replicationStatus(String replicationStatus)
      Sets the value of the ReplicationStatus property for this object.
      Parameters:
      replicationStatus - The new value for the ReplicationStatus property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • partsCount

      GetObjectResponse.Builder partsCount(Integer partsCount)
      Sets the value of the PartsCount property for this object.
      Parameters:
      partsCount - The new value for the PartsCount property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagCount

      GetObjectResponse.Builder tagCount(Integer tagCount)
      Sets the value of the TagCount property for this object.
      Parameters:
      tagCount - The new value for the TagCount property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • objectLockMode

      GetObjectResponse.Builder objectLockMode(String objectLockMode)
      Sets the value of the ObjectLockMode property for this object.
      Parameters:
      objectLockMode - The new value for the ObjectLockMode property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • objectLockRetainUntilDate

      GetObjectResponse.Builder objectLockRetainUntilDate(Instant objectLockRetainUntilDate)
      Sets the value of the ObjectLockRetainUntilDate property for this object.
      Parameters:
      objectLockRetainUntilDate - The new value for the ObjectLockRetainUntilDate property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • objectLockLegalHoldStatus

      GetObjectResponse.Builder objectLockLegalHoldStatus(String objectLockLegalHoldStatus)
      Sets the value of the ObjectLockLegalHoldStatus property for this object.
      Parameters:
      objectLockLegalHoldStatus - The new value for the ObjectLockLegalHoldStatus property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.