Class CfnFirewallRuleGroupAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.route53resolver.CfnFirewallRuleGroupAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFirewallRuleGroupAssociationMixinProps>
- Enclosing interface:
CfnFirewallRuleGroupAssociationMixinProps
@Stability(Stable)
public static final class CfnFirewallRuleGroupAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFirewallRuleGroupAssociationMixinProps>
A builder for
CfnFirewallRuleGroupAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.firewallRuleGroupId(String firewallRuleGroupId) Sets the value ofCfnFirewallRuleGroupAssociationMixinProps.getFirewallRuleGroupId()firewallRuleGroupId(IFirewallRuleGroupRef firewallRuleGroupId) Sets the value ofCfnFirewallRuleGroupAssociationMixinProps.getFirewallRuleGroupId()mutationProtection(String mutationProtection) Sets the value ofCfnFirewallRuleGroupAssociationMixinProps.getMutationProtection()Sets the value ofCfnFirewallRuleGroupAssociationMixinProps.getName()Sets the value ofCfnFirewallRuleGroupAssociationMixinProps.getPriority()Sets the value ofCfnFirewallRuleGroupAssociationMixinProps.getTags()Sets the value ofCfnFirewallRuleGroupAssociationMixinProps.getVpcId()Sets the value ofCfnFirewallRuleGroupAssociationMixinProps.getVpcId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
firewallRuleGroupId
@Stability(Stable) public CfnFirewallRuleGroupAssociationMixinProps.Builder firewallRuleGroupId(String firewallRuleGroupId) Sets the value ofCfnFirewallRuleGroupAssociationMixinProps.getFirewallRuleGroupId()- Parameters:
firewallRuleGroupId- The unique identifier of the firewall rule group.- Returns:
this
-
firewallRuleGroupId
@Stability(Stable) public CfnFirewallRuleGroupAssociationMixinProps.Builder firewallRuleGroupId(IFirewallRuleGroupRef firewallRuleGroupId) Sets the value ofCfnFirewallRuleGroupAssociationMixinProps.getFirewallRuleGroupId()- Parameters:
firewallRuleGroupId- The unique identifier of the firewall rule group.- Returns:
this
-
mutationProtection
@Stability(Stable) public CfnFirewallRuleGroupAssociationMixinProps.Builder mutationProtection(String mutationProtection) Sets the value ofCfnFirewallRuleGroupAssociationMixinProps.getMutationProtection()- Parameters:
mutationProtection- If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.- Returns:
this
-
name
Sets the value ofCfnFirewallRuleGroupAssociationMixinProps.getName()- Parameters:
name- The name of the association.- Returns:
this
-
priority
@Stability(Stable) public CfnFirewallRuleGroupAssociationMixinProps.Builder priority(Number priority) Sets the value ofCfnFirewallRuleGroupAssociationMixinProps.getPriority()- Parameters:
priority- The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC. DNS Firewall filters VPC traffic starting from rule group with the lowest numeric priority setting.You must specify a unique priority for each rule group that you associate with a single VPC. To make it easier to insert rule groups later, leave space between the numbers, for example, use 101, 200, and so on. You can change the priority setting for a rule group association after you create it.
The allowed values for
Priorityare between 100 and 9900 (excluding 100 and 9900).- Returns:
this
-
tags
@Stability(Stable) public CfnFirewallRuleGroupAssociationMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnFirewallRuleGroupAssociationMixinProps.getTags()- Parameters:
tags- A list of the tag keys and values that you want to associate with the rule group.- Returns:
this
-
vpcId
Sets the value ofCfnFirewallRuleGroupAssociationMixinProps.getVpcId()- Parameters:
vpcId- The unique identifier of the VPC that is associated with the rule group.- Returns:
this
-
vpcId
Sets the value ofCfnFirewallRuleGroupAssociationMixinProps.getVpcId()- Parameters:
vpcId- The unique identifier of the VPC that is associated with the rule group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFirewallRuleGroupAssociationMixinProps>- Returns:
- a new instance of
CfnFirewallRuleGroupAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-