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.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor