Class RateBasedRuleReference.Builder
java.lang.Object
software.amazon.awscdk.services.waf.regional.RateBasedRuleReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RateBasedRuleReference>
- Enclosing interface:
RateBasedRuleReference
@Stability(Stable)
public static final class RateBasedRuleReference.Builder
extends Object
implements software.amazon.jsii.Builder<RateBasedRuleReference>
A builder for
RateBasedRuleReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.rateBasedRuleId
(String rateBasedRuleId) Sets the value ofRateBasedRuleReference.getRateBasedRuleId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
rateBasedRuleId
Sets the value ofRateBasedRuleReference.getRateBasedRuleId()
- Parameters:
rateBasedRuleId
- The Id of the RateBasedRule resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<RateBasedRuleReference>
- Returns:
- a new instance of
RateBasedRuleReference
- Throws:
NullPointerException
- if any required attribute was not provided
-