Class S3BucketInventoryConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.s3_bucket_inventory.S3BucketInventoryConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<S3BucketInventoryConfig>
- Enclosing interface:
- S3BucketInventoryConfig
@Stability(Stable) public static final class S3BucketInventoryConfig.Builder extends Object implements software.amazon.jsii.Builder<S3BucketInventoryConfig>
A builder forS3BucketInventoryConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S3BucketInventoryConfig.Builderbucket(String bucket)Sets the value ofS3BucketInventoryConfig.getBucket()S3BucketInventoryConfigbuild()Builds the configured instance.S3BucketInventoryConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()S3BucketInventoryConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()S3BucketInventoryConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()S3BucketInventoryConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()S3BucketInventoryConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()S3BucketInventoryConfig.Builderdestination(S3BucketInventoryDestination destination)Sets the value ofS3BucketInventoryConfig.getDestination()S3BucketInventoryConfig.Builderenabled(com.hashicorp.cdktf.IResolvable enabled)Sets the value ofS3BucketInventoryConfig.getEnabled()S3BucketInventoryConfig.Builderenabled(Boolean enabled)Sets the value ofS3BucketInventoryConfig.getEnabled()S3BucketInventoryConfig.Builderfilter(S3BucketInventoryFilter filter)Sets the value ofS3BucketInventoryConfig.getFilter()S3BucketInventoryConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()S3BucketInventoryConfig.Builderid(String id)Sets the value ofS3BucketInventoryConfig.getId()S3BucketInventoryConfig.BuilderincludedObjectVersions(String includedObjectVersions)Sets the value ofS3BucketInventoryConfig.getIncludedObjectVersions()S3BucketInventoryConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()S3BucketInventoryConfig.Buildername(String name)Sets the value ofS3BucketInventoryConfig.getName()S3BucketInventoryConfig.BuilderoptionalFields(List<String> optionalFields)Sets the value ofS3BucketInventoryConfig.getOptionalFields()S3BucketInventoryConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()S3BucketInventoryConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()S3BucketInventoryConfig.Builderschedule(S3BucketInventorySchedule schedule)Sets the value ofS3BucketInventoryConfig.getSchedule()
-
-
-
Method Detail
-
bucket
@Stability(Stable) public S3BucketInventoryConfig.Builder bucket(String bucket)
Sets the value ofS3BucketInventoryConfig.getBucket()- 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 S3BucketInventoryConfig.Builder destination(S3BucketInventoryDestination destination)
Sets the value ofS3BucketInventoryConfig.getDestination()- Parameters:
destination- destination block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#destination S3BucketInventory#destination}- Returns:
this
-
includedObjectVersions
@Stability(Stable) public S3BucketInventoryConfig.Builder includedObjectVersions(String includedObjectVersions)
Sets the value ofS3BucketInventoryConfig.getIncludedObjectVersions()- 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 S3BucketInventoryConfig.Builder name(String name)
Sets the value ofS3BucketInventoryConfig.getName()- 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 S3BucketInventoryConfig.Builder schedule(S3BucketInventorySchedule schedule)
Sets the value ofS3BucketInventoryConfig.getSchedule()- Parameters:
schedule- schedule block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#schedule S3BucketInventory#schedule}- Returns:
this
-
enabled
@Stability(Stable) public S3BucketInventoryConfig.Builder enabled(Boolean enabled)
Sets the value ofS3BucketInventoryConfig.getEnabled()- 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}.- Returns:
this
-
enabled
@Stability(Stable) public S3BucketInventoryConfig.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Sets the value ofS3BucketInventoryConfig.getEnabled()- 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}.- Returns:
this
-
filter
@Stability(Stable) public S3BucketInventoryConfig.Builder filter(S3BucketInventoryFilter filter)
Sets the value ofS3BucketInventoryConfig.getFilter()- Parameters:
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}- Returns:
this
-
id
@Stability(Stable) public S3BucketInventoryConfig.Builder id(String id)
Sets the value ofS3BucketInventoryConfig.getId()- 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}. 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.- Returns:
this
-
optionalFields
@Stability(Stable) public S3BucketInventoryConfig.Builder optionalFields(List<String> optionalFields)
Sets the value ofS3BucketInventoryConfig.getOptionalFields()- 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}.- Returns:
this
-
connection
@Stability(Experimental) public S3BucketInventoryConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public S3BucketInventoryConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public S3BucketInventoryConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public S3BucketInventoryConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public S3BucketInventoryConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public S3BucketInventoryConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public S3BucketInventoryConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public S3BucketInventoryConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public S3BucketInventoryConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public S3BucketInventoryConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<S3BucketInventoryConfig>- Returns:
- a new instance of
S3BucketInventoryConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-