Class SecretManagerSecretVersionConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • secretData

        @Stability(Stable)
        public SecretManagerSecretVersionConfig.Builder secretData​(String secretData)
        Parameters:
        secretData - The secret data. Must be no larger than 64KiB. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret_version#secret_data SecretManagerSecretVersion#secret_data}
        Returns:
        this
      • deletionPolicy

        @Stability(Stable)
        public SecretManagerSecretVersionConfig.Builder deletionPolicy​(String deletionPolicy)
        Parameters:
        deletionPolicy - The deletion policy for the secret version. Setting 'ABANDON' allows the resource to be abandoned rather than deleted. Setting 'DISABLE' allows the resource to be disabled rather than deleted. Default is 'DELETE'. Possible values are: * DELETE * DISABLE * ABANDON Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret_version#deletion_policy SecretManagerSecretVersion#deletion_policy}
        Returns:
        this
      • enabled

        @Stability(Stable)
        public SecretManagerSecretVersionConfig.Builder enabled​(com.hashicorp.cdktf.IResolvable enabled)
        Parameters:
        enabled - The current state of the SecretVersion. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret_version#enabled SecretManagerSecretVersion#enabled}
        Returns:
        this
      • id

        @Stability(Stable)
        public SecretManagerSecretVersionConfig.Builder id​(String id)
        Parameters:
        id - Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret_version#id SecretManagerSecretVersion#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
      • isSecretDataBase64

        @Stability(Stable)
        public SecretManagerSecretVersionConfig.Builder isSecretDataBase64​(Boolean isSecretDataBase64)
        Parameters:
        isSecretDataBase64 - If set to 'true', the secret data is expected to be base64-encoded string and would be sent as is. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret_version#is_secret_data_base64 SecretManagerSecretVersion#is_secret_data_base64}
        Returns:
        this
      • isSecretDataBase64

        @Stability(Stable)
        public SecretManagerSecretVersionConfig.Builder isSecretDataBase64​(com.hashicorp.cdktf.IResolvable isSecretDataBase64)
        Parameters:
        isSecretDataBase64 - If set to 'true', the secret data is expected to be base64-encoded string and would be sent as is. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret_version#is_secret_data_base64 SecretManagerSecretVersion#is_secret_data_base64}
        Returns:
        this
      • connection

        @Stability(Experimental)
        public SecretManagerSecretVersionConfig.Builder connection​(com.hashicorp.cdktf.SSHProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • connection

        @Stability(Experimental)
        public SecretManagerSecretVersionConfig.Builder connection​(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
        Sets the value of TerraformMetaArguments.getConnection()
        Parameters:
        connection - the value to be set.
        Returns:
        this
      • count

        @Stability(Experimental)
        public SecretManagerSecretVersionConfig.Builder count​(com.hashicorp.cdktf.TerraformCount count)
        Sets the value of TerraformMetaArguments.getCount()
        Parameters:
        count - the value to be set.
        Returns:
        this
      • dependsOn

        @Stability(Experimental)
        public SecretManagerSecretVersionConfig.Builder dependsOn​(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
        Sets the value of TerraformMetaArguments.getDependsOn()
        Parameters:
        dependsOn - the value to be set.
        Returns:
        this
      • forEach

        @Stability(Experimental)
        public SecretManagerSecretVersionConfig.Builder forEach​(com.hashicorp.cdktf.ITerraformIterator forEach)
        Sets the value of TerraformMetaArguments.getForEach()
        Parameters:
        forEach - the value to be set.
        Returns:
        this
      • lifecycle

        @Stability(Experimental)
        public SecretManagerSecretVersionConfig.Builder lifecycle​(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
        Sets the value of TerraformMetaArguments.getLifecycle()
        Parameters:
        lifecycle - the value to be set.
        Returns:
        this
      • provider

        @Stability(Experimental)
        public SecretManagerSecretVersionConfig.Builder provider​(com.hashicorp.cdktf.TerraformProvider provider)
        Sets the value of TerraformMetaArguments.getProvider()
        Parameters:
        provider - the value to be set.
        Returns:
        this
      • provisioners

        @Stability(Experimental)
        public SecretManagerSecretVersionConfig.Builder provisioners​(List<? extends Object> provisioners)
        Sets the value of TerraformMetaArguments.getProvisioners()
        Parameters:
        provisioners - the value to be set.
        Returns:
        this