toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'acl': ?acl,
    'bucket': bucket,
    'bucketKeyEnabled': ?bucketKeyEnabled,
    'cacheControl': ?cacheControl,
    'checksumAlgorithm': ?checksumAlgorithm,
    'contentDisposition': ?contentDisposition,
    'contentEncoding': ?contentEncoding,
    'contentLanguage': ?contentLanguage,
    'contentType': ?contentType,
    'copyIfMatch': ?copyIfMatch,
    'copyIfModifiedSince': ?copyIfModifiedSince,
    'copyIfNoneMatch': ?copyIfNoneMatch,
    'copyIfUnmodifiedSince': ?copyIfUnmodifiedSince,
    'customerAlgorithm': ?customerAlgorithm,
    'customerKey': ?customerKey,
    'customerKeyMd5': ?customerKeyMd5,
    'expectedBucketOwner': ?expectedBucketOwner,
    'expectedSourceBucketOwner': ?expectedSourceBucketOwner,
    'expires': ?expires,
    'forceDestroy': ?forceDestroy,
    'grants': ?pulumi.Input.mapOptionalInputValue<List<ObjectCopyGrant>, List<Map<String, dynamic>>>(grants, (value) => pulumi.Input.encodeList<ObjectCopyGrant, Map<String, dynamic>>(value, (value) => value.toMap())),
    'key': key,
    'kmsEncryptionContext': ?kmsEncryptionContext,
    'kmsKeyId': ?kmsKeyId,
    'metadata': ?metadata,
    'metadataDirective': ?metadataDirective,
    'objectLockLegalHoldStatus': ?objectLockLegalHoldStatus,
    'objectLockMode': ?objectLockMode,
    'objectLockRetainUntilDate': ?objectLockRetainUntilDate,
    'overrideProvider': ?pulumi.Input.mapOptionalInputValue<ObjectCopyOverrideProvider, Map<String, dynamic>>(overrideProvider, (value) => value.toMap()),
    'region': ?region,
    'requestPayer': ?requestPayer,
    'serverSideEncryption': ?serverSideEncryption,
    'source': source,
    'sourceCustomerAlgorithm': ?sourceCustomerAlgorithm,
    'sourceCustomerKey': ?sourceCustomerKey,
    'sourceCustomerKeyMd5': ?sourceCustomerKeyMd5,
    'storageClass': ?storageClass,
    'taggingDirective': ?taggingDirective,
    'tags': ?tags,
    'websiteRedirect': ?websiteRedirect,
  };
}