Interface AssociateFirewallRuleGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateFirewallRuleGroupRequest.Builder,,AssociateFirewallRuleGroupRequest> Route53ResolverRequest.Builder,SdkBuilder<AssociateFirewallRuleGroupRequest.Builder,,AssociateFirewallRuleGroupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssociateFirewallRuleGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptioncreatorRequestId(String creatorRequestId) A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.firewallRuleGroupId(String firewallRuleGroupId) The unique identifier of the firewall rule group.mutationProtection(String mutationProtection) If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.mutationProtection(MutationProtectionStatus mutationProtection) If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections.A name that lets you identify the association, to manage and use it.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC.tags(Collection<Tag> tags) A list of the tag keys and values that you want to associate with the rule group association.tags(Consumer<Tag.Builder>... tags) A list of the tag keys and values that you want to associate with the rule group association.A list of the tag keys and values that you want to associate with the rule group association.The unique identifier of the VPC that you want to associate with the rule group.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.route53resolver.model.Route53ResolverRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
creatorRequestId
A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.
CreatorRequestIdcan be any unique string, for example, a date/time stamp.- Parameters:
creatorRequestId- A unique string that identifies the request and that allows failed requests to be retried without the risk of running the operation twice.CreatorRequestIdcan be any unique string, for example, a date/time stamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firewallRuleGroupId
The unique identifier of the firewall rule group.
- Parameters:
firewallRuleGroupId- The unique identifier of the firewall rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
The unique identifier of the VPC that you want to associate with the rule group.
- Parameters:
vpcId- The unique identifier of the VPC that you want to associate with the rule group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priority
The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the 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.- Parameters:
priority- The setting that determines the processing order of the rule group among the rule groups that you associate with the specified VPC. DNS Firewall filters VPC traffic starting from the 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A name that lets you identify the association, to manage and use it.
- Parameters:
name- A name that lets you identify the association, to manage and use it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mutationProtection
If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. When you create the association, the default setting is
DISABLED.- Parameters:
mutationProtection- If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. When you create the association, the default setting isDISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mutationProtection
AssociateFirewallRuleGroupRequest.Builder mutationProtection(MutationProtectionStatus mutationProtection) If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. When you create the association, the default setting is
DISABLED.- Parameters:
mutationProtection- If enabled, this setting disallows modification or removal of the association, to help prevent against accidentally altering DNS firewall protections. When you create the association, the default setting isDISABLED.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A list of the tag keys and values that you want to associate with the rule group association.
- Parameters:
tags- A list of the tag keys and values that you want to associate with the rule group association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of the tag keys and values that you want to associate with the rule group association.
- Parameters:
tags- A list of the tag keys and values that you want to associate with the rule group association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of the tag keys and values that you want to associate with the rule group association.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
AssociateFirewallRuleGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateFirewallRuleGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-