Class S3BucketInventoryDestinationBucket.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.s3_bucket_inventory.S3BucketInventoryDestinationBucket.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<S3BucketInventoryDestinationBucket>
- Enclosing interface:
- S3BucketInventoryDestinationBucket
@Stability(Stable) public static final class S3BucketInventoryDestinationBucket.Builder extends Object implements software.amazon.jsii.Builder<S3BucketInventoryDestinationBucket>
A builder forS3BucketInventoryDestinationBucket
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description S3BucketInventoryDestinationBucket.BuilderaccountId(String accountId)Sets the value ofS3BucketInventoryDestinationBucket.getAccountId()S3BucketInventoryDestinationBucket.BuilderbucketArn(String bucketArn)Sets the value ofS3BucketInventoryDestinationBucket.getBucketArn()S3BucketInventoryDestinationBucketbuild()Builds the configured instance.S3BucketInventoryDestinationBucket.Builderencryption(S3BucketInventoryDestinationBucketEncryption encryption)Sets the value ofS3BucketInventoryDestinationBucket.getEncryption()S3BucketInventoryDestinationBucket.Builderformat(String format)Sets the value ofS3BucketInventoryDestinationBucket.getFormat()S3BucketInventoryDestinationBucket.Builderprefix(String prefix)Sets the value ofS3BucketInventoryDestinationBucket.getPrefix()
-
-
-
Method Detail
-
bucketArn
@Stability(Stable) public S3BucketInventoryDestinationBucket.Builder bucketArn(String bucketArn)
Sets the value ofS3BucketInventoryDestinationBucket.getBucketArn()- Parameters:
bucketArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#bucket_arn S3BucketInventory#bucket_arn}. This parameter is required.- Returns:
this
-
format
@Stability(Stable) public S3BucketInventoryDestinationBucket.Builder format(String format)
Sets the value ofS3BucketInventoryDestinationBucket.getFormat()- Parameters:
format- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#format S3BucketInventory#format}. This parameter is required.- Returns:
this
-
accountId
@Stability(Stable) public S3BucketInventoryDestinationBucket.Builder accountId(String accountId)
Sets the value ofS3BucketInventoryDestinationBucket.getAccountId()- Parameters:
accountId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#account_id S3BucketInventory#account_id}.- Returns:
this
-
encryption
@Stability(Stable) public S3BucketInventoryDestinationBucket.Builder encryption(S3BucketInventoryDestinationBucketEncryption encryption)
Sets the value ofS3BucketInventoryDestinationBucket.getEncryption()- Parameters:
encryption- encryption block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#encryption S3BucketInventory#encryption}- Returns:
this
-
prefix
@Stability(Stable) public S3BucketInventoryDestinationBucket.Builder prefix(String prefix)
Sets the value ofS3BucketInventoryDestinationBucket.getPrefix()- Parameters:
prefix- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/s3_bucket_inventory#prefix S3BucketInventory#prefix}.- Returns:
this
-
build
@Stability(Stable) public S3BucketInventoryDestinationBucket build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<S3BucketInventoryDestinationBucket>- Returns:
- a new instance of
S3BucketInventoryDestinationBucket - Throws:
NullPointerException- if any required attribute was not provided
-
-