Class ApplicationGatewayCustomError

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

public class ApplicationGatewayCustomError extends Object
Customer error of an application gateway.
  • 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

      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

      public String customErrorPageUrl()
      Get error page URL of the application gateway customer error.
      Returns:
      the customErrorPageUrl 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.