public static interface FirewallRule.Builder extends SdkPojo, CopyableBuilder<FirewallRule.Builder,FirewallRule>
| Modifier and Type | Method and Description |
|---|---|
FirewallRule.Builder |
action(Action 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:
|
FirewallRule.Builder |
action(String 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:
|
FirewallRule.Builder |
blockOverrideDnsType(BlockOverrideDnsType blockOverrideDnsType)
The DNS record's type.
|
FirewallRule.Builder |
blockOverrideDnsType(String blockOverrideDnsType)
The DNS record's type.
|
FirewallRule.Builder |
blockOverrideDomain(String blockOverrideDomain)
The custom DNS record to send back in response to the query.
|
FirewallRule.Builder |
blockOverrideTtl(Integer blockOverrideTtl)
The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided
override record.
|
FirewallRule.Builder |
blockResponse(BlockResponse blockResponse)
The way that you want DNS Firewall to block the request.
|
FirewallRule.Builder |
blockResponse(String blockResponse)
The way that you want DNS Firewall to block the request.
|
FirewallRule.Builder |
creationTime(String creationTime)
The date and time that the rule was created, in Unix time format and Coordinated Universal Time (UTC).
|
FirewallRule.Builder |
creatorRequestId(String creatorRequestId)
A unique string defined by you to identify the request.
|
FirewallRule.Builder |
firewallDomainListId(String firewallDomainListId)
The ID of the domain list that's used in the rule.
|
FirewallRule.Builder |
firewallRuleGroupId(String firewallRuleGroupId)
The unique identifier of the firewall rule group of the rule.
|
FirewallRule.Builder |
modificationTime(String modificationTime)
The date and time that the rule was last modified, in Unix time format and Coordinated Universal Time (UTC).
|
FirewallRule.Builder |
name(String name)
The name of the rule.
|
FirewallRule.Builder |
priority(Integer priority)
The priority of the rule in the rule group.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFirewallRule.Builder firewallRuleGroupId(String firewallRuleGroupId)
The unique identifier of the firewall rule group of the rule.
firewallRuleGroupId - The unique identifier of the firewall rule group of the rule.FirewallRule.Builder firewallDomainListId(String firewallDomainListId)
The ID of the domain list that's used in the rule.
firewallDomainListId - The ID of the domain list that's used in the rule.FirewallRule.Builder name(String name)
The name of the rule.
name - The name of the rule.FirewallRule.Builder priority(Integer priority)
The priority of the rule in the rule group. This value must be unique within the rule group. DNS Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.
priority - The priority of the rule in the rule group. This value must be unique within the rule group. DNS
Firewall processes the rules in a rule group by order of priority, starting from the lowest setting.FirewallRule.Builder action(String 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:
ALLOW - Permit the request to go through.
ALERT - Permit the request to go through but send an alert to the logs.
BLOCK - Disallow the request. If this is specified, additional handling details are provided in
the rule's BlockResponse setting.
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:
ALLOW - Permit the request to go through.
ALERT - Permit the request to go through but send an alert to the logs.
BLOCK - Disallow the request. If this is specified, additional handling details are
provided in the rule's BlockResponse setting.
Action,
ActionFirewallRule.Builder action(Action 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:
ALLOW - Permit the request to go through.
ALERT - Permit the request to go through but send an alert to the logs.
BLOCK - Disallow the request. If this is specified, additional handling details are provided in
the rule's BlockResponse setting.
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:
ALLOW - Permit the request to go through.
ALERT - Permit the request to go through but send an alert to the logs.
BLOCK - Disallow the request. If this is specified, additional handling details are
provided in the rule's BlockResponse setting.
Action,
ActionFirewallRule.Builder blockResponse(String blockResponse)
The way that you want DNS Firewall to block the request. Used for the rule action setting BLOCK.
NODATA - Respond indicating that the query was successful, but no response is available for it.
NXDOMAIN - Respond indicating that the domain name that's in the query doesn't exist.
OVERRIDE - Provide a custom override in the response. This option requires custom handling
details in the rule's BlockOverride* settings.
blockResponse - The way that you want DNS Firewall to block the request. Used for the rule action setting
BLOCK.
NODATA - Respond indicating that the query was successful, but no response is available
for it.
NXDOMAIN - Respond indicating that the domain name that's in the query doesn't exist.
OVERRIDE - Provide a custom override in the response. This option requires custom
handling details in the rule's BlockOverride* settings.
BlockResponse,
BlockResponseFirewallRule.Builder blockResponse(BlockResponse blockResponse)
The way that you want DNS Firewall to block the request. Used for the rule action setting BLOCK.
NODATA - Respond indicating that the query was successful, but no response is available for it.
NXDOMAIN - Respond indicating that the domain name that's in the query doesn't exist.
OVERRIDE - Provide a custom override in the response. This option requires custom handling
details in the rule's BlockOverride* settings.
blockResponse - The way that you want DNS Firewall to block the request. Used for the rule action setting
BLOCK.
NODATA - Respond indicating that the query was successful, but no response is available
for it.
NXDOMAIN - Respond indicating that the domain name that's in the query doesn't exist.
OVERRIDE - Provide a custom override in the response. This option requires custom
handling details in the rule's BlockOverride* settings.
BlockResponse,
BlockResponseFirewallRule.Builder blockOverrideDomain(String blockOverrideDomain)
The custom DNS record to send back in response to the query. Used for the rule action BLOCK with
a BlockResponse setting of OVERRIDE.
blockOverrideDomain - The custom DNS record to send back in response to the query. Used for the rule action
BLOCK with a BlockResponse setting of OVERRIDE.FirewallRule.Builder blockOverrideDnsType(String blockOverrideDnsType)
The DNS record's type. This determines the format of the record value that you provided in
BlockOverrideDomain. Used for the rule action BLOCK with a
BlockResponse setting of OVERRIDE.
blockOverrideDnsType - The DNS record's type. This determines the format of the record value that you provided in
BlockOverrideDomain. Used for the rule action BLOCK with a
BlockResponse setting of OVERRIDE.BlockOverrideDnsType,
BlockOverrideDnsTypeFirewallRule.Builder blockOverrideDnsType(BlockOverrideDnsType blockOverrideDnsType)
The DNS record's type. This determines the format of the record value that you provided in
BlockOverrideDomain. Used for the rule action BLOCK with a
BlockResponse setting of OVERRIDE.
blockOverrideDnsType - The DNS record's type. This determines the format of the record value that you provided in
BlockOverrideDomain. Used for the rule action BLOCK with a
BlockResponse setting of OVERRIDE.BlockOverrideDnsType,
BlockOverrideDnsTypeFirewallRule.Builder blockOverrideTtl(Integer 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 BLOCK with a BlockResponse setting of
OVERRIDE.
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 BLOCK with a BlockResponse setting
of OVERRIDE.FirewallRule.Builder creatorRequestId(String creatorRequestId)
A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of executing the operation twice. This can be any unique string, for example, a timestamp.
creatorRequestId - A unique string defined by you to identify the request. This allows you to retry failed requests
without the risk of executing the operation twice. This can be any unique string, for example, a
timestamp.FirewallRule.Builder creationTime(String creationTime)
The date and time that the rule was created, in Unix time format and Coordinated Universal Time (UTC).
creationTime - The date and time that the rule was created, in Unix time format and Coordinated Universal Time (UTC).FirewallRule.Builder modificationTime(String modificationTime)
The date and time that the rule was last modified, in Unix time format and Coordinated Universal Time (UTC).
modificationTime - The date and time that the rule was last modified, in Unix time format and Coordinated Universal Time
(UTC).Copyright © 2023. All rights reserved.