Class PerObjectStatus
- java.lang.Object
-
- software.amazon.awssdk.services.networkfirewall.model.PerObjectStatus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PerObjectStatus.Builder,PerObjectStatus>
@Generated("software.amazon.awssdk:codegen") public final class PerObjectStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PerObjectStatus.Builder,PerObjectStatus>
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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePerObjectStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PerObjectStatus.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PerObjectStatus.Builder>serializableBuilderClass()PerObjectSyncStatussyncStatus()Indicates whether this object is in sync with the version indicated in the update token.StringsyncStatusAsString()Indicates whether this object is in sync with the version indicated in the update token.PerObjectStatus.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringupdateToken()The current version of the object that is either in sync or pending synchronization.-
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
-
syncStatus
public final PerObjectSyncStatus syncStatus()
Indicates whether this object is in sync with the version indicated in the update token.
If the service returns an enum value that is not available in the current SDK version,
syncStatuswill returnPerObjectSyncStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsyncStatusAsString().- Returns:
- Indicates whether this object is in sync with the version indicated in the update token.
- See Also:
PerObjectSyncStatus
-
syncStatusAsString
public final String syncStatusAsString()
Indicates whether this object is in sync with the version indicated in the update token.
If the service returns an enum value that is not available in the current SDK version,
syncStatuswill returnPerObjectSyncStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsyncStatusAsString().- Returns:
- Indicates whether this object is in sync with the version indicated in the update token.
- See Also:
PerObjectSyncStatus
-
updateToken
public final String updateToken()
The current version of the object that is either in sync or pending synchronization.
- Returns:
- The current version of the object that is either in sync or pending synchronization.
-
toBuilder
public PerObjectStatus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PerObjectStatus.Builder,PerObjectStatus>
-
builder
public static PerObjectStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends PerObjectStatus.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
-
-