Class CfnDistributionTenant.WebAclCustomizationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cloudfront.CfnDistributionTenant.WebAclCustomizationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDistributionTenant.WebAclCustomizationProperty>
- Enclosing interface:
CfnDistributionTenant.WebAclCustomizationProperty
@Stability(Stable)
public static final class CfnDistributionTenant.WebAclCustomizationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDistributionTenant.WebAclCustomizationProperty>
A builder for
CfnDistributionTenant.WebAclCustomizationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDistributionTenant.WebAclCustomizationProperty.getAction()Sets the value ofCfnDistributionTenant.WebAclCustomizationProperty.getArn()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Stable) public CfnDistributionTenant.WebAclCustomizationProperty.Builder action(String action) Sets the value ofCfnDistributionTenant.WebAclCustomizationProperty.getAction()- Parameters:
action- The action for the AWS WAF web ACL customization. You can specifyoverrideto specify a separate AWS WAF web ACL for the distribution tenant. If you specifydisable, the distribution tenant won't have AWS WAF web ACL protections and won't inherit from the multi-tenant distribution.- Returns:
this
-
arn
Sets the value ofCfnDistributionTenant.WebAclCustomizationProperty.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of the AWS WAF web ACL.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDistributionTenant.WebAclCustomizationProperty>- Returns:
- a new instance of
CfnDistributionTenant.WebAclCustomizationProperty - Throws:
NullPointerException- if any required attribute was not provided
-