Interface ApiPattern.Builder

  • Method Details

    • method

      ApiPattern.Builder method(String method)

      The HTTP method of the API pattern. For example, GET or POST.

      Parameters:
      method - The HTTP method of the API pattern. For example, GET or POST.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • pathPattern

      ApiPattern.Builder pathPattern(String pathPattern)

      The normalized URI path of the API pattern. Templated path segments are shown in braces. For example, /api/v1/accounts/{id}.

      Parameters:
      pathPattern - The normalized URI path of the API pattern. Templated path segments are shown in braces. For example, /api/v1/accounts/{id}.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • port

      The port of the API pattern. For example, 443.

      Parameters:
      port - The port of the API pattern. For example, 443.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domains

      The domains that the API pattern was observed on. For example, api.example.com.

      Parameters:
      domains - The domains that the API pattern was observed on. For example, api.example.com.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domains

      ApiPattern.Builder domains(String... domains)

      The domains that the API pattern was observed on. For example, api.example.com.

      Parameters:
      domains - The domains that the API pattern was observed on. For example, api.example.com.
      Returns:
      Returns a reference to this object so that method calls can be chained together.