Interface HttpMatch.Builder

All Superinterfaces:
Buildable, CopyableBuilder<HttpMatch.Builder,HttpMatch>, SdkBuilder<HttpMatch.Builder,HttpMatch>, SdkPojo
Enclosing class:
HttpMatch

public static interface HttpMatch.Builder extends SdkPojo, CopyableBuilder<HttpMatch.Builder,HttpMatch>
  • Method Details

    • headerMatches

      HttpMatch.Builder headerMatches(Collection<HeaderMatch> headerMatches)

      The header matches. Matches incoming requests with rule based on request header value before applying rule action.

      Parameters:
      headerMatches - The header matches. Matches incoming requests with rule based on request header value before applying rule action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • headerMatches

      HttpMatch.Builder headerMatches(HeaderMatch... headerMatches)

      The header matches. Matches incoming requests with rule based on request header value before applying rule action.

      Parameters:
      headerMatches - The header matches. Matches incoming requests with rule based on request header value before applying rule action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • headerMatches

      HttpMatch.Builder headerMatches(Consumer<HeaderMatch.Builder>... headerMatches)

      The header matches. Matches incoming requests with rule based on request header value before applying rule action.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to headerMatches(List<HeaderMatch>).

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

      HttpMatch.Builder method(String method)

      The HTTP method type.

      Parameters:
      method - The HTTP method type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pathMatch

      HttpMatch.Builder pathMatch(PathMatch pathMatch)

      The path match.

      Parameters:
      pathMatch - The path match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pathMatch

      default HttpMatch.Builder pathMatch(Consumer<PathMatch.Builder> pathMatch)

      The path match.

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

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

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