Interface CopyObjectRequest.Builder

  • Method Details

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

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

      CopyObjectRequest.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.
    • contentDisposition

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

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

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

      CopyObjectRequest.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.
    • copySource

      CopyObjectRequest.Builder copySource(String copySource)
      Sets the value of the CopySource property for this object.
      Parameters:
      copySource - The new value for the CopySource property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • copySourceIfMatch

      CopyObjectRequest.Builder copySourceIfMatch(String copySourceIfMatch)
      Sets the value of the CopySourceIfMatch property for this object.
      Parameters:
      copySourceIfMatch - The new value for the CopySourceIfMatch property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • copySourceIfModifiedSince

      CopyObjectRequest.Builder copySourceIfModifiedSince(Instant copySourceIfModifiedSince)
      Sets the value of the CopySourceIfModifiedSince property for this object.
      Parameters:
      copySourceIfModifiedSince - The new value for the CopySourceIfModifiedSince property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • copySourceIfNoneMatch

      CopyObjectRequest.Builder copySourceIfNoneMatch(String copySourceIfNoneMatch)
      Sets the value of the CopySourceIfNoneMatch property for this object.
      Parameters:
      copySourceIfNoneMatch - The new value for the CopySourceIfNoneMatch property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • copySourceIfUnmodifiedSince

      CopyObjectRequest.Builder copySourceIfUnmodifiedSince(Instant copySourceIfUnmodifiedSince)
      Sets the value of the CopySourceIfUnmodifiedSince property for this object.
      Parameters:
      copySourceIfUnmodifiedSince - The new value for the CopySourceIfUnmodifiedSince 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.
    • grantFullControl

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

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

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

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

      CopyObjectRequest.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.
    • 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.
    • metadataDirective

      CopyObjectRequest.Builder metadataDirective(String metadataDirective)
      Sets the value of the MetadataDirective property for this object.
      Parameters:
      metadataDirective - The new value for the MetadataDirective property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taggingDirective

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

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

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

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

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

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

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

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

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

      CopyObjectRequest.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.
    • copySourceSSECustomerAlgorithm

      CopyObjectRequest.Builder copySourceSSECustomerAlgorithm(String copySourceSSECustomerAlgorithm)
      Sets the value of the CopySourceSSECustomerAlgorithm property for this object.
      Parameters:
      copySourceSSECustomerAlgorithm - The new value for the CopySourceSSECustomerAlgorithm property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • copySourceSSECustomerKey

      CopyObjectRequest.Builder copySourceSSECustomerKey(String copySourceSSECustomerKey)
      Sets the value of the CopySourceSSECustomerKey property for this object.
      Parameters:
      copySourceSSECustomerKey - The new value for the CopySourceSSECustomerKey property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • copySourceSSECustomerKeyMD5

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

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

      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

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

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

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

      CopyObjectRequest.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.
    • expectedSourceBucketOwner

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

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