Class ObjectCopyState.Builder

  • Enclosing class:
    ObjectCopyState

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

      • Builder

        public Builder()
    • Method Detail

      • acl

        public ObjectCopyState.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 ObjectCopyState.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
      • arn

        public ObjectCopyState.Builder arn​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the object.
        Returns:
        builder
      • arn

        public ObjectCopyState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the object.
        Returns:
        builder
      • bucket

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

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

        public ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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
      • checksumCrc32

        public ObjectCopyState.Builder checksumCrc32​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> checksumCrc32)
        Parameters:
        checksumCrc32 - Base64-encoded, 32-bit CRC32 checksum of the object.
        Returns:
        builder
      • checksumCrc32

        public ObjectCopyState.Builder checksumCrc32​(java.lang.String checksumCrc32)
        Parameters:
        checksumCrc32 - Base64-encoded, 32-bit CRC32 checksum of the object.
        Returns:
        builder
      • checksumCrc32c

        public ObjectCopyState.Builder checksumCrc32c​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> checksumCrc32c)
        Parameters:
        checksumCrc32c - Base64-encoded, 32-bit CRC32C checksum of the object.
        Returns:
        builder
      • checksumCrc32c

        public ObjectCopyState.Builder checksumCrc32c​(java.lang.String checksumCrc32c)
        Parameters:
        checksumCrc32c - Base64-encoded, 32-bit CRC32C checksum of the object.
        Returns:
        builder
      • checksumCrc64nvme

        public ObjectCopyState.Builder checksumCrc64nvme​(@Nullable
                                                         com.pulumi.core.Output<java.lang.String> checksumCrc64nvme)
        Parameters:
        checksumCrc64nvme - Base64-encoded, 64-bit CRC64NVME checksum of the object.
        Returns:
        builder
      • checksumCrc64nvme

        public ObjectCopyState.Builder checksumCrc64nvme​(java.lang.String checksumCrc64nvme)
        Parameters:
        checksumCrc64nvme - Base64-encoded, 64-bit CRC64NVME checksum of the object.
        Returns:
        builder
      • checksumSha1

        public ObjectCopyState.Builder checksumSha1​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> checksumSha1)
        Parameters:
        checksumSha1 - Base64-encoded, 160-bit SHA-1 digest of the object.
        Returns:
        builder
      • checksumSha1

        public ObjectCopyState.Builder checksumSha1​(java.lang.String checksumSha1)
        Parameters:
        checksumSha1 - Base64-encoded, 160-bit SHA-1 digest of the object.
        Returns:
        builder
      • checksumSha256

        public ObjectCopyState.Builder checksumSha256​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> checksumSha256)
        Parameters:
        checksumSha256 - Base64-encoded, 256-bit SHA-256 digest of the object.
        Returns:
        builder
      • checksumSha256

        public ObjectCopyState.Builder checksumSha256​(java.lang.String checksumSha256)
        Parameters:
        checksumSha256 - Base64-encoded, 256-bit SHA-256 digest of the object.
        Returns:
        builder
      • contentDisposition

        public ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.Builder contentLanguage​(java.lang.String contentLanguage)
        Parameters:
        contentLanguage - Language the content is in e.g., en-US or en-GB.
        Returns:
        builder
      • contentType

        public ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.Builder copyIfMatch​(java.lang.String copyIfMatch)
        Parameters:
        copyIfMatch - Copies the object if its entity tag (ETag) matches the specified tag.
        Returns:
        builder
      • copyIfModifiedSince

        public ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.Builder customerAlgorithm​(java.lang.String customerAlgorithm)
        Parameters:
        customerAlgorithm - Algorithm to use when encrypting the object (for example, AES256).
        Returns:
        builder
      • customerKey

        public ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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
      • etag

        public ObjectCopyState.Builder etag​(@Nullable
                                            com.pulumi.core.Output<java.lang.String> etag)
        Parameters:
        etag - ETag generated for the object (an MD5 sum of the object content). For plaintext objects or objects encrypted with an AWS-managed key, the hash is an MD5 digest of the object data. For objects encrypted with a KMS key or objects created by either the Multipart Upload or Part Copy operation, the hash is not an MD5 digest, regardless of the method of encryption. More information on possible values can be found on [Common Response Headers](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonResponseHeaders.html).
        Returns:
        builder
      • etag

        public ObjectCopyState.Builder etag​(java.lang.String etag)
        Parameters:
        etag - ETag generated for the object (an MD5 sum of the object content). For plaintext objects or objects encrypted with an AWS-managed key, the hash is an MD5 digest of the object data. For objects encrypted with a KMS key or objects created by either the Multipart Upload or Part Copy operation, the hash is not an MD5 digest, regardless of the method of encryption. More information on possible values can be found on [Common Response Headers](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTCommonResponseHeaders.html).
        Returns:
        builder
      • expectedBucketOwner

        public ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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
      • expiration

        public ObjectCopyState.Builder expiration​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> expiration)
        Parameters:
        expiration - If the object expiration is configured, this attribute will be set.
        Returns:
        builder
      • expiration

        public ObjectCopyState.Builder expiration​(java.lang.String expiration)
        Parameters:
        expiration - If the object expiration is configured, this attribute will be set.
        Returns:
        builder
      • expires

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

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

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

        public ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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
      • lastModified

        public ObjectCopyState.Builder lastModified​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> lastModified)
        Parameters:
        lastModified - Returns the date that the object was last modified, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
        Returns:
        builder
      • lastModified

        public ObjectCopyState.Builder lastModified​(java.lang.String lastModified)
        Parameters:
        lastModified - Returns the date that the object was last modified, in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8).
        Returns:
        builder
      • metadata

        public ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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
      • requestCharged

        public ObjectCopyState.Builder requestCharged​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Boolean> requestCharged)
        Parameters:
        requestCharged - If present, indicates that the requester was successfully charged for the request.
        Returns:
        builder
      • requestCharged

        public ObjectCopyState.Builder requestCharged​(java.lang.Boolean requestCharged)
        Parameters:
        requestCharged - If present, indicates that the requester was successfully charged for the request.
        Returns:
        builder
      • requestPayer

        public ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.Builder source​(@Nullable
                                              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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.Builder sourceCustomerAlgorithm​(java.lang.String sourceCustomerAlgorithm)
        Parameters:
        sourceCustomerAlgorithm - Algorithm to use when decrypting the source object (for example, AES256).
        Returns:
        builder
      • sourceCustomerKey

        public ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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
      • sourceVersionId

        public ObjectCopyState.Builder sourceVersionId​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> sourceVersionId)
        Parameters:
        sourceVersionId - Version of the copied object in the source bucket.
        Returns:
        builder
      • sourceVersionId

        public ObjectCopyState.Builder sourceVersionId​(java.lang.String sourceVersionId)
        Parameters:
        sourceVersionId - Version of the copied object in the source bucket.
        Returns:
        builder
      • storageClass

        public ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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 ObjectCopyState.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
      • tagsAll

        public ObjectCopyState.Builder tagsAll​(@Nullable
                                               com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public ObjectCopyState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • versionId

        public ObjectCopyState.Builder versionId​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> versionId)
        Parameters:
        versionId - Version ID of the newly created copy.
        Returns:
        builder
      • versionId

        public ObjectCopyState.Builder versionId​(java.lang.String versionId)
        Parameters:
        versionId - Version ID of the newly created copy.
        Returns:
        builder
      • websiteRedirect

        public ObjectCopyState.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 ObjectCopyState.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