Interface PutObjectRequest.Builder

  • Method Details

    • bucket

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

      Sets the value of the Key property for this object.
      Parameters:
      key - The new value for the Key property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.
    • acl

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

      PutObjectRequest.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

      PutObjectRequest.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

      PutObjectRequest.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

      PutObjectRequest.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.
    • contentLength

      PutObjectRequest.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.
    • contentMD5

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

      PutObjectRequest.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.
    • checksumAlgorithm

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

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

      PutObjectRequest.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

      PutObjectRequest.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

      PutObjectRequest.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

      PutObjectRequest.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

      PutObjectRequest.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.
    • 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.
    • ifMatch

      PutObjectRequest.Builder ifMatch(String ifMatch)
      Sets the value of the IfMatch property for this object.
      Parameters:
      ifMatch - The new value for the IfMatch property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ifNoneMatch

      PutObjectRequest.Builder ifNoneMatch(String ifNoneMatch)
      Sets the value of the IfNoneMatch property for this object.
      Parameters:
      ifNoneMatch - The new value for the IfNoneMatch property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grantFullControl

      PutObjectRequest.Builder grantFullControl(String grantFullControl)
      Sets the value of the GrantFullControl property for this object.
      Parameters:
      grantFullControl - The new value for the GrantFullControl property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grantRead

      PutObjectRequest.Builder grantRead(String grantRead)
      Sets the value of the GrantRead property for this object.
      Parameters:
      grantRead - The new value for the GrantRead property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grantReadACP

      PutObjectRequest.Builder grantReadACP(String grantReadACP)
      Sets the value of the GrantReadACP property for this object.
      Parameters:
      grantReadACP - The new value for the GrantReadACP property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • grantWriteACP

      PutObjectRequest.Builder grantWriteACP(String grantWriteACP)
      Sets the value of the GrantWriteACP property for this object.
      Parameters:
      grantWriteACP - The new value for the GrantWriteACP property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • writeOffsetBytes

      PutObjectRequest.Builder writeOffsetBytes(Long writeOffsetBytes)
      Sets the value of the WriteOffsetBytes property for this object.
      Parameters:
      writeOffsetBytes - The new value for the WriteOffsetBytes property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadata

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

      PutObjectRequest.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.
    • storageClass

      PutObjectRequest.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.
    • websiteRedirectLocation

      PutObjectRequest.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.
    • sseCustomerAlgorithm

      PutObjectRequest.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.
    • sseCustomerKey

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

      PutObjectRequest.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

      PutObjectRequest.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.
    • ssekmsEncryptionContext

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

      PutObjectRequest.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.
    • requestPayer

      PutObjectRequest.Builder requestPayer(String requestPayer)
      Sets the value of the RequestPayer property for this object.
      Parameters:
      requestPayer - The new value for the RequestPayer property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagging

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

      PutObjectRequest.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

      PutObjectRequest.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

      PutObjectRequest.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.
    • expectedBucketOwner

      PutObjectRequest.Builder expectedBucketOwner(String expectedBucketOwner)
      Sets the value of the ExpectedBucketOwner property for this object.
      Parameters:
      expectedBucketOwner - The new value for the ExpectedBucketOwner property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      PutObjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.