ApplicationGatewayProbeHealthResponseMatch Class

  • java.lang.Object
    • com.microsoft.azure.management.network.ApplicationGatewayProbeHealthResponseMatch

public class ApplicationGatewayProbeHealthResponseMatch

Application gateway probe health response match.

Constructor Summary

Constructor Description
ApplicationGatewayProbeHealthResponseMatch()

Method Summary

Modifier and Type Method and Description
java.lang.String body()

Get body that must be contained in the health response.

java.util.List<java.lang.String> statusCodes()

Get allowed ranges of healthy status codes.

ApplicationGatewayProbeHealthResponseMatch withBody(String body)

Set body that must be contained in the health response.

ApplicationGatewayProbeHealthResponseMatch withStatusCodes(List<String> statusCodes)

Set allowed ranges of healthy status codes.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ApplicationGatewayProbeHealthResponseMatch

public ApplicationGatewayProbeHealthResponseMatch()

Method Details

body

public String body()

Get body that must be contained in the health response. Default value is empty.

Returns:

the body value

statusCodes

public List statusCodes()

Get allowed ranges of healthy status codes. Default range of healthy status codes is 200-399.

Returns:

the statusCodes value

withBody

public ApplicationGatewayProbeHealthResponseMatch withBody(String body)

Set body that must be contained in the health response. Default value is empty.

Parameters:

body - the body value to set

Returns:

the ApplicationGatewayProbeHealthResponseMatch object itself.

withStatusCodes

public ApplicationGatewayProbeHealthResponseMatch withStatusCodes(List statusCodes)

Set allowed ranges of healthy status codes. Default range of healthy status codes is 200-399.

Parameters:

statusCodes - the statusCodes value to set

Returns:

the ApplicationGatewayProbeHealthResponseMatch object itself.

Applies to