Class HTTPConfiguration
- java.lang.Object
-
- com.microsoft.azure.management.network.HTTPConfiguration
-
public class HTTPConfiguration extends Object
HTTP configuration of the connectivity check.
-
-
Constructor Summary
Constructors Constructor Description HTTPConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<HTTPHeader>headers()Get the headers value.HTTPMethodmethod()Get the method value.List<Integer>validStatusCodes()Get the validStatusCodes value.HTTPConfigurationwithHeaders(List<HTTPHeader> headers)Set the headers value.HTTPConfigurationwithMethod(HTTPMethod method)Set the method value.HTTPConfigurationwithValidStatusCodes(List<Integer> validStatusCodes)Set the validStatusCodes value.
-
-
-
Method Detail
-
method
public HTTPMethod method()
Get the method value.- Returns:
- the method value
-
withMethod
public HTTPConfiguration withMethod(HTTPMethod method)
Set the method value.- Parameters:
method- the method value to set- Returns:
- the HTTPConfiguration object itself.
-
headers
public List<HTTPHeader> headers()
Get the headers value.- Returns:
- the headers value
-
withHeaders
public HTTPConfiguration withHeaders(List<HTTPHeader> headers)
Set the headers value.- Parameters:
headers- the headers value to set- Returns:
- the HTTPConfiguration object itself.
-
validStatusCodes
public List<Integer> validStatusCodes()
Get the validStatusCodes value.- Returns:
- the validStatusCodes value
-
withValidStatusCodes
public HTTPConfiguration withValidStatusCodes(List<Integer> validStatusCodes)
Set the validStatusCodes value.- Parameters:
validStatusCodes- the validStatusCodes value to set- Returns:
- the HTTPConfiguration object itself.
-
-