Class RateLimitLabelNamespace
java.lang.Object
software.amazon.awssdk.services.wafv2.model.RateLimitLabelNamespace
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RateLimitLabelNamespace.Builder,RateLimitLabelNamespace>
@Generated("software.amazon.awssdk:codegen")
public final class RateLimitLabelNamespace
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<RateLimitLabelNamespace.Builder,RateLimitLabelNamespace>
Specifies a label namespace to use as an aggregate key for a rate-based rule. Each distinct fully qualified label name that has the specified label namespace contributes to the aggregation instance. If you use just one label namespace as your custom key, then each label name fully defines an aggregation instance.
This uses only labels that have been added to the request by rules that are evaluated before this rate-based rule in the web ACL.
For information about label namespaces and names, see Label syntax and naming requirements in the WAF Developer Guide.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe namespace to use for aggregation.static Class<? extends RateLimitLabelNamespace.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
-
namespace
The namespace to use for aggregation.
- Returns:
- The namespace to use for aggregation.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<RateLimitLabelNamespace.Builder,RateLimitLabelNamespace>
-
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
-