Class CfnDistributionTenantPropsMixin.WebAclCustomizationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.cloudfront.mixins.CfnDistributionTenantPropsMixin.WebAclCustomizationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDistributionTenantPropsMixin.WebAclCustomizationProperty>
- Enclosing interface:
CfnDistributionTenantPropsMixin.WebAclCustomizationProperty
@Stability(Stable)
public static final class CfnDistributionTenantPropsMixin.WebAclCustomizationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDistributionTenantPropsMixin.WebAclCustomizationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDistributionTenantPropsMixin.WebAclCustomizationProperty.getAction()Sets the value ofCfnDistributionTenantPropsMixin.WebAclCustomizationProperty.getArn()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
@Stability(Stable) public CfnDistributionTenantPropsMixin.WebAclCustomizationProperty.Builder action(String action) Sets the value ofCfnDistributionTenantPropsMixin.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
@Stability(Stable) public CfnDistributionTenantPropsMixin.WebAclCustomizationProperty.Builder arn(String arn) Sets the value ofCfnDistributionTenantPropsMixin.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<CfnDistributionTenantPropsMixin.WebAclCustomizationProperty>- Returns:
- a new instance of
CfnDistributionTenantPropsMixin.WebAclCustomizationProperty - Throws:
NullPointerException- if any required attribute was not provided
-