Class ManagedRule.Builder
- java.lang.Object
-
- software.aws.awsprototypingsdk.openapigateway.ManagedRule.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ManagedRule>
- Enclosing interface:
- ManagedRule
@Stability(Experimental) public static final class ManagedRule.Builder extends Object implements software.amazon.jsii.Builder<ManagedRule>
A builder forManagedRule
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedRulebuild()Builds the configured instance.ManagedRule.Buildername(String name)Sets the value ofManagedRule.getName()ManagedRule.Buildervendor(String vendor)Sets the value ofManagedRule.getVendor()
-
-
-
Method Detail
-
name
@Stability(Experimental) public ManagedRule.Builder name(String name)
Sets the value ofManagedRule.getName()- Parameters:
name- The name of the managed rule group. This parameter is required. You use this, along with the vendor name, to identify the rule group.- Returns:
this
-
vendor
@Stability(Experimental) public ManagedRule.Builder vendor(String vendor)
Sets the value ofManagedRule.getVendor()- Parameters:
vendor- The name of the managed rule group vendor. This parameter is required. You use this, along with the rule group name, to identify the rule group.- Returns:
this
-
build
@Stability(Experimental) public ManagedRule build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ManagedRule>- Returns:
- a new instance of
ManagedRule - Throws:
NullPointerException- if any required attribute was not provided
-
-