Interface FieldToMatch.Builder

  • Method Details

    • singleHeader

      FieldToMatch.Builder singleHeader(SingleHeader 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

      default FieldToMatch.Builder singleHeader(Consumer<SingleHeader.Builder> singleHeader)

      Redacts a specific header field by name from WAF logs.

      This is a convenience method that creates an instance of the SingleHeader.Builder avoiding the need to create one manually via SingleHeader.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to singleHeader(SingleHeader).

      Parameters:
      singleHeader - a consumer that will call methods on SingleHeader.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • uriPath

      FieldToMatch.Builder uriPath(String 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

      FieldToMatch.Builder queryString(String 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

      FieldToMatch.Builder method(String 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.