Class IdentityPlatformConfigSignInEmail.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.identity_platform_config.IdentityPlatformConfigSignInEmail.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IdentityPlatformConfigSignInEmail>
- Enclosing interface:
- IdentityPlatformConfigSignInEmail
@Stability(Stable) public static final class IdentityPlatformConfigSignInEmail.Builder extends Object implements software.amazon.jsii.Builder<IdentityPlatformConfigSignInEmail>
A builder forIdentityPlatformConfigSignInEmail
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentityPlatformConfigSignInEmailbuild()Builds the configured instance.IdentityPlatformConfigSignInEmail.Builderenabled(com.hashicorp.cdktf.IResolvable enabled)Sets the value ofIdentityPlatformConfigSignInEmail.getEnabled()IdentityPlatformConfigSignInEmail.Builderenabled(Boolean enabled)Sets the value ofIdentityPlatformConfigSignInEmail.getEnabled()IdentityPlatformConfigSignInEmail.BuilderpasswordRequired(com.hashicorp.cdktf.IResolvable passwordRequired)Sets the value ofIdentityPlatformConfigSignInEmail.getPasswordRequired()IdentityPlatformConfigSignInEmail.BuilderpasswordRequired(Boolean passwordRequired)Sets the value ofIdentityPlatformConfigSignInEmail.getPasswordRequired()
-
-
-
Method Detail
-
enabled
@Stability(Stable) public IdentityPlatformConfigSignInEmail.Builder enabled(Boolean enabled)
Sets the value ofIdentityPlatformConfigSignInEmail.getEnabled()- Parameters:
enabled- Whether email auth is enabled for the project or not. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_config#enabled IdentityPlatformConfig#enabled}- Returns:
this
-
enabled
@Stability(Stable) public IdentityPlatformConfigSignInEmail.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Sets the value ofIdentityPlatformConfigSignInEmail.getEnabled()- Parameters:
enabled- Whether email auth is enabled for the project or not. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_config#enabled IdentityPlatformConfig#enabled}- Returns:
this
-
passwordRequired
@Stability(Stable) public IdentityPlatformConfigSignInEmail.Builder passwordRequired(Boolean passwordRequired)
Sets the value ofIdentityPlatformConfigSignInEmail.getPasswordRequired()- Parameters:
passwordRequired- Whether a password is required for email auth or not. If true, both an email and password must be provided to sign in. If false, a user may sign in via either email/password or email link. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_config#password_required IdentityPlatformConfig#password_required}- Returns:
this
-
passwordRequired
@Stability(Stable) public IdentityPlatformConfigSignInEmail.Builder passwordRequired(com.hashicorp.cdktf.IResolvable passwordRequired)
Sets the value ofIdentityPlatformConfigSignInEmail.getPasswordRequired()- Parameters:
passwordRequired- Whether a password is required for email auth or not. If true, both an email and password must be provided to sign in. If false, a user may sign in via either email/password or email link. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_config#password_required IdentityPlatformConfig#password_required}- Returns:
this
-
build
@Stability(Stable) public IdentityPlatformConfigSignInEmail build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IdentityPlatformConfigSignInEmail>- Returns:
- a new instance of
IdentityPlatformConfigSignInEmail - Throws:
NullPointerException- if any required attribute was not provided
-
-