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