Interface UpdateFirewallRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateFirewallRuleRequest.Builder,,UpdateFirewallRuleRequest> Route53GlobalResolverRequest.Builder,SdkBuilder<UpdateFirewallRuleRequest.Builder,,UpdateFirewallRuleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateFirewallRuleRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule.action(FirewallRuleAction action) The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule.blockOverrideDnsType(String blockOverrideDnsType) The DNS record's type.blockOverrideDnsType(BlockOverrideDnsQueryType blockOverrideDnsType) The DNS record's type.blockOverrideDomain(String blockOverrideDomain) The custom DNS record to send back in response to the query.blockOverrideTtl(Integer blockOverrideTtl) The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record.blockResponse(String blockResponse) The way that you want DNS Firewall to block the request.blockResponse(FirewallBlockResponse blockResponse) The way that you want DNS Firewall to block the request.clientToken(String clientToken) A unique, case-sensitive identifier to ensure idempotency.confidenceThreshold(String confidenceThreshold) The confidence threshold for DNS Firewall Advanced.confidenceThreshold(ConfidenceThreshold confidenceThreshold) The confidence threshold for DNS Firewall Advanced.description(String description) The description for the Firewall rule.dnsAdvancedProtection(String dnsAdvancedProtection) The type of the DNS Firewall Advanced rule.dnsAdvancedProtection(DnsAdvancedProtection dnsAdvancedProtection) The type of the DNS Firewall Advanced rule.firewallRuleId(String firewallRuleId) The ID of the DNS Firewall rule.The name of the DNS Firewall rule.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 in 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.route53globalresolver.model.Route53GlobalResolverRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
action
The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule.
- Parameters:
action- The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule.
- Parameters:
action- The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain list, or a threat in a DNS Firewall Advanced rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
blockOverrideDnsType
The DNS record's type. This determines the format of the record value that you provided in
BlockOverrideDomain. Used for the rule actionBLOCKwith aBlockResponsesetting ofOVERRIDE.- Parameters:
blockOverrideDnsType- The DNS record's type. This determines the format of the record value that you provided inBlockOverrideDomain. Used for the rule actionBLOCKwith aBlockResponsesetting ofOVERRIDE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
blockOverrideDnsType
UpdateFirewallRuleRequest.Builder blockOverrideDnsType(BlockOverrideDnsQueryType blockOverrideDnsType) The DNS record's type. This determines the format of the record value that you provided in
BlockOverrideDomain. Used for the rule actionBLOCKwith aBlockResponsesetting ofOVERRIDE.- Parameters:
blockOverrideDnsType- The DNS record's type. This determines the format of the record value that you provided inBlockOverrideDomain. Used for the rule actionBLOCKwith aBlockResponsesetting ofOVERRIDE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
blockOverrideDomain
The custom DNS record to send back in response to the query. Used for the rule action
BLOCKwith aBlockResponsesetting ofOVERRIDE.- Parameters:
blockOverrideDomain- The custom DNS record to send back in response to the query. Used for the rule actionBLOCKwith aBlockResponsesetting ofOVERRIDE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockOverrideTtl
The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule action
BLOCKwith aBlockResponsesetting ofOVERRIDE.- Parameters:
blockOverrideTtl- The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override record. Used for the rule actionBLOCKwith aBlockResponsesetting ofOVERRIDE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockResponse
The way that you want DNS Firewall to block the request. Used for the rule action setting
BLOCK.- Parameters:
blockResponse- The way that you want DNS Firewall to block the request. Used for the rule action settingBLOCK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
blockResponse
The way that you want DNS Firewall to block the request. Used for the rule action setting
BLOCK.- Parameters:
blockResponse- The way that you want DNS Firewall to block the request. Used for the rule action settingBLOCK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier to ensure idempotency. This means that making the same request multiple times with the same
clientTokenhas the same result every time.- Parameters:
clientToken- A unique, case-sensitive identifier to ensure idempotency. This means that making the same request multiple times with the sameclientTokenhas the same result every time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
confidenceThreshold
The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule.
- Parameters:
confidenceThreshold- The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
confidenceThreshold
The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule.
- Parameters:
confidenceThreshold- The confidence threshold for DNS Firewall Advanced. You must provide this value when you create a DNS Firewall Advanced rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The description for the Firewall rule.
- Parameters:
description- The description for the Firewall rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsAdvancedProtection
The type of the DNS Firewall Advanced rule. Valid values are DGA and DNS_TUNNELING.
- Parameters:
dnsAdvancedProtection- The type of the DNS Firewall Advanced rule. Valid values are DGA and DNS_TUNNELING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dnsAdvancedProtection
UpdateFirewallRuleRequest.Builder dnsAdvancedProtection(DnsAdvancedProtection dnsAdvancedProtection) The type of the DNS Firewall Advanced rule. Valid values are DGA and DNS_TUNNELING.
- Parameters:
dnsAdvancedProtection- The type of the DNS Firewall Advanced rule. Valid values are DGA and DNS_TUNNELING.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
firewallRuleId
The ID of the DNS Firewall rule.
- Parameters:
firewallRuleId- The ID of the DNS Firewall rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the DNS Firewall rule.
- Parameters:
name- The name of the DNS Firewall rule.- 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 in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.
- Parameters:
priority- The setting that determines the processing order of the rule in the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateFirewallRuleRequest.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
UpdateFirewallRuleRequest.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.
-