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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRateLimitLabelNamespace.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RateLimitLabelNamespace.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringnamespace()The namespace to use for aggregation.List<SdkField<?>>sdkFields()static Class<? extends RateLimitLabelNamespace.Builder>serializableBuilderClass()RateLimitLabelNamespace.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
-
namespace
public final String namespace()
The namespace to use for aggregation.
- Returns:
- The namespace to use for aggregation.
-
toBuilder
public RateLimitLabelNamespace.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RateLimitLabelNamespace.Builder,RateLimitLabelNamespace>
-
builder
public static RateLimitLabelNamespace.Builder builder()
-
serializableBuilderClass
public static Class<? extends RateLimitLabelNamespace.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.
-
-