Class RecaptchaEnterpriseKeyTestingOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.recaptcha_enterprise_key.RecaptchaEnterpriseKeyTestingOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<RecaptchaEnterpriseKeyTestingOptions>
- Enclosing interface:
- RecaptchaEnterpriseKeyTestingOptions
@Stability(Stable) public static final class RecaptchaEnterpriseKeyTestingOptions.Builder extends Object implements software.amazon.jsii.Builder<RecaptchaEnterpriseKeyTestingOptions>
A builder forRecaptchaEnterpriseKeyTestingOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecaptchaEnterpriseKeyTestingOptionsbuild()Builds the configured instance.RecaptchaEnterpriseKeyTestingOptions.BuildertestingChallenge(String testingChallenge)Sets the value ofRecaptchaEnterpriseKeyTestingOptions.getTestingChallenge()RecaptchaEnterpriseKeyTestingOptions.BuildertestingScore(Number testingScore)Sets the value ofRecaptchaEnterpriseKeyTestingOptions.getTestingScore()
-
-
-
Method Detail
-
testingChallenge
@Stability(Stable) public RecaptchaEnterpriseKeyTestingOptions.Builder testingChallenge(String testingChallenge)
Sets the value ofRecaptchaEnterpriseKeyTestingOptions.getTestingChallenge()- Parameters:
testingChallenge- For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if UNSOLVABLE_CHALLENGE. Possible values: TESTING_CHALLENGE_UNSPECIFIED, NOCAPTCHA, UNSOLVABLE_CHALLENGE Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/recaptcha_enterprise_key#testing_challenge RecaptchaEnterpriseKey#testing_challenge}- Returns:
this
-
testingScore
@Stability(Stable) public RecaptchaEnterpriseKeyTestingOptions.Builder testingScore(Number testingScore)
Sets the value ofRecaptchaEnterpriseKeyTestingOptions.getTestingScore()- Parameters:
testingScore- All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/recaptcha_enterprise_key#testing_score RecaptchaEnterpriseKey#testing_score}- Returns:
this
-
build
@Stability(Stable) public RecaptchaEnterpriseKeyTestingOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RecaptchaEnterpriseKeyTestingOptions>- Returns:
- a new instance of
RecaptchaEnterpriseKeyTestingOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-