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