Class HTTPConfiguration

java.lang.Object
com.microsoft.azure.management.network.HTTPConfiguration

public class HTTPConfiguration extends Object
HTTP configuration of the connectivity check.
  • Constructor Details

    • HTTPConfiguration

      public HTTPConfiguration()
  • Method Details

    • method

      public HTTPMethod method()
      Get hTTP method. Possible values include: 'Get'.
      Returns:
      the method value
    • withMethod

      public HTTPConfiguration withMethod(HTTPMethod method)
      Set hTTP method. Possible values include: 'Get'.
      Parameters:
      method - the method value to set
      Returns:
      the HTTPConfiguration object itself.
    • headers

      public List<HTTPHeader> headers()
      Get list of HTTP headers.
      Returns:
      the headers value
    • withHeaders

      public HTTPConfiguration withHeaders(List<HTTPHeader> headers)
      Set list of HTTP headers.
      Parameters:
      headers - the headers value to set
      Returns:
      the HTTPConfiguration object itself.
    • validStatusCodes

      public List<Integer> validStatusCodes()
      Get valid status codes.
      Returns:
      the validStatusCodes value
    • withValidStatusCodes

      public HTTPConfiguration withValidStatusCodes(List<Integer> validStatusCodes)
      Set valid status codes.
      Parameters:
      validStatusCodes - the validStatusCodes value to set
      Returns:
      the HTTPConfiguration object itself.