Class ObjectCopyArgs.Builder

  • Enclosing class:
    ObjectCopyArgs

    public static final class ObjectCopyArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • acl

        public ObjectCopyArgs.Builder acl​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> acl)
        Parameters:
        acl - [Canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) to apply. Valid values are `private`, `public-read`, `public-read-write`, `authenticated-read`, `aws-exec-read`, `bucket-owner-read`, and `bucket-owner-full-control`. Conflicts with `grant`.
        Returns:
        builder
      • acl

        public ObjectCopyArgs.Builder acl​(java.lang.String acl)
        Parameters:
        acl - [Canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) to apply. Valid values are `private`, `public-read`, `public-read-write`, `authenticated-read`, `aws-exec-read`, `bucket-owner-read`, and `bucket-owner-full-control`. Conflicts with `grant`.
        Returns:
        builder
      • bucket

        public ObjectCopyArgs.Builder bucket​(com.pulumi.core.Output<java.lang.String> bucket)
        Parameters:
        bucket - Name of the bucket to put the file in.
        Returns:
        builder
      • bucket

        public ObjectCopyArgs.Builder bucket​(java.lang.String bucket)
        Parameters:
        bucket - Name of the bucket to put the file in.
        Returns:
        builder
      • bucketKeyEnabled

        public ObjectCopyArgs.Builder bucketKeyEnabled​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Boolean> bucketKeyEnabled)
        Parameters:
        bucketKeyEnabled - Whether to use an S3 Bucket Key for object encryption with server-side encryption using KMS (SSE-KMS).
        Returns:
        builder
      • bucketKeyEnabled

        public ObjectCopyArgs.Builder bucketKeyEnabled​(java.lang.Boolean bucketKeyEnabled)
        Parameters:
        bucketKeyEnabled - Whether to use an S3 Bucket Key for object encryption with server-side encryption using KMS (SSE-KMS).
        Returns:
        builder
      • cacheControl

        public ObjectCopyArgs.Builder cacheControl​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> cacheControl)
        Parameters:
        cacheControl - Caching behavior along the request/reply chain. Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.
        Returns:
        builder
      • cacheControl

        public ObjectCopyArgs.Builder cacheControl​(java.lang.String cacheControl)
        Parameters:
        cacheControl - Caching behavior along the request/reply chain. Read [w3c cacheControl](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9) for further details.
        Returns:
        builder
      • checksumAlgorithm

        public ObjectCopyArgs.Builder checksumAlgorithm​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> checksumAlgorithm)
        Parameters:
        checksumAlgorithm - Algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `CRC64NVME` `SHA1`, `SHA256`.
        Returns:
        builder
      • checksumAlgorithm

        public ObjectCopyArgs.Builder checksumAlgorithm​(java.lang.String checksumAlgorithm)
        Parameters:
        checksumAlgorithm - Algorithm used to create the checksum for the object. If a value is specified and the object is encrypted with KMS, you must have permission to use the `kms:Decrypt` action. Valid values: `CRC32`, `CRC32C`, `CRC64NVME` `SHA1`, `SHA256`.
        Returns:
        builder
      • contentDisposition

        public ObjectCopyArgs.Builder contentDisposition​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> contentDisposition)
        Parameters:
        contentDisposition - Presentational information for the object. Read [w3c contentDisposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.
        Returns:
        builder
      • contentDisposition

        public ObjectCopyArgs.Builder contentDisposition​(java.lang.String contentDisposition)
        Parameters:
        contentDisposition - Presentational information for the object. Read [w3c contentDisposition](http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1) for further information.
        Returns:
        builder
      • contentEncoding

        public ObjectCopyArgs.Builder contentEncoding​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> contentEncoding)
        Parameters:
        contentEncoding - Content encodings that have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [w3c content encoding](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information.
        Returns:
        builder
      • contentEncoding

        public ObjectCopyArgs.Builder contentEncoding​(java.lang.String contentEncoding)
        Parameters:
        contentEncoding - Content encodings that have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. Read [w3c content encoding](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.11) for further information.
        Returns:
        builder
      • contentLanguage

        public ObjectCopyArgs.Builder contentLanguage​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> contentLanguage)
        Parameters:
        contentLanguage - Language the content is in e.g., en-US or en-GB.
        Returns:
        builder
      • contentLanguage

        public ObjectCopyArgs.Builder contentLanguage​(java.lang.String contentLanguage)
        Parameters:
        contentLanguage - Language the content is in e.g., en-US or en-GB.
        Returns:
        builder
      • contentType

        public ObjectCopyArgs.Builder contentType​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> contentType)
        Parameters:
        contentType - Standard MIME type describing the format of the object data, e.g., `application/octet-stream`. All Valid MIME Types are valid for this input.
        Returns:
        builder
      • contentType

        public ObjectCopyArgs.Builder contentType​(java.lang.String contentType)
        Parameters:
        contentType - Standard MIME type describing the format of the object data, e.g., `application/octet-stream`. All Valid MIME Types are valid for this input.
        Returns:
        builder
      • copyIfMatch

        public ObjectCopyArgs.Builder copyIfMatch​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> copyIfMatch)
        Parameters:
        copyIfMatch - Copies the object if its entity tag (ETag) matches the specified tag.
        Returns:
        builder
      • copyIfMatch

        public ObjectCopyArgs.Builder copyIfMatch​(java.lang.String copyIfMatch)
        Parameters:
        copyIfMatch - Copies the object if its entity tag (ETag) matches the specified tag.
        Returns:
        builder
      • copyIfModifiedSince

        public ObjectCopyArgs.Builder copyIfModifiedSince​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> copyIfModifiedSince)
        Parameters:
        copyIfModifiedSince - Copies the object if it has been modified since the specified time, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
        Returns:
        builder
      • copyIfModifiedSince

        public ObjectCopyArgs.Builder copyIfModifiedSince​(java.lang.String copyIfModifiedSince)
        Parameters:
        copyIfModifiedSince - Copies the object if it has been modified since the specified time, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
        Returns:
        builder
      • copyIfNoneMatch

        public ObjectCopyArgs.Builder copyIfNoneMatch​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> copyIfNoneMatch)
        Parameters:
        copyIfNoneMatch - Copies the object if its entity tag (ETag) is different than the specified ETag.
        Returns:
        builder
      • copyIfNoneMatch

        public ObjectCopyArgs.Builder copyIfNoneMatch​(java.lang.String copyIfNoneMatch)
        Parameters:
        copyIfNoneMatch - Copies the object if its entity tag (ETag) is different than the specified ETag.
        Returns:
        builder
      • copyIfUnmodifiedSince

        public ObjectCopyArgs.Builder copyIfUnmodifiedSince​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> copyIfUnmodifiedSince)
        Parameters:
        copyIfUnmodifiedSince - Copies the object if it hasn't been modified since the specified time, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
        Returns:
        builder
      • copyIfUnmodifiedSince

        public ObjectCopyArgs.Builder copyIfUnmodifiedSince​(java.lang.String copyIfUnmodifiedSince)
        Parameters:
        copyIfUnmodifiedSince - Copies the object if it hasn't been modified since the specified time, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
        Returns:
        builder
      • customerAlgorithm

        public ObjectCopyArgs.Builder customerAlgorithm​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> customerAlgorithm)
        Parameters:
        customerAlgorithm - Algorithm to use when encrypting the object (for example, AES256).
        Returns:
        builder
      • customerAlgorithm

        public ObjectCopyArgs.Builder customerAlgorithm​(java.lang.String customerAlgorithm)
        Parameters:
        customerAlgorithm - Algorithm to use when encrypting the object (for example, AES256).
        Returns:
        builder
      • customerKey

        public ObjectCopyArgs.Builder customerKey​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> customerKey)
        Parameters:
        customerKey - Customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon S3 does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side-encryption-customer-algorithm header.
        Returns:
        builder
      • customerKey

        public ObjectCopyArgs.Builder customerKey​(java.lang.String customerKey)
        Parameters:
        customerKey - Customer-provided encryption key for Amazon S3 to use in encrypting data. This value is used to store the object and then it is discarded; Amazon S3 does not store the encryption key. The key must be appropriate for use with the algorithm specified in the x-amz-server-side-encryption-customer-algorithm header.
        Returns:
        builder
      • customerKeyMd5

        public ObjectCopyArgs.Builder customerKeyMd5​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> customerKeyMd5)
        Parameters:
        customerKeyMd5 - 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error.
        Returns:
        builder
      • customerKeyMd5

        public ObjectCopyArgs.Builder customerKeyMd5​(java.lang.String customerKeyMd5)
        Parameters:
        customerKeyMd5 - 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error.
        Returns:
        builder
      • expectedBucketOwner

        public ObjectCopyArgs.Builder expectedBucketOwner​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> expectedBucketOwner)
        Parameters:
        expectedBucketOwner - Account ID of the expected destination bucket owner. If the destination bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.
        Returns:
        builder
      • expectedBucketOwner

        public ObjectCopyArgs.Builder expectedBucketOwner​(java.lang.String expectedBucketOwner)
        Parameters:
        expectedBucketOwner - Account ID of the expected destination bucket owner. If the destination bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.
        Returns:
        builder
      • expectedSourceBucketOwner

        public ObjectCopyArgs.Builder expectedSourceBucketOwner​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> expectedSourceBucketOwner)
        Parameters:
        expectedSourceBucketOwner - Account ID of the expected source bucket owner. If the source bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.
        Returns:
        builder
      • expectedSourceBucketOwner

        public ObjectCopyArgs.Builder expectedSourceBucketOwner​(java.lang.String expectedSourceBucketOwner)
        Parameters:
        expectedSourceBucketOwner - Account ID of the expected source bucket owner. If the source bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.
        Returns:
        builder
      • expires

        public ObjectCopyArgs.Builder expires​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> expires)
        Parameters:
        expires - Date and time at which the object is no longer cacheable, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
        Returns:
        builder
      • expires

        public ObjectCopyArgs.Builder expires​(java.lang.String expires)
        Parameters:
        expires - Date and time at which the object is no longer cacheable, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
        Returns:
        builder
      • forceDestroy

        public ObjectCopyArgs.Builder forceDestroy​(@Nullable
                                                   com.pulumi.core.Output<java.lang.Boolean> forceDestroy)
        Parameters:
        forceDestroy - Allow the object to be deleted by removing any legal hold on any object version. Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
        Returns:
        builder
      • forceDestroy

        public ObjectCopyArgs.Builder forceDestroy​(java.lang.Boolean forceDestroy)
        Parameters:
        forceDestroy - Allow the object to be deleted by removing any legal hold on any object version. Default is `false`. This value should be set to `true` only if the bucket has S3 object lock enabled.
        Returns:
        builder
      • grants

        public ObjectCopyArgs.Builder grants​(@Nullable
                                             com.pulumi.core.Output<java.util.List<ObjectCopyGrantArgs>> grants)
        Parameters:
        grants - Configuration block for header grants. Documented below. Conflicts with `acl`.
        Returns:
        builder
      • grants

        public ObjectCopyArgs.Builder grants​(java.util.List<ObjectCopyGrantArgs> grants)
        Parameters:
        grants - Configuration block for header grants. Documented below. Conflicts with `acl`.
        Returns:
        builder
      • key

        public ObjectCopyArgs.Builder key​(com.pulumi.core.Output<java.lang.String> key)
        Parameters:
        key - Name of the object once it is in the bucket.
        Returns:
        builder
      • key

        public ObjectCopyArgs.Builder key​(java.lang.String key)
        Parameters:
        key - Name of the object once it is in the bucket.
        Returns:
        builder
      • kmsEncryptionContext

        public ObjectCopyArgs.Builder kmsEncryptionContext​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> kmsEncryptionContext)
        Parameters:
        kmsEncryptionContext - AWS KMS Encryption Context to use for object encryption. The value is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.
        Returns:
        builder
      • kmsEncryptionContext

        public ObjectCopyArgs.Builder kmsEncryptionContext​(java.lang.String kmsEncryptionContext)
        Parameters:
        kmsEncryptionContext - AWS KMS Encryption Context to use for object encryption. The value is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.
        Returns:
        builder
      • kmsKeyId

        public ObjectCopyArgs.Builder kmsKeyId​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> kmsKeyId)
        Parameters:
        kmsKeyId - AWS KMS Key ARN to use for object encryption. This value is a fully qualified **ARN** of the KMS Key. If using `aws.kms.Key`, use the exported `arn` attribute: `kmsKeyId = aws_kms_key.foo.arn`
        Returns:
        builder
      • kmsKeyId

        public ObjectCopyArgs.Builder kmsKeyId​(java.lang.String kmsKeyId)
        Parameters:
        kmsKeyId - AWS KMS Key ARN to use for object encryption. This value is a fully qualified **ARN** of the KMS Key. If using `aws.kms.Key`, use the exported `arn` attribute: `kmsKeyId = aws_kms_key.foo.arn`
        Returns:
        builder
      • metadata

        public ObjectCopyArgs.Builder metadata​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> metadata)
        Parameters:
        metadata - Map of keys/values to provision metadata (will be automatically prefixed by `x-amz-meta-`, note that only lowercase label are currently supported by the AWS Go API).
        Returns:
        builder
      • metadata

        public ObjectCopyArgs.Builder metadata​(java.util.Map<java.lang.String,​java.lang.String> metadata)
        Parameters:
        metadata - Map of keys/values to provision metadata (will be automatically prefixed by `x-amz-meta-`, note that only lowercase label are currently supported by the AWS Go API).
        Returns:
        builder
      • metadataDirective

        public ObjectCopyArgs.Builder metadataDirective​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> metadataDirective)
        Parameters:
        metadataDirective - Whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are `COPY` and `REPLACE`.
        Returns:
        builder
      • metadataDirective

        public ObjectCopyArgs.Builder metadataDirective​(java.lang.String metadataDirective)
        Parameters:
        metadataDirective - Whether the metadata is copied from the source object or replaced with metadata provided in the request. Valid values are `COPY` and `REPLACE`.
        Returns:
        builder
      • objectLockLegalHoldStatus

        public ObjectCopyArgs.Builder objectLockLegalHoldStatus​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> objectLockLegalHoldStatus)
        Parameters:
        objectLockLegalHoldStatus - [Legal hold](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html#object-lock-legal-holds) status to apply to the specified object. Valid values are `ON` and `OFF`.
        Returns:
        builder
      • objectLockLegalHoldStatus

        public ObjectCopyArgs.Builder objectLockLegalHoldStatus​(java.lang.String objectLockLegalHoldStatus)
        Parameters:
        objectLockLegalHoldStatus - [Legal hold](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html#object-lock-legal-holds) status to apply to the specified object. Valid values are `ON` and `OFF`.
        Returns:
        builder
      • objectLockMode

        public ObjectCopyArgs.Builder objectLockMode​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> objectLockMode)
        Parameters:
        objectLockMode - Object lock [retention mode](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html#object-lock-retention-modes) that you want to apply to this object. Valid values are `GOVERNANCE` and `COMPLIANCE`.
        Returns:
        builder
      • objectLockMode

        public ObjectCopyArgs.Builder objectLockMode​(java.lang.String objectLockMode)
        Parameters:
        objectLockMode - Object lock [retention mode](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html#object-lock-retention-modes) that you want to apply to this object. Valid values are `GOVERNANCE` and `COMPLIANCE`.
        Returns:
        builder
      • objectLockRetainUntilDate

        public ObjectCopyArgs.Builder objectLockRetainUntilDate​(@Nullable
                                                                com.pulumi.core.Output<java.lang.String> objectLockRetainUntilDate)
        Parameters:
        objectLockRetainUntilDate - Date and time, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8), when this object's object lock will [expire](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html#object-lock-retention-periods).
        Returns:
        builder
      • objectLockRetainUntilDate

        public ObjectCopyArgs.Builder objectLockRetainUntilDate​(java.lang.String objectLockRetainUntilDate)
        Parameters:
        objectLockRetainUntilDate - Date and time, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8), when this object's object lock will [expire](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html#object-lock-retention-periods).
        Returns:
        builder
      • region

        public ObjectCopyArgs.Builder region​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public ObjectCopyArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • requestPayer

        public ObjectCopyArgs.Builder requestPayer​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> requestPayer)
        Parameters:
        requestPayer - Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. For information about downloading objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) in the Amazon S3 Developer Guide. If included, the only valid value is `requester`.
        Returns:
        builder
      • requestPayer

        public ObjectCopyArgs.Builder requestPayer​(java.lang.String requestPayer)
        Parameters:
        requestPayer - Confirms that the requester knows that they will be charged for the request. Bucket owners need not specify this parameter in their requests. For information about downloading objects from requester pays buckets, see Downloading Objects in Requestor Pays Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html) in the Amazon S3 Developer Guide. If included, the only valid value is `requester`.
        Returns:
        builder
      • serverSideEncryption

        public ObjectCopyArgs.Builder serverSideEncryption​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> serverSideEncryption)
        Parameters:
        serverSideEncryption - Server-side encryption of the object in S3. Valid values are `AES256` and `aws:kms`.
        Returns:
        builder
      • serverSideEncryption

        public ObjectCopyArgs.Builder serverSideEncryption​(java.lang.String serverSideEncryption)
        Parameters:
        serverSideEncryption - Server-side encryption of the object in S3. Valid values are `AES256` and `aws:kms`.
        Returns:
        builder
      • source

        public ObjectCopyArgs.Builder source​(com.pulumi.core.Output<java.lang.String> source)
        Parameters:
        source - Source object for the copy operation. You specify the value in one of two formats. For objects not accessed through an access point, specify the name of the source bucket and the key of the source object, separated by a slash (`/`). For example, `testbucket/test1.json`. For objects accessed through access points, specify the ARN of the object as accessed through the access point, in the format `arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key>`. For example, `arn:aws:s3:us-west-2:9999912999:accesspoint/my-access-point/object/testbucket/test1.json`. The following arguments are optional:
        Returns:
        builder
      • source

        public ObjectCopyArgs.Builder source​(java.lang.String source)
        Parameters:
        source - Source object for the copy operation. You specify the value in one of two formats. For objects not accessed through an access point, specify the name of the source bucket and the key of the source object, separated by a slash (`/`). For example, `testbucket/test1.json`. For objects accessed through access points, specify the ARN of the object as accessed through the access point, in the format `arn:aws:s3:<Region>:<account-id>:accesspoint/<access-point-name>/object/<key>`. For example, `arn:aws:s3:us-west-2:9999912999:accesspoint/my-access-point/object/testbucket/test1.json`. The following arguments are optional:
        Returns:
        builder
      • sourceCustomerAlgorithm

        public ObjectCopyArgs.Builder sourceCustomerAlgorithm​(@Nullable
                                                              com.pulumi.core.Output<java.lang.String> sourceCustomerAlgorithm)
        Parameters:
        sourceCustomerAlgorithm - Algorithm to use when decrypting the source object (for example, AES256).
        Returns:
        builder
      • sourceCustomerAlgorithm

        public ObjectCopyArgs.Builder sourceCustomerAlgorithm​(java.lang.String sourceCustomerAlgorithm)
        Parameters:
        sourceCustomerAlgorithm - Algorithm to use when decrypting the source object (for example, AES256).
        Returns:
        builder
      • sourceCustomerKey

        public ObjectCopyArgs.Builder sourceCustomerKey​(@Nullable
                                                        com.pulumi.core.Output<java.lang.String> sourceCustomerKey)
        Parameters:
        sourceCustomerKey - Customer-provided encryption key for Amazon S3 to use to decrypt the source object. The encryption key provided in this header must be one that was used when the source object was created.
        Returns:
        builder
      • sourceCustomerKey

        public ObjectCopyArgs.Builder sourceCustomerKey​(java.lang.String sourceCustomerKey)
        Parameters:
        sourceCustomerKey - Customer-provided encryption key for Amazon S3 to use to decrypt the source object. The encryption key provided in this header must be one that was used when the source object was created.
        Returns:
        builder
      • sourceCustomerKeyMd5

        public ObjectCopyArgs.Builder sourceCustomerKeyMd5​(@Nullable
                                                           com.pulumi.core.Output<java.lang.String> sourceCustomerKeyMd5)
        Parameters:
        sourceCustomerKeyMd5 - 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error.
        Returns:
        builder
      • sourceCustomerKeyMd5

        public ObjectCopyArgs.Builder sourceCustomerKeyMd5​(java.lang.String sourceCustomerKeyMd5)
        Parameters:
        sourceCustomerKeyMd5 - 128-bit MD5 digest of the encryption key according to RFC 1321. Amazon S3 uses this header for a message integrity check to ensure that the encryption key was transmitted without error.
        Returns:
        builder
      • storageClass

        public ObjectCopyArgs.Builder storageClass​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> storageClass)
        Parameters:
        storageClass - Desired [storage class](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html#AmazonS3-CopyObject-request-header-StorageClass) for the object. Defaults to `STANDARD`.
        Returns:
        builder
      • storageClass

        public ObjectCopyArgs.Builder storageClass​(java.lang.String storageClass)
        Parameters:
        storageClass - Desired [storage class](https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html#AmazonS3-CopyObject-request-header-StorageClass) for the object. Defaults to `STANDARD`.
        Returns:
        builder
      • taggingDirective

        public ObjectCopyArgs.Builder taggingDirective​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> taggingDirective)
        Parameters:
        taggingDirective - Whether the object tag-set is copied from the source object or replaced with tag-set provided in the request. Valid values are `COPY` and `REPLACE`.
        Returns:
        builder
      • taggingDirective

        public ObjectCopyArgs.Builder taggingDirective​(java.lang.String taggingDirective)
        Parameters:
        taggingDirective - Whether the object tag-set is copied from the source object or replaced with tag-set provided in the request. Valid values are `COPY` and `REPLACE`.
        Returns:
        builder
      • tags

        public ObjectCopyArgs.Builder tags​(@Nullable
                                           com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Map of tags to assign to the object. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public ObjectCopyArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Map of tags to assign to the object. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • websiteRedirect

        public ObjectCopyArgs.Builder websiteRedirect​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> websiteRedirect)
        Parameters:
        websiteRedirect - Target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
        Returns:
        builder
      • websiteRedirect

        public ObjectCopyArgs.Builder websiteRedirect​(java.lang.String websiteRedirect)
        Parameters:
        websiteRedirect - Target URL for [website redirect](http://docs.aws.amazon.com/AmazonS3/latest/dev/how-to-page-redirect.html).
        Returns:
        builder