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