Class IdentityPlatformTenantOauthIdpConfigConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.identity_platform_tenant_oauth_idp_config.IdentityPlatformTenantOauthIdpConfigConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IdentityPlatformTenantOauthIdpConfigConfig>
- Enclosing interface:
- IdentityPlatformTenantOauthIdpConfigConfig
@Stability(Stable) public static final class IdentityPlatformTenantOauthIdpConfigConfig.Builder extends Object implements software.amazon.jsii.Builder<IdentityPlatformTenantOauthIdpConfigConfig>
A builder forIdentityPlatformTenantOauthIdpConfigConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
clientId
@Stability(Stable) public IdentityPlatformTenantOauthIdpConfigConfig.Builder clientId(String clientId)
Sets the value ofIdentityPlatformTenantOauthIdpConfigConfig.getClientId()- Parameters:
clientId- The client id of an OAuth client. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_tenant_oauth_idp_config#client_id IdentityPlatformTenantOauthIdpConfig#client_id}- Returns:
this
-
displayName
@Stability(Stable) public IdentityPlatformTenantOauthIdpConfigConfig.Builder displayName(String displayName)
Sets the value ofIdentityPlatformTenantOauthIdpConfigConfig.getDisplayName()- Parameters:
displayName- Human friendly display name. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_tenant_oauth_idp_config#display_name IdentityPlatformTenantOauthIdpConfig#display_name}- Returns:
this
-
issuer
@Stability(Stable) public IdentityPlatformTenantOauthIdpConfigConfig.Builder issuer(String issuer)
Sets the value ofIdentityPlatformTenantOauthIdpConfigConfig.getIssuer()- Parameters:
issuer- For OIDC Idps, the issuer identifier. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_tenant_oauth_idp_config#issuer IdentityPlatformTenantOauthIdpConfig#issuer}- Returns:
this
-
name
@Stability(Stable) public IdentityPlatformTenantOauthIdpConfigConfig.Builder name(String name)
Sets the value ofIdentityPlatformTenantOauthIdpConfigConfig.getName()- Parameters:
name- The name of the OauthIdpConfig. Must start with 'oidc.'. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_tenant_oauth_idp_config#name IdentityPlatformTenantOauthIdpConfig#name}- Returns:
this
-
tenant
@Stability(Stable) public IdentityPlatformTenantOauthIdpConfigConfig.Builder tenant(String tenant)
Sets the value ofIdentityPlatformTenantOauthIdpConfigConfig.getTenant()- Parameters:
tenant- The name of the tenant where this OIDC IDP configuration resource exists. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_tenant_oauth_idp_config#tenant IdentityPlatformTenantOauthIdpConfig#tenant}- Returns:
this
-
clientSecret
@Stability(Stable) public IdentityPlatformTenantOauthIdpConfigConfig.Builder clientSecret(String clientSecret)
Sets the value ofIdentityPlatformTenantOauthIdpConfigConfig.getClientSecret()- Parameters:
clientSecret- The client secret of the OAuth client, to enable OIDC code flow. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_tenant_oauth_idp_config#client_secret IdentityPlatformTenantOauthIdpConfig#client_secret}- Returns:
this
-
enabled
@Stability(Stable) public IdentityPlatformTenantOauthIdpConfigConfig.Builder enabled(Boolean enabled)
Sets the value ofIdentityPlatformTenantOauthIdpConfigConfig.getEnabled()- Parameters:
enabled- If this config allows users to sign in with the provider. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_tenant_oauth_idp_config#enabled IdentityPlatformTenantOauthIdpConfig#enabled}- Returns:
this
-
enabled
@Stability(Stable) public IdentityPlatformTenantOauthIdpConfigConfig.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Sets the value ofIdentityPlatformTenantOauthIdpConfigConfig.getEnabled()- Parameters:
enabled- If this config allows users to sign in with the provider. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_tenant_oauth_idp_config#enabled IdentityPlatformTenantOauthIdpConfig#enabled}- Returns:
this
-
id
@Stability(Stable) public IdentityPlatformTenantOauthIdpConfigConfig.Builder id(String id)
Sets the value ofIdentityPlatformTenantOauthIdpConfigConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_tenant_oauth_idp_config#id IdentityPlatformTenantOauthIdpConfig#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 IdentityPlatformTenantOauthIdpConfigConfig.Builder project(String project)
Sets the value ofIdentityPlatformTenantOauthIdpConfigConfig.getProject()- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_tenant_oauth_idp_config#project IdentityPlatformTenantOauthIdpConfig#project}.- Returns:
this
-
timeouts
@Stability(Stable) public IdentityPlatformTenantOauthIdpConfigConfig.Builder timeouts(IdentityPlatformTenantOauthIdpConfigTimeouts timeouts)
Sets the value ofIdentityPlatformTenantOauthIdpConfigConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_tenant_oauth_idp_config#timeouts IdentityPlatformTenantOauthIdpConfig#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public IdentityPlatformTenantOauthIdpConfigConfig.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 IdentityPlatformTenantOauthIdpConfigConfig.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 IdentityPlatformTenantOauthIdpConfigConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public IdentityPlatformTenantOauthIdpConfigConfig.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 IdentityPlatformTenantOauthIdpConfigConfig.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 IdentityPlatformTenantOauthIdpConfigConfig.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 IdentityPlatformTenantOauthIdpConfigConfig.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 IdentityPlatformTenantOauthIdpConfigConfig.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 IdentityPlatformTenantOauthIdpConfigConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public IdentityPlatformTenantOauthIdpConfigConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IdentityPlatformTenantOauthIdpConfigConfig>- Returns:
- a new instance of
IdentityPlatformTenantOauthIdpConfigConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-