Class Label
java.lang.Object
software.amazon.awssdk.services.wafv2.model.Label
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Label.Builder,Label>
@Generated("software.amazon.awssdk:codegen")
public final class Label
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<Label.Builder,Label>
A single label container. This is used as an element of a label array in multiple contexts, for example, in
RuleLabels inside a Rule and in Labels inside a SampledHTTPRequest.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Label.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()The label string.static Class<? extends Label.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
The label string.
- Returns:
- The label string.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<Label.Builder,Label>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-