Interface RateLimitCookie.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RateLimitCookie.Builder,RateLimitCookie>,SdkBuilder<RateLimitCookie.Builder,RateLimitCookie>,SdkPojo
- Enclosing class:
- RateLimitCookie
public static interface RateLimitCookie.Builder extends SdkPojo, CopyableBuilder<RateLimitCookie.Builder,RateLimitCookie>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RateLimitCookie.Buildername(String name)The name of the cookie to use.RateLimitCookie.BuildertextTransformations(Collection<TextTransformation> textTransformations)Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection.RateLimitCookie.BuildertextTransformations(Consumer<TextTransformation.Builder>... textTransformations)Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection.RateLimitCookie.BuildertextTransformations(TextTransformation... textTransformations)Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
RateLimitCookie.Builder name(String name)
The name of the cookie to use.
- Parameters:
name- The name of the cookie to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textTransformations
RateLimitCookie.Builder textTransformations(Collection<TextTransformation> textTransformations)
Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the
FieldToMatchrequest component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.- Parameters:
textTransformations- Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform theFieldToMatchrequest component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textTransformations
RateLimitCookie.Builder textTransformations(TextTransformation... textTransformations)
Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the
FieldToMatchrequest component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.- Parameters:
textTransformations- Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform theFieldToMatchrequest component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textTransformations
RateLimitCookie.Builder textTransformations(Consumer<TextTransformation.Builder>... textTransformations)
Text transformations eliminate some of the unusual formatting that attackers use in web requests in an effort to bypass detection. Text transformations are used in rule match statements, to transform the
This is a convenience method that creates an instance of theFieldToMatchrequest component before inspecting it, and they're used in rate-based rule statements, to transform request components before using them as custom aggregation keys. If you specify one or more transformations to apply, WAF performs all transformations on the specified content, starting from the lowest priority setting, and then uses the transformed component contents.TextTransformation.Builderavoiding the need to create one manually viaTextTransformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#textTransformations(List.) - Parameters:
textTransformations- a consumer that will call methods onTextTransformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#textTransformations(java.util.Collection)
-
-