Class SecretManagerSecretIamBindingConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.secret_manager_secret_iam_binding.SecretManagerSecretIamBindingConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SecretManagerSecretIamBindingConfig>
- Enclosing interface:
- SecretManagerSecretIamBindingConfig
@Stability(Stable) public static final class SecretManagerSecretIamBindingConfig.Builder extends Object implements software.amazon.jsii.Builder<SecretManagerSecretIamBindingConfig>
A builder forSecretManagerSecretIamBindingConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecretManagerSecretIamBindingConfigbuild()Builds the configured instance.SecretManagerSecretIamBindingConfig.Buildercondition(SecretManagerSecretIamBindingCondition condition)Sets the value ofSecretManagerSecretIamBindingConfig.getCondition()SecretManagerSecretIamBindingConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()SecretManagerSecretIamBindingConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()SecretManagerSecretIamBindingConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()SecretManagerSecretIamBindingConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()SecretManagerSecretIamBindingConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()SecretManagerSecretIamBindingConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()SecretManagerSecretIamBindingConfig.Builderid(String id)Sets the value ofSecretManagerSecretIamBindingConfig.getId()SecretManagerSecretIamBindingConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()SecretManagerSecretIamBindingConfig.Buildermembers(List<String> members)Sets the value ofSecretManagerSecretIamBindingConfig.getMembers()SecretManagerSecretIamBindingConfig.Builderproject(String project)Sets the value ofSecretManagerSecretIamBindingConfig.getProject()SecretManagerSecretIamBindingConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()SecretManagerSecretIamBindingConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()SecretManagerSecretIamBindingConfig.Builderrole(String role)Sets the value ofSecretManagerSecretIamBindingConfig.getRole()SecretManagerSecretIamBindingConfig.BuildersecretId(String secretId)Sets the value ofSecretManagerSecretIamBindingConfig.getSecretId()
-
-
-
Method Detail
-
members
@Stability(Stable) public SecretManagerSecretIamBindingConfig.Builder members(List<String> members)
Sets the value ofSecretManagerSecretIamBindingConfig.getMembers()- Parameters:
members- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret_iam_binding#members SecretManagerSecretIamBinding#members}. This parameter is required.- Returns:
this
-
role
@Stability(Stable) public SecretManagerSecretIamBindingConfig.Builder role(String role)
Sets the value ofSecretManagerSecretIamBindingConfig.getRole()- Parameters:
role- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret_iam_binding#role SecretManagerSecretIamBinding#role}. This parameter is required.- Returns:
this
-
secretId
@Stability(Stable) public SecretManagerSecretIamBindingConfig.Builder secretId(String secretId)
Sets the value ofSecretManagerSecretIamBindingConfig.getSecretId()- Parameters:
secretId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret_iam_binding#secret_id SecretManagerSecretIamBinding#secret_id}. This parameter is required.- Returns:
this
-
condition
@Stability(Stable) public SecretManagerSecretIamBindingConfig.Builder condition(SecretManagerSecretIamBindingCondition condition)
Sets the value ofSecretManagerSecretIamBindingConfig.getCondition()- Parameters:
condition- condition block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret_iam_binding#condition SecretManagerSecretIamBinding#condition}- Returns:
this
-
id
@Stability(Stable) public SecretManagerSecretIamBindingConfig.Builder id(String id)
Sets the value ofSecretManagerSecretIamBindingConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret_iam_binding#id SecretManagerSecretIamBinding#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
-
project
@Stability(Stable) public SecretManagerSecretIamBindingConfig.Builder project(String project)
Sets the value ofSecretManagerSecretIamBindingConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/secret_manager_secret_iam_binding#project SecretManagerSecretIamBinding#project}.- Returns:
this
-
connection
@Stability(Experimental) public SecretManagerSecretIamBindingConfig.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 SecretManagerSecretIamBindingConfig.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 SecretManagerSecretIamBindingConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public SecretManagerSecretIamBindingConfig.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 SecretManagerSecretIamBindingConfig.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 SecretManagerSecretIamBindingConfig.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 SecretManagerSecretIamBindingConfig.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 SecretManagerSecretIamBindingConfig.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 SecretManagerSecretIamBindingConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public SecretManagerSecretIamBindingConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SecretManagerSecretIamBindingConfig>- Returns:
- a new instance of
SecretManagerSecretIamBindingConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-