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