@Generated(value="software.amazon.awssdk:codegen") public final class UpdateFirewallRuleRequest extends Route53ResolverRequest implements ToCopyableBuilder<UpdateFirewallRuleRequest.Builder,UpdateFirewallRuleRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateFirewallRuleRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
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:
|
String |
actionAsString()
The action that DNS Firewall should take on a DNS query when it matches one of the domains in the rule's domain
list:
|
BlockOverrideDnsType |
blockOverrideDnsType()
The DNS record's type.
|
String |
blockOverrideDnsTypeAsString()
The DNS record's type.
|
String |
blockOverrideDomain()
The custom DNS record to send back in response to the query.
|
Integer |
blockOverrideTtl()
The recommended amount of time, in seconds, for the DNS resolver or web browser to cache the provided override
record.
|
BlockResponse |
blockResponse()
The way that you want DNS Firewall to block the request.
|
String |
blockResponseAsString()
The way that you want DNS Firewall to block the request.
|
static UpdateFirewallRuleRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
firewallDomainListId()
The ID of the domain list to use in the rule.
|
String |
firewallRuleGroupId()
The unique identifier of the firewall rule group for the rule.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the rule.
|
Integer |
priority()
The setting that determines the processing order of the rule in the rule group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateFirewallRuleRequest.Builder> |
serializableBuilderClass() |
UpdateFirewallRuleRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String firewallRuleGroupId()
The unique identifier of the firewall rule group for the rule.
public final String firewallDomainListId()
The ID of the domain list to use in the rule.
public final 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.
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 final 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.
If the service returns an enum value that is not available in the current SDK version, action will
return Action.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
actionAsString().
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 final String actionAsString()
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.
If the service returns an enum value that is not available in the current SDK version, action will
return Action.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
actionAsString().
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 final 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.
If the service returns an enum value that is not available in the current SDK version, blockResponse
will return BlockResponse.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
blockResponseAsString().
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 final String blockResponseAsString()
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.
If the service returns an enum value that is not available in the current SDK version, blockResponse
will return BlockResponse.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
blockResponseAsString().
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 final 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.
BLOCK
with a BlockResponse setting of OVERRIDE.public final 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.
If the service returns an enum value that is not available in the current SDK version,
blockOverrideDnsType will return BlockOverrideDnsType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from blockOverrideDnsTypeAsString().
BlockOverrideDomain. Used for the rule action BLOCK with a
BlockResponse setting of OVERRIDE.BlockOverrideDnsTypepublic final String blockOverrideDnsTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
blockOverrideDnsType will return BlockOverrideDnsType.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from blockOverrideDnsTypeAsString().
BlockOverrideDomain. Used for the rule action BLOCK with a
BlockResponse setting of OVERRIDE.BlockOverrideDnsTypepublic final 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.
BLOCK with a BlockResponse setting of
OVERRIDE.public final String name()
The name of the rule.
public UpdateFirewallRuleRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateFirewallRuleRequest.Builder,UpdateFirewallRuleRequest>toBuilder in class Route53ResolverRequestpublic static UpdateFirewallRuleRequest.Builder builder()
public static Class<? extends UpdateFirewallRuleRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.