Interface HttpGatewayRouteHeader.Builder

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

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

    • invert

      Specify True to match anything except the match criteria. The default value is False.

      Parameters:
      invert - Specify True to match anything except the match criteria. The default value is False.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • match

      An object that represents the method and value to match with the header value sent in a request. Specify one match method.

      Parameters:
      match - An object that represents the method and value to match with the header value sent in a request. Specify one match method.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • match

      An object that represents the method and value to match with the header value sent in a request. Specify one match method.

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

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

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

      A name for the HTTP header in the gateway route that will be matched on.

      Parameters:
      name - A name for the HTTP header in the gateway route that will be matched on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.