Class StorageBucketObjectCustomerEncryption.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.storage_bucket_object.StorageBucketObjectCustomerEncryption.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<StorageBucketObjectCustomerEncryption>
- Enclosing interface:
- StorageBucketObjectCustomerEncryption
@Stability(Stable) public static final class StorageBucketObjectCustomerEncryption.Builder extends Object implements software.amazon.jsii.Builder<StorageBucketObjectCustomerEncryption>
A builder forStorageBucketObjectCustomerEncryption
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageBucketObjectCustomerEncryptionbuild()Builds the configured instance.StorageBucketObjectCustomerEncryption.BuilderencryptionAlgorithm(String encryptionAlgorithm)Sets the value ofStorageBucketObjectCustomerEncryption.getEncryptionAlgorithm()StorageBucketObjectCustomerEncryption.BuilderencryptionKey(String encryptionKey)Sets the value ofStorageBucketObjectCustomerEncryption.getEncryptionKey()
-
-
-
Method Detail
-
encryptionKey
@Stability(Stable) public StorageBucketObjectCustomerEncryption.Builder encryptionKey(String encryptionKey)
Sets the value ofStorageBucketObjectCustomerEncryption.getEncryptionKey()- Parameters:
encryptionKey- Base64 encoded customer supplied encryption key. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#encryption_key StorageBucketObject#encryption_key}- Returns:
this
-
encryptionAlgorithm
@Stability(Stable) public StorageBucketObjectCustomerEncryption.Builder encryptionAlgorithm(String encryptionAlgorithm)
Sets the value ofStorageBucketObjectCustomerEncryption.getEncryptionAlgorithm()- Parameters:
encryptionAlgorithm- The encryption algorithm. Default: AES256. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket_object#encryption_algorithm StorageBucketObject#encryption_algorithm}- Returns:
this
-
build
@Stability(Stable) public StorageBucketObjectCustomerEncryption build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StorageBucketObjectCustomerEncryption>- Returns:
- a new instance of
StorageBucketObjectCustomerEncryption - Throws:
NullPointerException- if any required attribute was not provided
-
-