Interface FirewallConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FirewallConfig.Builder,FirewallConfig>,SdkBuilder<FirewallConfig.Builder,FirewallConfig>,SdkPojo
- Enclosing class:
- FirewallConfig
public static interface FirewallConfig.Builder extends SdkPojo, CopyableBuilder<FirewallConfig.Builder,FirewallConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FirewallConfig.BuilderfirewallFailOpen(String firewallFailOpen)Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS Firewall fails to receive a reply.FirewallConfig.BuilderfirewallFailOpen(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.FirewallConfig.Builderid(String id)The ID of the firewall configuration.FirewallConfig.BuilderownerId(String ownerId)The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.FirewallConfig.BuilderresourceId(String resourceId)The ID of the VPC that this firewall configuration applies to.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
FirewallConfig.Builder id(String id)
The ID of the firewall configuration.
- Parameters:
id- The ID of the firewall configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceId
FirewallConfig.Builder resourceId(String resourceId)
The ID of the VPC that this firewall configuration applies to.
- Parameters:
resourceId- The ID of the VPC that this firewall configuration applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerId
FirewallConfig.Builder ownerId(String ownerId)
The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
- Parameters:
ownerId- The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
firewallFailOpen
FirewallConfig.Builder firewallFailOpen(String 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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FirewallFailOpenStatus,FirewallFailOpenStatus
-
-
firewallFailOpen
FirewallConfig.Builder firewallFailOpen(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FirewallFailOpenStatus,FirewallFailOpenStatus
-
-
-