Class S3Object.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.s3_object.S3Object.Builder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description S3Object.Builderacl(String acl)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#acl S3Object#acl}.S3Object.Builderbucket(String bucket)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#bucket S3Object#bucket}.S3Object.BuilderbucketKeyEnabled(com.hashicorp.cdktf.IResolvable bucketKeyEnabled)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#bucket_key_enabled S3Object#bucket_key_enabled}.S3Object.BuilderbucketKeyEnabled(Boolean bucketKeyEnabled)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#bucket_key_enabled S3Object#bucket_key_enabled}.S3Objectbuild()S3Object.BuildercacheControl(String cacheControl)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#cache_control S3Object#cache_control}.S3Object.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)S3Object.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)S3Object.Buildercontent(String content)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content S3Object#content}.S3Object.BuildercontentBase64(String contentBase64)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content_base64 S3Object#content_base64}.S3Object.BuildercontentDisposition(String contentDisposition)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content_disposition S3Object#content_disposition}.S3Object.BuildercontentEncoding(String contentEncoding)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content_encoding S3Object#content_encoding}.S3Object.BuildercontentLanguage(String contentLanguage)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content_language S3Object#content_language}.S3Object.BuildercontentType(String contentType)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content_type S3Object#content_type}.S3Object.Buildercount(com.hashicorp.cdktf.TerraformCount count)S3Object.Buildercount(Number count)static S3Object.Buildercreate(software.constructs.Construct scope, String id)S3Object.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)S3Object.Builderetag(String etag)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#etag S3Object#etag}.S3Object.BuilderforceDestroy(com.hashicorp.cdktf.IResolvable forceDestroy)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#force_destroy S3Object#force_destroy}.S3Object.BuilderforceDestroy(Boolean forceDestroy)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#force_destroy S3Object#force_destroy}.S3Object.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)S3Object.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#id S3Object#id}.S3Object.Builderkey(String key)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#key S3Object#key}.S3Object.BuilderkmsKeyId(String kmsKeyId)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#kms_key_id S3Object#kms_key_id}.S3Object.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)S3Object.Buildermetadata(Map<String,String> metadata)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#metadata S3Object#metadata}.S3Object.BuilderobjectLockLegalHoldStatus(String objectLockLegalHoldStatus)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#object_lock_legal_hold_status S3Object#object_lock_legal_hold_status}.S3Object.BuilderobjectLockMode(String objectLockMode)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#object_lock_mode S3Object#object_lock_mode}.S3Object.BuilderobjectLockRetainUntilDate(String objectLockRetainUntilDate)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#object_lock_retain_until_date S3Object#object_lock_retain_until_date}.S3Object.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)S3Object.Builderprovisioners(List<? extends Object> provisioners)S3Object.BuilderserverSideEncryption(String serverSideEncryption)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#server_side_encryption S3Object#server_side_encryption}.S3Object.Buildersource(String source)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#source S3Object#source}.S3Object.BuildersourceHash(String sourceHash)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#source_hash S3Object#source_hash}.S3Object.BuilderstorageClass(String storageClass)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#storage_class S3Object#storage_class}.S3Object.Buildertags(Map<String,String> tags)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#tags S3Object#tags}.S3Object.BuildertagsAll(Map<String,String> tagsAll)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#tags_all S3Object#tags_all}.S3Object.BuilderwebsiteRedirect(String websiteRedirect)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#website_redirect S3Object#website_redirect}.
-
-
-
Method Detail
-
create
@Stability(Stable) public static S3Object.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
S3Object.Builder.
-
connection
@Stability(Experimental) public S3Object.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public S3Object.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public S3Object.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public S3Object.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public S3Object.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public S3Object.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public S3Object.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public S3Object.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public S3Object.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
bucket
@Stability(Stable) public S3Object.Builder bucket(String bucket)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#bucket S3Object#bucket}.- Parameters:
bucket- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#bucket S3Object#bucket}. This parameter is required.- Returns:
this
-
key
@Stability(Stable) public S3Object.Builder key(String key)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#key S3Object#key}.- Parameters:
key- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#key S3Object#key}. This parameter is required.- Returns:
this
-
acl
@Stability(Stable) public S3Object.Builder acl(String acl)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#acl S3Object#acl}.- Parameters:
acl- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#acl S3Object#acl}. This parameter is required.- Returns:
this
-
bucketKeyEnabled
@Stability(Stable) public S3Object.Builder bucketKeyEnabled(Boolean bucketKeyEnabled)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#bucket_key_enabled S3Object#bucket_key_enabled}.- Parameters:
bucketKeyEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#bucket_key_enabled S3Object#bucket_key_enabled}. This parameter is required.- Returns:
this
-
bucketKeyEnabled
@Stability(Stable) public S3Object.Builder bucketKeyEnabled(com.hashicorp.cdktf.IResolvable bucketKeyEnabled)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#bucket_key_enabled S3Object#bucket_key_enabled}.- Parameters:
bucketKeyEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#bucket_key_enabled S3Object#bucket_key_enabled}. This parameter is required.- Returns:
this
-
cacheControl
@Stability(Stable) public S3Object.Builder cacheControl(String cacheControl)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#cache_control S3Object#cache_control}.- Parameters:
cacheControl- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#cache_control S3Object#cache_control}. This parameter is required.- Returns:
this
-
content
@Stability(Stable) public S3Object.Builder content(String content)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content S3Object#content}.- Parameters:
content- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content S3Object#content}. This parameter is required.- Returns:
this
-
contentBase64
@Stability(Stable) public S3Object.Builder contentBase64(String contentBase64)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content_base64 S3Object#content_base64}.- Parameters:
contentBase64- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content_base64 S3Object#content_base64}. This parameter is required.- Returns:
this
-
contentDisposition
@Stability(Stable) public S3Object.Builder contentDisposition(String contentDisposition)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content_disposition S3Object#content_disposition}.- Parameters:
contentDisposition- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content_disposition S3Object#content_disposition}. This parameter is required.- Returns:
this
-
contentEncoding
@Stability(Stable) public S3Object.Builder contentEncoding(String contentEncoding)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content_encoding S3Object#content_encoding}.- Parameters:
contentEncoding- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content_encoding S3Object#content_encoding}. This parameter is required.- Returns:
this
-
contentLanguage
@Stability(Stable) public S3Object.Builder contentLanguage(String contentLanguage)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content_language S3Object#content_language}.- Parameters:
contentLanguage- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content_language S3Object#content_language}. This parameter is required.- Returns:
this
-
contentType
@Stability(Stable) public S3Object.Builder contentType(String contentType)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content_type S3Object#content_type}.- Parameters:
contentType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#content_type S3Object#content_type}. This parameter is required.- Returns:
this
-
etag
@Stability(Stable) public S3Object.Builder etag(String etag)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#etag S3Object#etag}.- Parameters:
etag- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#etag S3Object#etag}. This parameter is required.- Returns:
this
-
forceDestroy
@Stability(Stable) public S3Object.Builder forceDestroy(Boolean forceDestroy)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#force_destroy S3Object#force_destroy}.- Parameters:
forceDestroy- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#force_destroy S3Object#force_destroy}. This parameter is required.- Returns:
this
-
forceDestroy
@Stability(Stable) public S3Object.Builder forceDestroy(com.hashicorp.cdktf.IResolvable forceDestroy)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#force_destroy S3Object#force_destroy}.- Parameters:
forceDestroy- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#force_destroy S3Object#force_destroy}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public S3Object.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#id S3Object#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#id S3Object#id}. This parameter is required.- Returns:
this
-
kmsKeyId
@Stability(Stable) public S3Object.Builder kmsKeyId(String kmsKeyId)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#kms_key_id S3Object#kms_key_id}.- Parameters:
kmsKeyId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#kms_key_id S3Object#kms_key_id}. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public S3Object.Builder metadata(Map<String,String> metadata)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#metadata S3Object#metadata}.- Parameters:
metadata- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#metadata S3Object#metadata}. This parameter is required.- Returns:
this
-
objectLockLegalHoldStatus
@Stability(Stable) public S3Object.Builder objectLockLegalHoldStatus(String objectLockLegalHoldStatus)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#object_lock_legal_hold_status S3Object#object_lock_legal_hold_status}.- Parameters:
objectLockLegalHoldStatus- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#object_lock_legal_hold_status S3Object#object_lock_legal_hold_status}. This parameter is required.- Returns:
this
-
objectLockMode
@Stability(Stable) public S3Object.Builder objectLockMode(String objectLockMode)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#object_lock_mode S3Object#object_lock_mode}.- Parameters:
objectLockMode- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#object_lock_mode S3Object#object_lock_mode}. This parameter is required.- Returns:
this
-
objectLockRetainUntilDate
@Stability(Stable) public S3Object.Builder objectLockRetainUntilDate(String objectLockRetainUntilDate)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#object_lock_retain_until_date S3Object#object_lock_retain_until_date}.- Parameters:
objectLockRetainUntilDate- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#object_lock_retain_until_date S3Object#object_lock_retain_until_date}. This parameter is required.- Returns:
this
-
serverSideEncryption
@Stability(Stable) public S3Object.Builder serverSideEncryption(String serverSideEncryption)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#server_side_encryption S3Object#server_side_encryption}.- Parameters:
serverSideEncryption- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#server_side_encryption S3Object#server_side_encryption}. This parameter is required.- Returns:
this
-
source
@Stability(Stable) public S3Object.Builder source(String source)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#source S3Object#source}.- Parameters:
source- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#source S3Object#source}. This parameter is required.- Returns:
this
-
sourceHash
@Stability(Stable) public S3Object.Builder sourceHash(String sourceHash)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#source_hash S3Object#source_hash}.- Parameters:
sourceHash- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#source_hash S3Object#source_hash}. This parameter is required.- Returns:
this
-
storageClass
@Stability(Stable) public S3Object.Builder storageClass(String storageClass)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#storage_class S3Object#storage_class}.- Parameters:
storageClass- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#storage_class S3Object#storage_class}. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public S3Object.Builder tags(Map<String,String> tags)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#tags S3Object#tags}.- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#tags S3Object#tags}. This parameter is required.- Returns:
this
-
tagsAll
@Stability(Stable) public S3Object.Builder tagsAll(Map<String,String> tagsAll)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#tags_all S3Object#tags_all}.- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#tags_all S3Object#tags_all}. This parameter is required.- Returns:
this
-
websiteRedirect
@Stability(Stable) public S3Object.Builder websiteRedirect(String websiteRedirect)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#website_redirect S3Object#website_redirect}.- Parameters:
websiteRedirect- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_object#website_redirect S3Object#website_redirect}. This parameter is required.- Returns:
this
-
-