Class CloudFrontWebAclProps.Builder
- java.lang.Object
-
- software.aws.awsprototypingsdk.staticwebsite.CloudFrontWebAclProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudFrontWebAclProps>
- Enclosing interface:
- CloudFrontWebAclProps
@Stability(Experimental) public static final class CloudFrontWebAclProps.Builder extends Object implements software.amazon.jsii.Builder<CloudFrontWebAclProps>
A builder forCloudFrontWebAclProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudFrontWebAclPropsbuild()Builds the configured instance.CloudFrontWebAclProps.BuildercidrAllowList(CidrAllowList cidrAllowList)Sets the value ofCloudFrontWebAclProps.getCidrAllowList()CloudFrontWebAclProps.BuildermanagedRules(List<? extends ManagedRule> managedRules)Sets the value ofCloudFrontWebAclProps.getManagedRules()
-
-
-
Method Detail
-
cidrAllowList
@Stability(Experimental) public CloudFrontWebAclProps.Builder cidrAllowList(CidrAllowList cidrAllowList)
Sets the value ofCloudFrontWebAclProps.getCidrAllowList()- Parameters:
cidrAllowList- List of cidr ranges to allow.- Returns:
this
-
managedRules
@Stability(Experimental) public CloudFrontWebAclProps.Builder managedRules(List<? extends ManagedRule> managedRules)
Sets the value ofCloudFrontWebAclProps.getManagedRules()- Parameters:
managedRules- List of managed rules to apply to the web acl.- Returns:
this
-
build
@Stability(Experimental) public CloudFrontWebAclProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudFrontWebAclProps>- Returns:
- a new instance of
CloudFrontWebAclProps - Throws:
NullPointerException- if any required attribute was not provided
-
-