Class IdentityPlatformConfigMultiTenant.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.identity_platform_config.IdentityPlatformConfigMultiTenant.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IdentityPlatformConfigMultiTenant>
- Enclosing interface:
- IdentityPlatformConfigMultiTenant
@Stability(Stable) public static final class IdentityPlatformConfigMultiTenant.Builder extends Object implements software.amazon.jsii.Builder<IdentityPlatformConfigMultiTenant>
A builder forIdentityPlatformConfigMultiTenant
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentityPlatformConfigMultiTenant.BuilderallowTenants(com.hashicorp.cdktf.IResolvable allowTenants)Sets the value ofIdentityPlatformConfigMultiTenant.getAllowTenants()IdentityPlatformConfigMultiTenant.BuilderallowTenants(Boolean allowTenants)Sets the value ofIdentityPlatformConfigMultiTenant.getAllowTenants()IdentityPlatformConfigMultiTenantbuild()Builds the configured instance.IdentityPlatformConfigMultiTenant.BuilderdefaultTenantLocation(String defaultTenantLocation)Sets the value ofIdentityPlatformConfigMultiTenant.getDefaultTenantLocation()
-
-
-
Method Detail
-
allowTenants
@Stability(Stable) public IdentityPlatformConfigMultiTenant.Builder allowTenants(Boolean allowTenants)
Sets the value ofIdentityPlatformConfigMultiTenant.getAllowTenants()- Parameters:
allowTenants- Whether this project can have tenants or not. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_config#allow_tenants IdentityPlatformConfig#allow_tenants}- Returns:
this
-
allowTenants
@Stability(Stable) public IdentityPlatformConfigMultiTenant.Builder allowTenants(com.hashicorp.cdktf.IResolvable allowTenants)
Sets the value ofIdentityPlatformConfigMultiTenant.getAllowTenants()- Parameters:
allowTenants- Whether this project can have tenants or not. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_config#allow_tenants IdentityPlatformConfig#allow_tenants}- Returns:
this
-
defaultTenantLocation
@Stability(Stable) public IdentityPlatformConfigMultiTenant.Builder defaultTenantLocation(String defaultTenantLocation)
Sets the value ofIdentityPlatformConfigMultiTenant.getDefaultTenantLocation()- Parameters:
defaultTenantLocation- The default cloud parent org or folder that the tenant project should be created under. The parent resource name should be in the format of "/", such as "folders/123" or "organizations/456". If the value is not set, the tenant will be created under the same organization or folder as the agent project. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_config#default_tenant_location IdentityPlatformConfig#default_tenant_location}- Returns:
this
-
build
@Stability(Stable) public IdentityPlatformConfigMultiTenant build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IdentityPlatformConfigMultiTenant>- Returns:
- a new instance of
IdentityPlatformConfigMultiTenant - Throws:
NullPointerException- if any required attribute was not provided
-
-