@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PerObjectStatus extends Object implements Serializable, Cloneable, StructuredPojo
Provides configuration status for a single policy or rule group that is used for a firewall endpoint. 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 a SyncState for a firewall.
Constructor and Description |
---|
PerObjectStatus() |
Modifier and Type | Method and Description |
---|---|
PerObjectStatus |
clone() |
boolean |
equals(Object obj) |
String |
getSyncStatus()
Indicates whether this object is in sync with the version indicated in the update token.
|
String |
getUpdateToken()
The current version of the object that is either in sync or pending synchronization.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSyncStatus(String syncStatus)
Indicates whether this object is in sync with the version indicated in the update token.
|
void |
setUpdateToken(String updateToken)
The current version of the object that is either in sync or pending synchronization.
|
String |
toString()
Returns a string representation of this object.
|
PerObjectStatus |
withSyncStatus(PerObjectSyncStatus syncStatus)
Indicates whether this object is in sync with the version indicated in the update token.
|
PerObjectStatus |
withSyncStatus(String syncStatus)
Indicates whether this object is in sync with the version indicated in the update token.
|
PerObjectStatus |
withUpdateToken(String updateToken)
The current version of the object that is either in sync or pending synchronization.
|
public void setSyncStatus(String syncStatus)
Indicates whether this object is in sync with the version indicated in the update token.
syncStatus
- Indicates whether this object is in sync with the version indicated in the update token.PerObjectSyncStatus
public String getSyncStatus()
Indicates whether this object is in sync with the version indicated in the update token.
PerObjectSyncStatus
public PerObjectStatus withSyncStatus(String syncStatus)
Indicates whether this object is in sync with the version indicated in the update token.
syncStatus
- Indicates whether this object is in sync with the version indicated in the update token.PerObjectSyncStatus
public PerObjectStatus withSyncStatus(PerObjectSyncStatus syncStatus)
Indicates whether this object is in sync with the version indicated in the update token.
syncStatus
- Indicates whether this object is in sync with the version indicated in the update token.PerObjectSyncStatus
public void setUpdateToken(String updateToken)
The current version of the object that is either in sync or pending synchronization.
updateToken
- The current version of the object that is either in sync or pending synchronization.public String getUpdateToken()
The current version of the object that is either in sync or pending synchronization.
public PerObjectStatus withUpdateToken(String updateToken)
The current version of the object that is either in sync or pending synchronization.
updateToken
- The current version of the object that is either in sync or pending synchronization.public String toString()
toString
in class Object
Object.toString()
public PerObjectStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.