public final class ApplicationGatewayProbeHealthResponseMatch extends Object
| Constructor and Description |
|---|
ApplicationGatewayProbeHealthResponseMatch() |
| Modifier and Type | Method and Description |
|---|---|
String |
body()
Get the body property: Body that must be contained in the health response.
|
List<String> |
statusCodes()
Get the statusCodes property: Allowed ranges of healthy status codes.
|
void |
validate()
Validates the instance.
|
ApplicationGatewayProbeHealthResponseMatch |
withBody(String body)
Set the body property: Body that must be contained in the health response.
|
ApplicationGatewayProbeHealthResponseMatch |
withStatusCodes(List<String> statusCodes)
Set the statusCodes property: Allowed ranges of healthy status codes.
|
public ApplicationGatewayProbeHealthResponseMatch()
public String body()
public ApplicationGatewayProbeHealthResponseMatch withBody(String body)
body - the body value to set.public List<String> statusCodes()
public ApplicationGatewayProbeHealthResponseMatch withStatusCodes(List<String> statusCodes)
statusCodes - the statusCodes value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.