Class RecaptchaEnterpriseKeyWebSettings.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • integrationType

        @Stability(Stable)
        public RecaptchaEnterpriseKeyWebSettings.Builder integrationType​(String integrationType)
        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)
        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)
        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)
        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)
        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)
        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)
        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