Interface FieldToMatch.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FieldToMatch.Builder,,FieldToMatch> SdkBuilder<FieldToMatch.Builder,,FieldToMatch> SdkPojo
- Enclosing class:
FieldToMatch
@Mutable
@NotThreadSafe
public static interface FieldToMatch.Builder
extends SdkPojo, CopyableBuilder<FieldToMatch.Builder,FieldToMatch>
-
Method Summary
Modifier and TypeMethodDescriptionRedacts the HTTP method from WAF logs.queryString(String queryString) Redacts the entire query string from WAF logs.default FieldToMatch.BuildersingleHeader(Consumer<SingleHeader.Builder> singleHeader) Redacts a specific header field by name from WAF logs.singleHeader(SingleHeader singleHeader) Redacts a specific header field by name from WAF logs.Redacts the URI path from WAF logs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
singleHeader
Redacts a specific header field by name from WAF logs.
- Parameters:
singleHeader- Redacts a specific header field by name from WAF logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
singleHeader
Redacts a specific header field by name from WAF logs.
This is a convenience method that creates an instance of theSingleHeader.Builderavoiding the need to create one manually viaSingleHeader.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosingleHeader(SingleHeader).- Parameters:
singleHeader- a consumer that will call methods onSingleHeader.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
uriPath
Redacts the URI path from WAF logs.
- Parameters:
uriPath- Redacts the URI path from WAF logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryString
Redacts the entire query string from WAF logs.
- Parameters:
queryString- Redacts the entire query string from WAF logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
method
Redacts the HTTP method from WAF logs.
- Parameters:
method- Redacts the HTTP method from WAF logs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-