Class IdentityPlatformConfigMfa.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.identity_platform_config.IdentityPlatformConfigMfa.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IdentityPlatformConfigMfa>
- Enclosing interface:
- IdentityPlatformConfigMfa
@Stability(Stable) public static final class IdentityPlatformConfigMfa.Builder extends Object implements software.amazon.jsii.Builder<IdentityPlatformConfigMfa>
A builder forIdentityPlatformConfigMfa
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentityPlatformConfigMfabuild()Builds the configured instance.IdentityPlatformConfigMfa.BuilderenabledProviders(List<String> enabledProviders)Sets the value ofIdentityPlatformConfigMfa.getEnabledProviders()IdentityPlatformConfigMfa.BuilderproviderConfigs(com.hashicorp.cdktf.IResolvable providerConfigs)Sets the value ofIdentityPlatformConfigMfa.getProviderConfigs()IdentityPlatformConfigMfa.BuilderproviderConfigs(List<? extends IdentityPlatformConfigMfaProviderConfigs> providerConfigs)Sets the value ofIdentityPlatformConfigMfa.getProviderConfigs()IdentityPlatformConfigMfa.Builderstate(String state)Sets the value ofIdentityPlatformConfigMfa.getState()
-
-
-
Method Detail
-
enabledProviders
@Stability(Stable) public IdentityPlatformConfigMfa.Builder enabledProviders(List<String> enabledProviders)
Sets the value ofIdentityPlatformConfigMfa.getEnabledProviders()- Parameters:
enabledProviders- A list of usable second factors for this project. Possible values: ["PHONE_SMS"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_config#enabled_providers IdentityPlatformConfig#enabled_providers}- Returns:
this
-
providerConfigs
@Stability(Stable) public IdentityPlatformConfigMfa.Builder providerConfigs(com.hashicorp.cdktf.IResolvable providerConfigs)
Sets the value ofIdentityPlatformConfigMfa.getProviderConfigs()- Parameters:
providerConfigs- provider_configs block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_config#provider_configs IdentityPlatformConfig#provider_configs}- Returns:
this
-
providerConfigs
@Stability(Stable) public IdentityPlatformConfigMfa.Builder providerConfigs(List<? extends IdentityPlatformConfigMfaProviderConfigs> providerConfigs)
Sets the value ofIdentityPlatformConfigMfa.getProviderConfigs()- Parameters:
providerConfigs- provider_configs block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_config#provider_configs IdentityPlatformConfig#provider_configs}- Returns:
this
-
state
@Stability(Stable) public IdentityPlatformConfigMfa.Builder state(String state)
Sets the value ofIdentityPlatformConfigMfa.getState()- Parameters:
state- Whether MultiFactor Authentication has been enabled for this project. Possible values: ["DISABLED", "ENABLED", "MANDATORY"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/identity_platform_config#state IdentityPlatformConfig#state}- Returns:
this
-
build
@Stability(Stable) public IdentityPlatformConfigMfa build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IdentityPlatformConfigMfa>- Returns:
- a new instance of
IdentityPlatformConfigMfa - Throws:
NullPointerException- if any required attribute was not provided
-
-