Class ApplicationGatewayCustomError
java.lang.Object
com.microsoft.azure.management.network.ApplicationGatewayCustomError
Customer error of an application gateway.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet error page URL of the application gateway customer error.Get status code of the application gateway customer error.withCustomErrorPageUrl
(String customErrorPageUrl) Set error page URL of the application gateway customer error.Set status code of the application gateway customer error.
-
Constructor Details
-
ApplicationGatewayCustomError
public ApplicationGatewayCustomError()
-
-
Method Details
-
statusCode
Get status code of the application gateway customer error. Possible values include: 'HttpStatus403', 'HttpStatus502'.- Returns:
- the statusCode value
-
withStatusCode
public ApplicationGatewayCustomError withStatusCode(ApplicationGatewayCustomErrorStatusCode statusCode) Set status code of the application gateway customer error. Possible values include: 'HttpStatus403', 'HttpStatus502'.- Parameters:
statusCode
- the statusCode value to set- Returns:
- the ApplicationGatewayCustomError object itself.
-
customErrorPageUrl
Get error page URL of the application gateway customer error.- Returns:
- the customErrorPageUrl value
-
withCustomErrorPageUrl
Set error page URL of the application gateway customer error.- Parameters:
customErrorPageUrl
- the customErrorPageUrl value to set- Returns:
- the ApplicationGatewayCustomError object itself.
-