public static final class CfnFirewallRuleGroupAssociationProps.Builder
extends java.lang.Object
CfnFirewallRuleGroupAssociationProps
Constructor and Description |
---|
Builder() |
public CfnFirewallRuleGroupAssociationProps.Builder firewallRuleGroupId(java.lang.String firewallRuleGroupId)
CfnFirewallRuleGroupAssociationProps.getFirewallRuleGroupId()
firewallRuleGroupId
- The unique identifier of the firewall rule group. This parameter is required.this
public CfnFirewallRuleGroupAssociationProps.Builder priority(java.lang.Number priority)
CfnFirewallRuleGroupAssociationProps.getPriority()
priority
- The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC. This parameter is required.
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 Priority
are between 100 and 9900 (excluding 100 and 9900).
this
public CfnFirewallRuleGroupAssociationProps.Builder vpcId(java.lang.String vpcId)
CfnFirewallRuleGroupAssociationProps.getVpcId()
vpcId
- The unique identifier of the VPC that is associated with the rule group. This parameter is required.this
public CfnFirewallRuleGroupAssociationProps.Builder mutationProtection(java.lang.String mutationProtection)
CfnFirewallRuleGroupAssociationProps.getMutationProtection()
mutationProtection
- If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.this
public CfnFirewallRuleGroupAssociationProps.Builder name(java.lang.String name)
CfnFirewallRuleGroupAssociationProps.getName()
name
- The name of the association.this
public CfnFirewallRuleGroupAssociationProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnFirewallRuleGroupAssociationProps.getTags()
tags
- A list of the tag keys and values that you want to associate with the rule group.this
public CfnFirewallRuleGroupAssociationProps build()
CfnFirewallRuleGroupAssociationProps
java.lang.NullPointerException
- if any required attribute was not provided