@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SyncState extends Object implements Serializable, Cloneable, StructuredPojo
The status of the firewall endpoint and firewall policy configuration for a single VPC subnet.
For each VPC subnet that you associate with a firewall, Network Firewall does the following:
Instantiates a firewall endpoint in the subnet, ready to take traffic.
Configures the endpoint with the current firewall policy settings, to provide the filtering behavior for the endpoint.
When you update a firewall, for example to add a subnet association or change a rule group in the firewall policy, the affected sync states reflect out-of-sync or not ready status until the changes are complete.
Constructor and Description |
---|
SyncState() |
Modifier and Type | Method and Description |
---|---|
SyncState |
addConfigEntry(String key,
PerObjectStatus value)
Add a single Config entry
|
SyncState |
clearConfigEntries()
Removes all the entries added into Config.
|
SyncState |
clone() |
boolean |
equals(Object obj) |
Attachment |
getAttachment()
The attachment status of the firewall's association with a single VPC subnet.
|
Map<String,PerObjectStatus> |
getConfig()
The configuration status of the firewall endpoint in a single VPC subnet.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttachment(Attachment attachment)
The attachment status of the firewall's association with a single VPC subnet.
|
void |
setConfig(Map<String,PerObjectStatus> config)
The configuration status of the firewall endpoint in a single VPC subnet.
|
String |
toString()
Returns a string representation of this object.
|
SyncState |
withAttachment(Attachment attachment)
The attachment status of the firewall's association with a single VPC subnet.
|
SyncState |
withConfig(Map<String,PerObjectStatus> config)
The configuration status of the firewall endpoint in a single VPC subnet.
|
public void setAttachment(Attachment attachment)
The attachment status of the firewall's association with a single VPC subnet. For each configured subnet, Network Firewall creates the attachment by instantiating the firewall endpoint in the subnet so that it's ready to take traffic. This is part of the FirewallStatus.
attachment
- The attachment status of the firewall's association with a single VPC subnet. For each configured subnet,
Network Firewall creates the attachment by instantiating the firewall endpoint in the subnet so that it's
ready to take traffic. This is part of the FirewallStatus.public Attachment getAttachment()
The attachment status of the firewall's association with a single VPC subnet. For each configured subnet, Network Firewall creates the attachment by instantiating the firewall endpoint in the subnet so that it's ready to take traffic. This is part of the FirewallStatus.
public SyncState withAttachment(Attachment attachment)
The attachment status of the firewall's association with a single VPC subnet. For each configured subnet, Network Firewall creates the attachment by instantiating the firewall endpoint in the subnet so that it's ready to take traffic. This is part of the FirewallStatus.
attachment
- The attachment status of the firewall's association with a single VPC subnet. For each configured subnet,
Network Firewall creates the attachment by instantiating the firewall endpoint in the subnet so that it's
ready to take traffic. This is part of the FirewallStatus.public Map<String,PerObjectStatus> getConfig()
The configuration status of the firewall endpoint in a single VPC subnet. Network Firewall provides each endpoint with the rules that are configured in the firewall policy. Each time you add a subnet or modify the associated firewall policy, Network Firewall synchronizes the rules in the endpoint, so it can properly filter network traffic. This is part of the FirewallStatus.
public void setConfig(Map<String,PerObjectStatus> config)
The configuration status of the firewall endpoint in a single VPC subnet. Network Firewall provides each endpoint with the rules that are configured in the firewall policy. Each time you add a subnet or modify the associated firewall policy, Network Firewall synchronizes the rules in the endpoint, so it can properly filter network traffic. This is part of the FirewallStatus.
config
- The configuration status of the firewall endpoint in a single VPC subnet. Network Firewall provides each
endpoint with the rules that are configured in the firewall policy. Each time you add a subnet or modify
the associated firewall policy, Network Firewall synchronizes the rules in the endpoint, so it can
properly filter network traffic. This is part of the FirewallStatus.public SyncState withConfig(Map<String,PerObjectStatus> config)
The configuration status of the firewall endpoint in a single VPC subnet. Network Firewall provides each endpoint with the rules that are configured in the firewall policy. Each time you add a subnet or modify the associated firewall policy, Network Firewall synchronizes the rules in the endpoint, so it can properly filter network traffic. This is part of the FirewallStatus.
config
- The configuration status of the firewall endpoint in a single VPC subnet. Network Firewall provides each
endpoint with the rules that are configured in the firewall policy. Each time you add a subnet or modify
the associated firewall policy, Network Firewall synchronizes the rules in the endpoint, so it can
properly filter network traffic. This is part of the FirewallStatus.public SyncState addConfigEntry(String key, PerObjectStatus value)
public SyncState clearConfigEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.