Class LabelNameCondition
- java.lang.Object
-
- software.amazon.awssdk.services.wafv2.model.LabelNameCondition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LabelNameCondition.Builder,LabelNameCondition>
@Generated("software.amazon.awssdk:codegen") public final class LabelNameCondition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LabelNameCondition.Builder,LabelNameCondition>
A single label name condition for a Condition in a logging filter.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLabelNameCondition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LabelNameCondition.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlabelName()The label name that a log record must contain in order to meet the condition.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends LabelNameCondition.Builder>serializableBuilderClass()LabelNameCondition.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
-
labelName
public final String labelName()
The label name that a log record must contain in order to meet the condition. This must be a fully qualified label name. 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:
- The label name that a log record must contain in order to meet the condition. This must be a fully qualified label name. 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 LabelNameCondition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LabelNameCondition.Builder,LabelNameCondition>
-
builder
public static LabelNameCondition.Builder builder()
-
serializableBuilderClass
public static Class<? extends LabelNameCondition.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
-
-