Class CloudIdentityGroupMembershipConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloud_identity_group_membership.CloudIdentityGroupMembershipConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudIdentityGroupMembershipConfig>
- Enclosing interface:
- CloudIdentityGroupMembershipConfig
@Stability(Stable) public static final class CloudIdentityGroupMembershipConfig.Builder extends Object implements software.amazon.jsii.Builder<CloudIdentityGroupMembershipConfig>
A builder forCloudIdentityGroupMembershipConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudIdentityGroupMembershipConfigbuild()Builds the configured instance.CloudIdentityGroupMembershipConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()CloudIdentityGroupMembershipConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()CloudIdentityGroupMembershipConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()CloudIdentityGroupMembershipConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()CloudIdentityGroupMembershipConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()CloudIdentityGroupMembershipConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()CloudIdentityGroupMembershipConfig.Buildergroup(String group)Sets the value ofCloudIdentityGroupMembershipConfig.getGroup()CloudIdentityGroupMembershipConfig.Builderid(String id)Sets the value ofCloudIdentityGroupMembershipConfig.getId()CloudIdentityGroupMembershipConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()CloudIdentityGroupMembershipConfig.BuilderpreferredMemberKey(CloudIdentityGroupMembershipPreferredMemberKey preferredMemberKey)Sets the value ofCloudIdentityGroupMembershipConfig.getPreferredMemberKey()CloudIdentityGroupMembershipConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()CloudIdentityGroupMembershipConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()CloudIdentityGroupMembershipConfig.Builderroles(com.hashicorp.cdktf.IResolvable roles)Sets the value ofCloudIdentityGroupMembershipConfig.getRoles()CloudIdentityGroupMembershipConfig.Builderroles(List<? extends CloudIdentityGroupMembershipRoles> roles)Sets the value ofCloudIdentityGroupMembershipConfig.getRoles()CloudIdentityGroupMembershipConfig.Buildertimeouts(CloudIdentityGroupMembershipTimeouts timeouts)Sets the value ofCloudIdentityGroupMembershipConfig.getTimeouts()
-
-
-
Method Detail
-
group
@Stability(Stable) public CloudIdentityGroupMembershipConfig.Builder group(String group)
Sets the value ofCloudIdentityGroupMembershipConfig.getGroup()- Parameters:
group- The name of the Group to create this membership in. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_identity_group_membership#group CloudIdentityGroupMembership#group}- Returns:
this
-
roles
@Stability(Stable) public CloudIdentityGroupMembershipConfig.Builder roles(com.hashicorp.cdktf.IResolvable roles)
Sets the value ofCloudIdentityGroupMembershipConfig.getRoles()- Parameters:
roles- roles block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_identity_group_membership#roles CloudIdentityGroupMembership#roles}- Returns:
this
-
roles
@Stability(Stable) public CloudIdentityGroupMembershipConfig.Builder roles(List<? extends CloudIdentityGroupMembershipRoles> roles)
Sets the value ofCloudIdentityGroupMembershipConfig.getRoles()- Parameters:
roles- roles block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_identity_group_membership#roles CloudIdentityGroupMembership#roles}- Returns:
this
-
id
@Stability(Stable) public CloudIdentityGroupMembershipConfig.Builder id(String id)
Sets the value ofCloudIdentityGroupMembershipConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_identity_group_membership#id CloudIdentityGroupMembership#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
-
preferredMemberKey
@Stability(Stable) public CloudIdentityGroupMembershipConfig.Builder preferredMemberKey(CloudIdentityGroupMembershipPreferredMemberKey preferredMemberKey)
Sets the value ofCloudIdentityGroupMembershipConfig.getPreferredMemberKey()- Parameters:
preferredMemberKey- preferred_member_key block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_identity_group_membership#preferred_member_key CloudIdentityGroupMembership#preferred_member_key}- Returns:
this
-
timeouts
@Stability(Stable) public CloudIdentityGroupMembershipConfig.Builder timeouts(CloudIdentityGroupMembershipTimeouts timeouts)
Sets the value ofCloudIdentityGroupMembershipConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_identity_group_membership#timeouts CloudIdentityGroupMembership#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public CloudIdentityGroupMembershipConfig.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 CloudIdentityGroupMembershipConfig.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 CloudIdentityGroupMembershipConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public CloudIdentityGroupMembershipConfig.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 CloudIdentityGroupMembershipConfig.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 CloudIdentityGroupMembershipConfig.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 CloudIdentityGroupMembershipConfig.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 CloudIdentityGroupMembershipConfig.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 CloudIdentityGroupMembershipConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public CloudIdentityGroupMembershipConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudIdentityGroupMembershipConfig>- Returns:
- a new instance of
CloudIdentityGroupMembershipConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-