Class FirewallConfig
- java.lang.Object
-
- software.amazon.awssdk.services.route53resolver.model.FirewallConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FirewallConfig.Builder,FirewallConfig>
@Generated("software.amazon.awssdk:codegen") public final class FirewallConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FirewallConfig.Builder,FirewallConfig>
Configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFirewallConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FirewallConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FirewallFailOpenStatusfirewallFailOpen()Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply.StringfirewallFailOpenAsString()Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the firewall configuration.StringownerId()The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.StringresourceId()The ID of the VPC that this firewall configuration applies to.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends FirewallConfig.Builder>serializableBuilderClass()FirewallConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The ID of the firewall configuration.
- Returns:
- The ID of the firewall configuration.
-
resourceId
public final String resourceId()
The ID of the VPC that this firewall configuration applies to.
- Returns:
- The ID of the VPC that this firewall configuration applies to.
-
ownerId
public final String ownerId()
The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
- Returns:
- The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
-
firewallFailOpen
public final FirewallFailOpenStatus firewallFailOpen()
Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply.
-
By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall returns a failure error when it is unable to properly evaluate a query.
-
If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them.
This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
If the service returns an enum value that is not available in the current SDK version,
firewallFailOpenwill returnFirewallFailOpenStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfirewallFailOpenAsString().- Returns:
- Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS
Firewall fails to receive a reply.
-
By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall returns a failure error when it is unable to properly evaluate a query.
-
If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them.
This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
-
- See Also:
FirewallFailOpenStatus
-
-
firewallFailOpenAsString
public final String firewallFailOpenAsString()
Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply.
-
By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall returns a failure error when it is unable to properly evaluate a query.
-
If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them.
This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
If the service returns an enum value that is not available in the current SDK version,
firewallFailOpenwill returnFirewallFailOpenStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfirewallFailOpenAsString().- Returns:
- Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS
Firewall fails to receive a reply.
-
By default, fail open is disabled, which means the failure mode is closed. This approach favors security over availability. DNS Firewall returns a failure error when it is unable to properly evaluate a query.
-
If you enable this option, the failure mode is open. This approach favors availability over security. DNS Firewall allows queries to proceed if it is unable to properly evaluate them.
This behavior is only enforced for VPCs that have at least one DNS Firewall rule group association.
-
- See Also:
FirewallFailOpenStatus
-
-
toBuilder
public FirewallConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FirewallConfig.Builder,FirewallConfig>
-
builder
public static FirewallConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends FirewallConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-