Class CloudIdentityGroupConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.cloud_identity_group.CloudIdentityGroupConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudIdentityGroupConfig>
- Enclosing interface:
- CloudIdentityGroupConfig
@Stability(Stable) public static final class CloudIdentityGroupConfig.Builder extends Object implements software.amazon.jsii.Builder<CloudIdentityGroupConfig>
A builder forCloudIdentityGroupConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudIdentityGroupConfigbuild()Builds the configured instance.CloudIdentityGroupConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()CloudIdentityGroupConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()CloudIdentityGroupConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()CloudIdentityGroupConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()CloudIdentityGroupConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()CloudIdentityGroupConfig.Builderdescription(String description)Sets the value ofCloudIdentityGroupConfig.getDescription()CloudIdentityGroupConfig.BuilderdisplayName(String displayName)Sets the value ofCloudIdentityGroupConfig.getDisplayName()CloudIdentityGroupConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()CloudIdentityGroupConfig.BuildergroupKey(CloudIdentityGroupGroupKey groupKey)Sets the value ofCloudIdentityGroupConfig.getGroupKey()CloudIdentityGroupConfig.Builderid(String id)Sets the value ofCloudIdentityGroupConfig.getId()CloudIdentityGroupConfig.BuilderinitialGroupConfig(String initialGroupConfig)Sets the value ofCloudIdentityGroupConfig.getInitialGroupConfig()CloudIdentityGroupConfig.Builderlabels(Map<String,String> labels)Sets the value ofCloudIdentityGroupConfig.getLabels()CloudIdentityGroupConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()CloudIdentityGroupConfig.Builderparent(String parent)Sets the value ofCloudIdentityGroupConfig.getParent()CloudIdentityGroupConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()CloudIdentityGroupConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()CloudIdentityGroupConfig.Buildertimeouts(CloudIdentityGroupTimeouts timeouts)Sets the value ofCloudIdentityGroupConfig.getTimeouts()
-
-
-
Method Detail
-
groupKey
@Stability(Stable) public CloudIdentityGroupConfig.Builder groupKey(CloudIdentityGroupGroupKey groupKey)
Sets the value ofCloudIdentityGroupConfig.getGroupKey()- Parameters:
groupKey- group_key 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#group_key CloudIdentityGroup#group_key}- Returns:
this
-
labels
@Stability(Stable) public CloudIdentityGroupConfig.Builder labels(Map<String,String> labels)
Sets the value ofCloudIdentityGroupConfig.getLabels()- Parameters:
labels- One or more label entries that apply to the Group. This parameter is required. Currently supported labels contain a key with an empty value. Google Groups are the default type of group and have a label with a key of cloudidentity.googleapis.com/groups.discussion_forum and an empty value. Existing Google Groups can have an additional label with a key of cloudidentity.googleapis.com/groups.security and an empty value added to them. This is an immutable change and the security label cannot be removed once added. Dynamic groups have a label with a key of cloudidentity.googleapis.com/groups.dynamic. Identity-mapped groups for Cloud Search have a label with a key of system/groups/external and an empty value. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_identity_group#labels CloudIdentityGroup#labels}- Returns:
this
-
parent
@Stability(Stable) public CloudIdentityGroupConfig.Builder parent(String parent)
Sets the value ofCloudIdentityGroupConfig.getParent()- Parameters:
parent- The resource name of the entity under which this Group resides in the Cloud Identity resource hierarchy. This parameter is required. Must be of the form identitysources/{identity_source_id} for external-identity-mapped groups or customers/{customer_id} for Google Groups. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_identity_group#parent CloudIdentityGroup#parent}- Returns:
this
-
description
@Stability(Stable) public CloudIdentityGroupConfig.Builder description(String description)
Sets the value ofCloudIdentityGroupConfig.getDescription()- Parameters:
description- An extended description to help users determine the purpose of a Group. Must not be longer than 4,096 characters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_identity_group#description CloudIdentityGroup#description}- Returns:
this
-
displayName
@Stability(Stable) public CloudIdentityGroupConfig.Builder displayName(String displayName)
Sets the value ofCloudIdentityGroupConfig.getDisplayName()- Parameters:
displayName- The display name of the Group. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_identity_group#display_name CloudIdentityGroup#display_name}- Returns:
this
-
id
@Stability(Stable) public CloudIdentityGroupConfig.Builder id(String id)
Sets the value ofCloudIdentityGroupConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_identity_group#id CloudIdentityGroup#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
-
initialGroupConfig
@Stability(Stable) public CloudIdentityGroupConfig.Builder initialGroupConfig(String initialGroupConfig)
Sets the value ofCloudIdentityGroupConfig.getInitialGroupConfig()- Parameters:
initialGroupConfig- The initial configuration options for creating a Group. See the [API reference](https://cloud.google.com/identity/docs/reference/rest/v1beta1/groups/create#initialgroupconfig) for possible values. Default value: "EMPTY" Possible values: ["INITIAL_GROUP_CONFIG_UNSPECIFIED", "WITH_INITIAL_OWNER", "EMPTY"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloud_identity_group#initial_group_config CloudIdentityGroup#initial_group_config}- Returns:
this
-
timeouts
@Stability(Stable) public CloudIdentityGroupConfig.Builder timeouts(CloudIdentityGroupTimeouts timeouts)
Sets the value ofCloudIdentityGroupConfig.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#timeouts CloudIdentityGroup#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public CloudIdentityGroupConfig.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 CloudIdentityGroupConfig.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 CloudIdentityGroupConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public CloudIdentityGroupConfig.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 CloudIdentityGroupConfig.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 CloudIdentityGroupConfig.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 CloudIdentityGroupConfig.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 CloudIdentityGroupConfig.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 CloudIdentityGroupConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public CloudIdentityGroupConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudIdentityGroupConfig>- Returns:
- a new instance of
CloudIdentityGroupConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-