public final class ApplicationGatewayCustomError extends Object
| Constructor and Description |
|---|
ApplicationGatewayCustomError() |
| Modifier and Type | Method and Description |
|---|---|
String |
customErrorPageUrl()
Get the customErrorPageUrl property: Error page URL of the application gateway customer error.
|
ApplicationGatewayCustomErrorStatusCode |
statusCode()
Get the statusCode property: Status code of the application gateway customer error.
|
void |
validate()
Validates the instance.
|
ApplicationGatewayCustomError |
withCustomErrorPageUrl(String customErrorPageUrl)
Set the customErrorPageUrl property: Error page URL of the application gateway customer error.
|
ApplicationGatewayCustomError |
withStatusCode(ApplicationGatewayCustomErrorStatusCode statusCode)
Set the statusCode property: Status code of the application gateway customer error.
|
public ApplicationGatewayCustomErrorStatusCode statusCode()
public ApplicationGatewayCustomError withStatusCode(ApplicationGatewayCustomErrorStatusCode statusCode)
statusCode - the statusCode value to set.public String customErrorPageUrl()
public ApplicationGatewayCustomError withCustomErrorPageUrl(String customErrorPageUrl)
customErrorPageUrl - the customErrorPageUrl value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.