ApplicationGatewayCustomError Class

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

public class ApplicationGatewayCustomError

Customer error of an application gateway.

Constructor Summary

Constructor Description
ApplicationGatewayCustomError()

Method Summary

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

Get error page URL of the application gateway customer error.

ApplicationGatewayCustomErrorStatusCode statusCode()

Get status code of the application gateway customer error.

ApplicationGatewayCustomError withCustomErrorPageUrl(String customErrorPageUrl)

Set error page URL of the application gateway customer error.

ApplicationGatewayCustomError withStatusCode(ApplicationGatewayCustomErrorStatusCode statusCode)

Set status code of the application gateway customer error.

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

ApplicationGatewayCustomError

public ApplicationGatewayCustomError()

Method Details

customErrorPageUrl

public String customErrorPageUrl()

Get error page URL of the application gateway customer error.

Returns:

the customErrorPageUrl value

statusCode

public ApplicationGatewayCustomErrorStatusCode statusCode()

Get status code of the application gateway customer error. Possible values include: 'HttpStatus403', 'HttpStatus502'.

Returns:

the statusCode value

withCustomErrorPageUrl

public ApplicationGatewayCustomError withCustomErrorPageUrl(String customErrorPageUrl)

Set error page URL of the application gateway customer error.

Parameters:

customErrorPageUrl - the customErrorPageUrl value to set

Returns:

the ApplicationGatewayCustomError object itself.

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.

Applies to