@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateFirewallRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateFirewallRuleRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateFirewallRuleRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain
list:
|
String |
getBlockOverrideDnsType()
The DNS record's type.
|
String |
getBlockOverrideDomain()
The custom DNS record to send back in response to the query.
|
Integer |
getBlockOverrideTtl()
The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override
record.
|
String |
getBlockResponse()
The way that you want DNS Firewall to block the request.
|
String |
getFirewallDomainListId()
The ID of the domain list to use in the rule.
|
String |
getFirewallRuleGroupId()
The unique identifier of the firewall rule group for the rule.
|
String |
getName()
The name of the rule.
|
Integer |
getPriority()
The setting that determines the processing order of the rule in the rule group.
|
int |
hashCode() |
void |
setAction(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:
|
void |
setBlockOverrideDnsType(String blockOverrideDnsType)
The DNS record's type.
|
void |
setBlockOverrideDomain(String blockOverrideDomain)
The custom DNS record to send back in response to the query.
|
void |
setBlockOverrideTtl(Integer blockOverrideTtl)
The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override
record.
|
void |
setBlockResponse(String blockResponse)
The way that you want DNS Firewall to block the request.
|
void |
setFirewallDomainListId(String firewallDomainListId)
The ID of the domain list to use in the rule.
|
void |
setFirewallRuleGroupId(String firewallRuleGroupId)
The unique identifier of the firewall rule group for the rule.
|
void |
setName(String name)
The name of the rule.
|
void |
setPriority(Integer priority)
The setting that determines the processing order of the rule in the rule group.
|
String |
toString()
Returns a string representation of this object.
|
UpdateFirewallRuleRequest |
withAction(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:
|
UpdateFirewallRuleRequest |
withAction(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:
|
UpdateFirewallRuleRequest |
withBlockOverrideDnsType(BlockOverrideDnsType blockOverrideDnsType)
The DNS record's type.
|
UpdateFirewallRuleRequest |
withBlockOverrideDnsType(String blockOverrideDnsType)
The DNS record's type.
|
UpdateFirewallRuleRequest |
withBlockOverrideDomain(String blockOverrideDomain)
The custom DNS record to send back in response to the query.
|
UpdateFirewallRuleRequest |
withBlockOverrideTtl(Integer blockOverrideTtl)
The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override
record.
|
UpdateFirewallRuleRequest |
withBlockResponse(BlockResponse blockResponse)
The way that you want DNS Firewall to block the request.
|
UpdateFirewallRuleRequest |
withBlockResponse(String blockResponse)
The way that you want DNS Firewall to block the request.
|
UpdateFirewallRuleRequest |
withFirewallDomainListId(String firewallDomainListId)
The ID of the domain list to use in the rule.
|
UpdateFirewallRuleRequest |
withFirewallRuleGroupId(String firewallRuleGroupId)
The unique identifier of the firewall rule group for the rule.
|
UpdateFirewallRuleRequest |
withName(String name)
The name of the rule.
|
UpdateFirewallRuleRequest |
withPriority(Integer priority)
The setting that determines the processing order of the rule in the rule group.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setFirewallRuleGroupId(String firewallRuleGroupId)
The unique identifier of the firewall rule group for the rule.
firewallRuleGroupId - The unique identifier of the firewall rule group for the rule.public String getFirewallRuleGroupId()
The unique identifier of the firewall rule group for the rule.
public UpdateFirewallRuleRequest withFirewallRuleGroupId(String firewallRuleGroupId)
The unique identifier of the firewall rule group for the rule.
firewallRuleGroupId - The unique identifier of the firewall rule group for the rule.public void setFirewallDomainListId(String firewallDomainListId)
The ID of the domain list to use in the rule.
firewallDomainListId - The ID of the domain list to use in the rule.public String getFirewallDomainListId()
The ID of the domain list to use in the rule.
public UpdateFirewallRuleRequest withFirewallDomainListId(String firewallDomainListId)
The ID of the domain list to use in the rule.
firewallDomainListId - The ID of the domain list to use in the rule.public void setPriority(Integer 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.
You must specify a unique priority for each rule in a rule group. To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for the rules in a rule group at any time.
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.
You must specify a unique priority for each rule in a rule group. To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for the rules in a rule group at any time.
public Integer getPriority()
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.
You must specify a unique priority for each rule in a rule group. To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for the rules in a rule group at any time.
You must specify a unique priority for each rule in a rule group. To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for the rules in a rule group at any time.
public UpdateFirewallRuleRequest withPriority(Integer 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.
You must specify a unique priority for each rule in a rule group. To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for the rules in a rule group at any time.
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.
You must specify a unique priority for each rule in a rule group. To make it easier to insert rules later, leave space between the numbers, for example, use 100, 200, and so on. You can change the priority setting for the rules in a rule group at any time.
public void setAction(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. This option requires additional details in the rule's
BlockResponse.
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. This option requires additional details in the rule's
BlockResponse.
Actionpublic String getAction()
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. This option requires additional details in the rule's
BlockResponse.
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. This option requires additional details in the rule's
BlockResponse.
Actionpublic UpdateFirewallRuleRequest withAction(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. This option requires additional details in the rule's
BlockResponse.
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. This option requires additional details in the rule's
BlockResponse.
Actionpublic UpdateFirewallRuleRequest withAction(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. This option requires additional details in the rule's
BlockResponse.
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. This option requires additional details in the rule's
BlockResponse.
Actionpublic void setBlockResponse(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.
BlockResponsepublic String getBlockResponse()
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.
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.
BlockResponsepublic UpdateFirewallRuleRequest withBlockResponse(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.
BlockResponsepublic UpdateFirewallRuleRequest withBlockResponse(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.
BlockResponsepublic void setBlockOverrideDomain(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.public String getBlockOverrideDomain()
The custom DNS record to send back in response to the query. Used for the rule action BLOCK with a
BlockResponse setting of OVERRIDE.
BLOCK
with a BlockResponse setting of OVERRIDE.public UpdateFirewallRuleRequest withBlockOverrideDomain(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.public void setBlockOverrideDnsType(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.BlockOverrideDnsTypepublic String getBlockOverrideDnsType()
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.
BlockOverrideDomain. Used for the rule action BLOCK with a
BlockResponse setting of OVERRIDE.BlockOverrideDnsTypepublic UpdateFirewallRuleRequest withBlockOverrideDnsType(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.BlockOverrideDnsTypepublic UpdateFirewallRuleRequest withBlockOverrideDnsType(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.BlockOverrideDnsTypepublic void setBlockOverrideTtl(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.public Integer getBlockOverrideTtl()
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.
BLOCK with a BlockResponse setting of
OVERRIDE.public UpdateFirewallRuleRequest withBlockOverrideTtl(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.public void setName(String name)
The name of the rule.
name - The name of the rule.public String getName()
The name of the rule.
public UpdateFirewallRuleRequest withName(String name)
The name of the rule.
name - The name of the rule.public String toString()
toString in class ObjectObject.toString()public UpdateFirewallRuleRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.