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
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for