Class StatefulRuleGroupOverride
- java.lang.Object
-
- software.amazon.awssdk.services.networkfirewall.model.StatefulRuleGroupOverride
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StatefulRuleGroupOverride.Builder,StatefulRuleGroupOverride>
@Generated("software.amazon.awssdk:codegen") public final class StatefulRuleGroupOverride extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StatefulRuleGroupOverride.Builder,StatefulRuleGroupOverride>
The setting that allows the policy owner to change the behavior of the rule group within a policy.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStatefulRuleGroupOverride.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OverrideActionaction()The action that changes the rule group fromDROPtoALERT.StringactionAsString()The action that changes the rule group fromDROPtoALERT.static StatefulRuleGroupOverride.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends StatefulRuleGroupOverride.Builder>serializableBuilderClass()StatefulRuleGroupOverride.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
action
public final OverrideAction action()
The action that changes the rule group from
DROPtoALERT. This only applies to managed rule groups.If the service returns an enum value that is not available in the current SDK version,
actionwill returnOverrideAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action that changes the rule group from
DROPtoALERT. This only applies to managed rule groups. - See Also:
OverrideAction
-
actionAsString
public final String actionAsString()
The action that changes the rule group from
DROPtoALERT. This only applies to managed rule groups.If the service returns an enum value that is not available in the current SDK version,
actionwill returnOverrideAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- The action that changes the rule group from
DROPtoALERT. This only applies to managed rule groups. - See Also:
OverrideAction
-
toBuilder
public StatefulRuleGroupOverride.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StatefulRuleGroupOverride.Builder,StatefulRuleGroupOverride>
-
builder
public static StatefulRuleGroupOverride.Builder builder()
-
serializableBuilderClass
public static Class<? extends StatefulRuleGroupOverride.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.
-
-