public static final class FirewallRuleGroupAssociationOptions.Builder
extends java.lang.Object
FirewallRuleGroupAssociationOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FirewallRuleGroupAssociationOptions |
build()
Builds the configured instance.
|
FirewallRuleGroupAssociationOptions.Builder |
mutationProtection(java.lang.Boolean mutationProtection)
Sets the value of
FirewallRuleGroupAssociationOptions.getMutationProtection() |
FirewallRuleGroupAssociationOptions.Builder |
name(java.lang.String name)
Sets the value of
FirewallRuleGroupAssociationOptions.getName() |
FirewallRuleGroupAssociationOptions.Builder |
priority(java.lang.Number priority)
Sets the value of
FirewallRuleGroupAssociationOptions.getPriority() |
FirewallRuleGroupAssociationOptions.Builder |
vpc(IVpc vpc)
Sets the value of
FirewallRuleGroupAssociationOptions.getVpc() |
public FirewallRuleGroupAssociationOptions.Builder priority(java.lang.Number priority)
FirewallRuleGroupAssociationOptions.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.
This value must be greater than 100 and less than 9,000
this
public FirewallRuleGroupAssociationOptions.Builder vpc(IVpc vpc)
FirewallRuleGroupAssociationOptions.getVpc()
vpc
- The VPC that to associate with the rule group. This parameter is required.this
public FirewallRuleGroupAssociationOptions.Builder mutationProtection(java.lang.Boolean mutationProtection)
FirewallRuleGroupAssociationOptions.getMutationProtection()
mutationProtection
- If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.this
public FirewallRuleGroupAssociationOptions.Builder name(java.lang.String name)
FirewallRuleGroupAssociationOptions.getName()
name
- The name of the association.this
public FirewallRuleGroupAssociationOptions build()
FirewallRuleGroupAssociationOptions
java.lang.NullPointerException
- if any required attribute was not provided