Class Condition
- java.lang.Object
-
- software.amazon.awssdk.services.wafv2.model.Condition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Condition.Builder,Condition>
@Generated("software.amazon.awssdk:codegen") public final class Condition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Condition.Builder,Condition>
A single match condition for a Filter.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCondition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionConditionactionCondition()A single action condition.static Condition.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LabelNameConditionlabelNameCondition()A single label name condition.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Condition.Builder>serializableBuilderClass()Condition.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
-
actionCondition
public final ActionCondition actionCondition()
A single action condition. This is the action setting that a log record must contain in order to meet the condition.
- Returns:
- A single action condition. This is the action setting that a log record must contain in order to meet the condition.
-
labelNameCondition
public final LabelNameCondition labelNameCondition()
A single label name condition. This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.
- Returns:
- A single label name condition. This is the fully qualified label name that a log record must contain in order to meet the condition. Fully qualified labels have a prefix, optional namespaces, and label name. The prefix identifies the rule group or web ACL context of the rule that added the label.
-
toBuilder
public Condition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Condition.Builder,Condition>
-
builder
public static Condition.Builder builder()
-
serializableBuilderClass
public static Class<? extends Condition.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
-
-