Class S3BucketInventory.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.s3_bucket_inventory.S3BucketInventory.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<S3BucketInventory>
- Enclosing class:
- S3BucketInventory
@Stability(Stable) public static final class S3BucketInventory.Builder extends Object implements software.amazon.jsii.Builder<S3BucketInventory>
A fluent builder forS3BucketInventory.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description S3BucketInventory.Builderbucket(String bucket)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#bucket S3BucketInventory#bucket}.S3BucketInventorybuild()S3BucketInventory.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)S3BucketInventory.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)S3BucketInventory.Buildercount(com.hashicorp.cdktf.TerraformCount count)S3BucketInventory.Buildercount(Number count)static S3BucketInventory.Buildercreate(software.constructs.Construct scope, String id)S3BucketInventory.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)S3BucketInventory.Builderdestination(S3BucketInventoryDestination destination)destination block.S3BucketInventory.Builderenabled(com.hashicorp.cdktf.IResolvable enabled)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#enabled S3BucketInventory#enabled}.S3BucketInventory.Builderenabled(Boolean enabled)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#enabled S3BucketInventory#enabled}.S3BucketInventory.Builderfilter(S3BucketInventoryFilter filter)filter block.S3BucketInventory.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)S3BucketInventory.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#id S3BucketInventory#id}.S3BucketInventory.BuilderincludedObjectVersions(String includedObjectVersions)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#included_object_versions S3BucketInventory#included_object_versions}.S3BucketInventory.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)S3BucketInventory.Buildername(String name)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#name S3BucketInventory#name}.S3BucketInventory.BuilderoptionalFields(List<String> optionalFields)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#optional_fields S3BucketInventory#optional_fields}.S3BucketInventory.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)S3BucketInventory.Builderprovisioners(List<? extends Object> provisioners)S3BucketInventory.Builderschedule(S3BucketInventorySchedule schedule)schedule block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static S3BucketInventory.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
S3BucketInventory.Builder.
-
connection
@Stability(Experimental) public S3BucketInventory.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public S3BucketInventory.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public S3BucketInventory.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public S3BucketInventory.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public S3BucketInventory.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public S3BucketInventory.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public S3BucketInventory.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public S3BucketInventory.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public S3BucketInventory.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
bucket
@Stability(Stable) public S3BucketInventory.Builder bucket(String bucket)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#bucket S3BucketInventory#bucket}.- Parameters:
bucket- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#bucket S3BucketInventory#bucket}. This parameter is required.- Returns:
this
-
destination
@Stability(Stable) public S3BucketInventory.Builder destination(S3BucketInventoryDestination destination)
destination block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#destination S3BucketInventory#destination}
- Parameters:
destination- destination block. This parameter is required.- Returns:
this
-
includedObjectVersions
@Stability(Stable) public S3BucketInventory.Builder includedObjectVersions(String includedObjectVersions)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#included_object_versions S3BucketInventory#included_object_versions}.- Parameters:
includedObjectVersions- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#included_object_versions S3BucketInventory#included_object_versions}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public S3BucketInventory.Builder name(String name)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#name S3BucketInventory#name}.- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#name S3BucketInventory#name}. This parameter is required.- Returns:
this
-
schedule
@Stability(Stable) public S3BucketInventory.Builder schedule(S3BucketInventorySchedule schedule)
schedule block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#schedule S3BucketInventory#schedule}
- Parameters:
schedule- schedule block. This parameter is required.- Returns:
this
-
enabled
@Stability(Stable) public S3BucketInventory.Builder enabled(Boolean enabled)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#enabled S3BucketInventory#enabled}.- Parameters:
enabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#enabled S3BucketInventory#enabled}. This parameter is required.- Returns:
this
-
enabled
@Stability(Stable) public S3BucketInventory.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#enabled S3BucketInventory#enabled}.- Parameters:
enabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#enabled S3BucketInventory#enabled}. This parameter is required.- Returns:
this
-
filter
@Stability(Stable) public S3BucketInventory.Builder filter(S3BucketInventoryFilter filter)
filter block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#filter S3BucketInventory#filter}
- Parameters:
filter- filter block. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public S3BucketInventory.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#id S3BucketInventory#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_bucket_inventory#id S3BucketInventory#id}. This parameter is required.- Returns:
this
-
optionalFields
@Stability(Stable) public S3BucketInventory.Builder optionalFields(List<String> optionalFields)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#optional_fields S3BucketInventory#optional_fields}.- Parameters:
optionalFields- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#optional_fields S3BucketInventory#optional_fields}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public S3BucketInventory build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<S3BucketInventory>- Returns:
- a newly built instance of
S3BucketInventory.
-
-