@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FirewallConfig extends Object implements Serializable, Cloneable, StructuredPojo
Configuration of the firewall behavior provided by DNS Firewall for a single VPC from Amazon Virtual Private Cloud (Amazon VPC).
Constructor and Description |
---|
FirewallConfig() |
Modifier and Type | Method and Description |
---|---|
FirewallConfig |
clone() |
boolean |
equals(Object obj) |
String |
getFirewallFailOpen()
Determines how DNS Firewall operates during failures, for example when all traffic that is sent to DNS Firewall
fails to receive a reply.
|
String |
getId()
The ID of the firewall configuration.
|
String |
getOwnerId()
The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
|
String |
getResourceId()
The ID of the VPC that this firewall configuration applies to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFirewallFailOpen(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.
|
void |
setId(String id)
The ID of the firewall configuration.
|
void |
setOwnerId(String ownerId)
The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
|
void |
setResourceId(String resourceId)
The ID of the VPC that this firewall configuration applies to.
|
String |
toString()
Returns a string representation of this object.
|
FirewallConfig |
withFirewallFailOpen(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 |
withFirewallFailOpen(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 |
withId(String id)
The ID of the firewall configuration.
|
FirewallConfig |
withOwnerId(String ownerId)
The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
|
FirewallConfig |
withResourceId(String resourceId)
The ID of the VPC that this firewall configuration applies to.
|
public void setId(String id)
The ID of the firewall configuration.
id
- The ID of the firewall configuration.public String getId()
The ID of the firewall configuration.
public FirewallConfig withId(String id)
The ID of the firewall configuration.
id
- The ID of the firewall configuration.public void setResourceId(String resourceId)
The ID of the VPC that this firewall configuration applies to.
resourceId
- The ID of the VPC that this firewall configuration applies to.public String getResourceId()
The ID of the VPC that this firewall configuration applies to.
public FirewallConfig withResourceId(String resourceId)
The ID of the VPC that this firewall configuration applies to.
resourceId
- The ID of the VPC that this firewall configuration applies to.public void setOwnerId(String ownerId)
The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
ownerId
- The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.public String getOwnerId()
The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
public FirewallConfig withOwnerId(String ownerId)
The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.
ownerId
- The Amazon Web Services account ID of the owner of the VPC that this firewall configuration applies to.public void setFirewallFailOpen(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.
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.
FirewallFailOpenStatus
public String getFirewallFailOpen()
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.
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.
FirewallFailOpenStatus
public FirewallConfig withFirewallFailOpen(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.
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.
FirewallFailOpenStatus
public FirewallConfig withFirewallFailOpen(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.
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.
FirewallFailOpenStatus
public String toString()
toString
in class Object
Object.toString()
public FirewallConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.