Class ComputeSecurityPolicyRecaptchaOptionsConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_security_policy.ComputeSecurityPolicyRecaptchaOptionsConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeSecurityPolicyRecaptchaOptionsConfig>
- Enclosing interface:
- ComputeSecurityPolicyRecaptchaOptionsConfig
@Stability(Stable) public static final class ComputeSecurityPolicyRecaptchaOptionsConfig.Builder extends Object implements software.amazon.jsii.Builder<ComputeSecurityPolicyRecaptchaOptionsConfig>
A builder forComputeSecurityPolicyRecaptchaOptionsConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeSecurityPolicyRecaptchaOptionsConfigbuild()Builds the configured instance.ComputeSecurityPolicyRecaptchaOptionsConfig.BuilderredirectSiteKey(String redirectSiteKey)Sets the value ofComputeSecurityPolicyRecaptchaOptionsConfig.getRedirectSiteKey()
-
-
-
Method Detail
-
redirectSiteKey
@Stability(Stable) public ComputeSecurityPolicyRecaptchaOptionsConfig.Builder redirectSiteKey(String redirectSiteKey)
Sets the value ofComputeSecurityPolicyRecaptchaOptionsConfig.getRedirectSiteKey()- Parameters:
redirectSiteKey- A field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. This parameter is required. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy#redirect_site_key ComputeSecurityPolicy#redirect_site_key}- Returns:
this
-
build
@Stability(Stable) public ComputeSecurityPolicyRecaptchaOptionsConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeSecurityPolicyRecaptchaOptionsConfig>- Returns:
- a new instance of
ComputeSecurityPolicyRecaptchaOptionsConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-