ApplicationGatewayCustomError Class
- java.
lang. Object - com.
microsoft. azure. management. network. ApplicationGatewayCustomError
- com.
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. |
Application |
statusCode()
Get status code of the application gateway customer error. |
Application |
withCustomErrorPageUrl(String customErrorPageUrl)
Set error page URL of the application gateway customer error. |
Application |
withStatusCode(ApplicationGatewayCustomErrorStatusCode statusCode)
Set status code of the application gateway customer error. |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayCustomError
public ApplicationGatewayCustomError()
Method Details
customErrorPageUrl
public String customErrorPageUrl()
Get error page URL of the application gateway customer error.
Returns:
statusCode
public ApplicationGatewayCustomErrorStatusCode statusCode()
Get status code of the application gateway customer error. Possible values include: 'HttpStatus403', 'HttpStatus502'.
Returns:
withCustomErrorPageUrl
public ApplicationGatewayCustomError withCustomErrorPageUrl(String customErrorPageUrl)
Set error page URL of the application gateway customer error.
Parameters:
Returns:
withStatusCode
public ApplicationGatewayCustomError withStatusCode(ApplicationGatewayCustomErrorStatusCode statusCode)
Set status code of the application gateway customer error. Possible values include: 'HttpStatus403', 'HttpStatus502'.
Parameters:
Returns:
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per