Class ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.compute_security_policy_rule.ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA>
- Enclosing interface:
- ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA
@Stability(Stable) public static final class ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA.Builder extends Object implements software.amazon.jsii.Builder<ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA>
A builder forComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdAbuild()Builds the configured instance.ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA.Buildercount(Number count)Sets the value ofComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA.getCount()ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA.BuilderintervalSec(Number intervalSec)Sets the value ofComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA.getIntervalSec()
-
-
-
Method Detail
-
count
@Stability(Stable) public ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA.Builder count(Number count)
Sets the value ofComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA.getCount()- Parameters:
count- Number of HTTP(S) requests for calculating the threshold. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#count ComputeSecurityPolicyRuleA#count}- Returns:
this
-
intervalSec
@Stability(Stable) public ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA.Builder intervalSec(Number intervalSec)
Sets the value ofComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA.getIntervalSec()- Parameters:
intervalSec- Interval over which the threshold is computed. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_security_policy_rule#interval_sec ComputeSecurityPolicyRuleA#interval_sec}- Returns:
this
-
build
@Stability(Stable) public ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA>- Returns:
- a new instance of
ComputeSecurityPolicyRuleRateLimitOptionsBanThresholdA - Throws:
NullPointerException- if any required attribute was not provided
-
-