Class IdentityPlatformConfigSignInPhoneNumber.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.identity_platform_config.IdentityPlatformConfigSignInPhoneNumber.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IdentityPlatformConfigSignInPhoneNumber>
- Enclosing interface:
- IdentityPlatformConfigSignInPhoneNumber
@Stability(Stable) public static final class IdentityPlatformConfigSignInPhoneNumber.Builder extends Object implements software.amazon.jsii.Builder<IdentityPlatformConfigSignInPhoneNumber>
A builder forIdentityPlatformConfigSignInPhoneNumber
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentityPlatformConfigSignInPhoneNumberbuild()Builds the configured instance.IdentityPlatformConfigSignInPhoneNumber.Builderenabled(com.hashicorp.cdktf.IResolvable enabled)Sets the value ofIdentityPlatformConfigSignInPhoneNumber.getEnabled()IdentityPlatformConfigSignInPhoneNumber.Builderenabled(Boolean enabled)Sets the value ofIdentityPlatformConfigSignInPhoneNumber.getEnabled()IdentityPlatformConfigSignInPhoneNumber.BuildertestPhoneNumbers(Map<String,String> testPhoneNumbers)Sets the value ofIdentityPlatformConfigSignInPhoneNumber.getTestPhoneNumbers()
-
-
-
Method Detail
-
enabled
@Stability(Stable) public IdentityPlatformConfigSignInPhoneNumber.Builder enabled(Boolean enabled)
Sets the value ofIdentityPlatformConfigSignInPhoneNumber.getEnabled()- Parameters:
enabled- Whether phone number 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 IdentityPlatformConfigSignInPhoneNumber.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Sets the value ofIdentityPlatformConfigSignInPhoneNumber.getEnabled()- Parameters:
enabled- Whether phone number 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
-
testPhoneNumbers
@Stability(Stable) public IdentityPlatformConfigSignInPhoneNumber.Builder testPhoneNumbers(Map<String,String> testPhoneNumbers)
Sets the value ofIdentityPlatformConfigSignInPhoneNumber.getTestPhoneNumbers()- Parameters:
testPhoneNumbers- A map of <test phone number, fake code> that can be used for phone auth testing. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_config#test_phone_numbers IdentityPlatformConfig#test_phone_numbers}- Returns:
this
-
build
@Stability(Stable) public IdentityPlatformConfigSignInPhoneNumber build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IdentityPlatformConfigSignInPhoneNumber>- Returns:
- a new instance of
IdentityPlatformConfigSignInPhoneNumber - Throws:
NullPointerException- if any required attribute was not provided
-
-