Class RecaptchaEnterpriseKeyWebSettings.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.recaptcha_enterprise_key.RecaptchaEnterpriseKeyWebSettings.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<RecaptchaEnterpriseKeyWebSettings>
- Enclosing interface:
- RecaptchaEnterpriseKeyWebSettings
@Stability(Stable) public static final class RecaptchaEnterpriseKeyWebSettings.Builder extends Object implements software.amazon.jsii.Builder<RecaptchaEnterpriseKeyWebSettings>
A builder forRecaptchaEnterpriseKeyWebSettings
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
integrationType
@Stability(Stable) public RecaptchaEnterpriseKeyWebSettings.Builder integrationType(String integrationType)
Sets the value ofRecaptchaEnterpriseKeyWebSettings.getIntegrationType()- Parameters:
integrationType- Required. Describes how this key is integrated with the website. Possible values: SCORE, CHECKBOX, INVISIBLE. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/recaptcha_enterprise_key#integration_type RecaptchaEnterpriseKey#integration_type}- Returns:
this
-
allowAllDomains
@Stability(Stable) public RecaptchaEnterpriseKeyWebSettings.Builder allowAllDomains(Boolean allowAllDomains)
Sets the value ofRecaptchaEnterpriseKeyWebSettings.getAllowAllDomains()- Parameters:
allowAllDomains- If set to true, it means allowed_domains will not be enforced. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/recaptcha_enterprise_key#allow_all_domains RecaptchaEnterpriseKey#allow_all_domains}- Returns:
this
-
allowAllDomains
@Stability(Stable) public RecaptchaEnterpriseKeyWebSettings.Builder allowAllDomains(com.hashicorp.cdktf.IResolvable allowAllDomains)
Sets the value ofRecaptchaEnterpriseKeyWebSettings.getAllowAllDomains()- Parameters:
allowAllDomains- If set to true, it means allowed_domains will not be enforced. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/recaptcha_enterprise_key#allow_all_domains RecaptchaEnterpriseKey#allow_all_domains}- Returns:
this
-
allowAmpTraffic
@Stability(Stable) public RecaptchaEnterpriseKeyWebSettings.Builder allowAmpTraffic(Boolean allowAmpTraffic)
Sets the value ofRecaptchaEnterpriseKeyWebSettings.getAllowAmpTraffic()- Parameters:
allowAmpTraffic- If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/recaptcha_enterprise_key#allow_amp_traffic RecaptchaEnterpriseKey#allow_amp_traffic}- Returns:
this
-
allowAmpTraffic
@Stability(Stable) public RecaptchaEnterpriseKeyWebSettings.Builder allowAmpTraffic(com.hashicorp.cdktf.IResolvable allowAmpTraffic)
Sets the value ofRecaptchaEnterpriseKeyWebSettings.getAllowAmpTraffic()- Parameters:
allowAmpTraffic- If set to true, the key can be used on AMP (Accelerated Mobile Pages) websites. This is supported only for the SCORE integration type. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/recaptcha_enterprise_key#allow_amp_traffic RecaptchaEnterpriseKey#allow_amp_traffic}- Returns:
this
-
allowedDomains
@Stability(Stable) public RecaptchaEnterpriseKeyWebSettings.Builder allowedDomains(List<String> allowedDomains)
Sets the value ofRecaptchaEnterpriseKeyWebSettings.getAllowedDomains()- Parameters:
allowedDomains- Domains or subdomains of websites allowed to use the key. All subdomains of an allowed domain are automatically allowed. A valid domain requires a host and must not include any path, port, query or fragment. Examples: 'example.com' or 'subdomain.example.com' Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/recaptcha_enterprise_key#allowed_domains RecaptchaEnterpriseKey#allowed_domains}- Returns:
this
-
challengeSecurityPreference
@Stability(Stable) public RecaptchaEnterpriseKeyWebSettings.Builder challengeSecurityPreference(String challengeSecurityPreference)
Sets the value ofRecaptchaEnterpriseKeyWebSettings.getChallengeSecurityPreference()- Parameters:
challengeSecurityPreference- Settings for the frequency and difficulty at which this key triggers captcha challenges. This should only be specified for IntegrationTypes CHECKBOX and INVISIBLE. Possible values: CHALLENGE_SECURITY_PREFERENCE_UNSPECIFIED, USABILITY, BALANCE, SECURITY Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/recaptcha_enterprise_key#challenge_security_preference RecaptchaEnterpriseKey#challenge_security_preference}- Returns:
this
-
build
@Stability(Stable) public RecaptchaEnterpriseKeyWebSettings build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RecaptchaEnterpriseKeyWebSettings>- Returns:
- a new instance of
RecaptchaEnterpriseKeyWebSettings - Throws:
NullPointerException- if any required attribute was not provided
-
-