Class RecaptchaEnterpriseKeyWafSettings.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.recaptcha_enterprise_key.RecaptchaEnterpriseKeyWafSettings.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<RecaptchaEnterpriseKeyWafSettings>
- Enclosing interface:
- RecaptchaEnterpriseKeyWafSettings
@Stability(Stable) public static final class RecaptchaEnterpriseKeyWafSettings.Builder extends Object implements software.amazon.jsii.Builder<RecaptchaEnterpriseKeyWafSettings>
A builder forRecaptchaEnterpriseKeyWafSettings
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecaptchaEnterpriseKeyWafSettingsbuild()Builds the configured instance.RecaptchaEnterpriseKeyWafSettings.BuilderwafFeature(String wafFeature)Sets the value ofRecaptchaEnterpriseKeyWafSettings.getWafFeature()RecaptchaEnterpriseKeyWafSettings.BuilderwafService(String wafService)Sets the value ofRecaptchaEnterpriseKeyWafSettings.getWafService()
-
-
-
Method Detail
-
wafFeature
@Stability(Stable) public RecaptchaEnterpriseKeyWafSettings.Builder wafFeature(String wafFeature)
Sets the value ofRecaptchaEnterpriseKeyWafSettings.getWafFeature()- Parameters:
wafFeature- Supported WAF features. For more information, see https://cloud.google.com/recaptcha-enterprise/docs/usecase#comparison_of_features. Possible values: CHALLENGE_PAGE, SESSION_TOKEN, ACTION_TOKEN, EXPRESS. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/recaptcha_enterprise_key#waf_feature RecaptchaEnterpriseKey#waf_feature}- Returns:
this
-
wafService
@Stability(Stable) public RecaptchaEnterpriseKeyWafSettings.Builder wafService(String wafService)
Sets the value ofRecaptchaEnterpriseKeyWafSettings.getWafService()- Parameters:
wafService- The WAF service that uses this key. Possible values: CA, FASTLY. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/recaptcha_enterprise_key#waf_service RecaptchaEnterpriseKey#waf_service}- Returns:
this
-
build
@Stability(Stable) public RecaptchaEnterpriseKeyWafSettings build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RecaptchaEnterpriseKeyWafSettings>- Returns:
- a new instance of
RecaptchaEnterpriseKeyWafSettings - Throws:
NullPointerException- if any required attribute was not provided
-
-