Class BatchCreateFirewallRuleInputItem
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BatchCreateFirewallRuleInputItem.Builder,BatchCreateFirewallRuleInputItem>
Information about a DNS Firewall rule to create in a batch operation.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal FirewallRuleActionaction()The action to take when a DNS query matches the firewall rule.final StringThe action to take when a DNS query matches the firewall rule.The DNS record type for the custom response when the action is BLOCK.final StringThe DNS record type for the custom response when the action is BLOCK.final StringThe custom domain name for the BLOCK response.final IntegerThe TTL value for the custom response when the action is BLOCK.final FirewallBlockResponseThe type of block response to return when the action is BLOCK.final StringThe type of block response to return when the action is BLOCK.builder()final StringA unique string that identifies the request and ensures idempotency.final ConfidenceThresholdThe confidence threshold for advanced threat detection.final StringThe confidence threshold for advanced threat detection.final StringA description of the firewall rule.final DnsAdvancedProtectionWhether to enable advanced DNS threat protection for the firewall rule.final StringWhether to enable advanced DNS threat protection for the firewall rule.final StringThe ID of the DNS view to associate the firewall rule with.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe ID of the firewall domain list to associate with the rule.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()A name for the firewall rule.final Longpriority()The priority of the firewall rule.final StringqType()The DNS query type that the firewall rule should match.static Class<? extends BatchCreateFirewallRuleInputItem.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
action
The action to take when a DNS query matches the firewall rule.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnFirewallRuleAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action to take when a DNS query matches the firewall rule.
- See Also:
-
actionAsString
The action to take when a DNS query matches the firewall rule.
If the service returns an enum value that is not available in the current SDK version,
actionwill returnFirewallRuleAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action to take when a DNS query matches the firewall rule.
- See Also:
-
blockOverrideDnsType
The DNS record type for the custom response when the action is BLOCK.
If the service returns an enum value that is not available in the current SDK version,
blockOverrideDnsTypewill returnBlockOverrideDnsQueryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromblockOverrideDnsTypeAsString().- Returns:
- The DNS record type for the custom response when the action is BLOCK.
- See Also:
-
blockOverrideDnsTypeAsString
The DNS record type for the custom response when the action is BLOCK.
If the service returns an enum value that is not available in the current SDK version,
blockOverrideDnsTypewill returnBlockOverrideDnsQueryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromblockOverrideDnsTypeAsString().- Returns:
- The DNS record type for the custom response when the action is BLOCK.
- See Also:
-
blockOverrideDomain
The custom domain name for the BLOCK response.
- Returns:
- The custom domain name for the BLOCK response.
-
blockOverrideTtl
The TTL value for the custom response when the action is BLOCK.
- Returns:
- The TTL value for the custom response when the action is BLOCK.
-
blockResponse
The type of block response to return when the action is BLOCK.
If the service returns an enum value that is not available in the current SDK version,
blockResponsewill returnFirewallBlockResponse.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromblockResponseAsString().- Returns:
- The type of block response to return when the action is BLOCK.
- See Also:
-
blockResponseAsString
The type of block response to return when the action is BLOCK.
If the service returns an enum value that is not available in the current SDK version,
blockResponsewill returnFirewallBlockResponse.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromblockResponseAsString().- Returns:
- The type of block response to return when the action is BLOCK.
- See Also:
-
clientToken
A unique string that identifies the request and ensures idempotency.
- Returns:
- A unique string that identifies the request and ensures idempotency.
-
confidenceThreshold
The confidence threshold for advanced threat detection.
If the service returns an enum value that is not available in the current SDK version,
confidenceThresholdwill returnConfidenceThreshold.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfidenceThresholdAsString().- Returns:
- The confidence threshold for advanced threat detection.
- See Also:
-
confidenceThresholdAsString
The confidence threshold for advanced threat detection.
If the service returns an enum value that is not available in the current SDK version,
confidenceThresholdwill returnConfidenceThreshold.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfidenceThresholdAsString().- Returns:
- The confidence threshold for advanced threat detection.
- See Also:
-
description
A description of the firewall rule.
- Returns:
- A description of the firewall rule.
-
dnsAdvancedProtection
Whether to enable advanced DNS threat protection for the firewall rule.
If the service returns an enum value that is not available in the current SDK version,
dnsAdvancedProtectionwill returnDnsAdvancedProtection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdnsAdvancedProtectionAsString().- Returns:
- Whether to enable advanced DNS threat protection for the firewall rule.
- See Also:
-
dnsAdvancedProtectionAsString
Whether to enable advanced DNS threat protection for the firewall rule.
If the service returns an enum value that is not available in the current SDK version,
dnsAdvancedProtectionwill returnDnsAdvancedProtection.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdnsAdvancedProtectionAsString().- Returns:
- Whether to enable advanced DNS threat protection for the firewall rule.
- See Also:
-
firewallDomainListId
The ID of the firewall domain list to associate with the rule.
- Returns:
- The ID of the firewall domain list to associate with the rule.
-
name
-
priority
The priority of the firewall rule.
- Returns:
- The priority of the firewall rule.
-
dnsViewId
The ID of the DNS view to associate the firewall rule with.
- Returns:
- The ID of the DNS view to associate the firewall rule with.
-
qType
The DNS query type that the firewall rule should match.
- Returns:
- The DNS query type that the firewall rule should match.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchCreateFirewallRuleInputItem.Builder,BatchCreateFirewallRuleInputItem> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-