@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RateLimitLabelNamespace.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RateLimitLabelNamespace.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
namespace()
The namespace to use for aggregation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RateLimitLabelNamespace.Builder> |
serializableBuilderClass() |
RateLimitLabelNamespace.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String namespace()
The namespace to use for aggregation.
public RateLimitLabelNamespace.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RateLimitLabelNamespace.Builder,RateLimitLabelNamespace>public static RateLimitLabelNamespace.Builder builder()
public static Class<? extends RateLimitLabelNamespace.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.