ApplicationGatewayProbeHealthResponseMatch Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ApplicationGatewayProbeHealthResponseMatch
- com.
Implements
public final class ApplicationGatewayProbeHealthResponseMatch
implements JsonSerializable<ApplicationGatewayProbeHealthResponseMatch>
Application gateway probe health response match.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayProbeHealthResponseMatch() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
body()
Get the body property: Body that must be contained in the health response. |
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
List<String> |
statusCodes()
Get the status |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Application |
withBody(String body)
Set the body property: Body that must be contained in the health response. |
Application |
withStatusCodes(List<String> statusCodes)
Set the status |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayProbeHealthResponseMatch
public ApplicationGatewayProbeHealthResponseMatch()
Creates an instance of ApplicationGatewayProbeHealthResponseMatch class.
Method Details
body
public String body()
Get the body property: Body that must be contained in the health response. Default value is empty.
Returns:
fromJson
public static ApplicationGatewayProbeHealthResponseMatch fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGatewayProbeHealthResponseMatch from the JsonReader.
Parameters:
Returns:
Throws:
statusCodes
public List
Get the statusCodes property: Allowed ranges of healthy status codes. Default range of healthy status codes is 200-399.
Returns:
toJson
validate
public void validate()
Validates the instance.
withBody
public ApplicationGatewayProbeHealthResponseMatch withBody(String body)
Set the body property: Body that must be contained in the health response. Default value is empty.
Parameters:
Returns:
withStatusCodes
public ApplicationGatewayProbeHealthResponseMatch withStatusCodes(List
Set the statusCodes property: Allowed ranges of healthy status codes. Default range of healthy status codes is 200-399.
Parameters:
Returns:
Applies to
Azure SDK for Java