Class ApplicationGatewayCustomError

java.lang.Object
com.azure.resourcemanager.network.models.ApplicationGatewayCustomError

public final class ApplicationGatewayCustomError extends Object
Custom error of an application gateway.
  • Constructor Details

    • ApplicationGatewayCustomError

      public ApplicationGatewayCustomError()
      Creates an instance of ApplicationGatewayCustomError class.
  • Method Details

    • statusCode

      Get the statusCode property: Status code of the application gateway custom error.
      Returns:
      the statusCode value.
    • withStatusCode

      Set the statusCode property: Status code of the application gateway custom error.
      Parameters:
      statusCode - the statusCode value to set.
      Returns:
      the ApplicationGatewayCustomError object itself.
    • customErrorPageUrl

      public String customErrorPageUrl()
      Get the customErrorPageUrl property: Error page URL of the application gateway custom error.
      Returns:
      the customErrorPageUrl value.
    • withCustomErrorPageUrl

      public ApplicationGatewayCustomError withCustomErrorPageUrl(String customErrorPageUrl)
      Set the customErrorPageUrl property: Error page URL of the application gateway custom error.
      Parameters:
      customErrorPageUrl - the customErrorPageUrl value to set.
      Returns:
      the ApplicationGatewayCustomError object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.