Class RulesEngineAction
java.lang.Object
com.azure.resourcemanager.frontdoor.models.RulesEngineAction
One or more actions that will execute, modifying the request and/or response.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the requestHeaderActions property: A list of header actions to apply from the request from AFD to the origin.Get the responseHeaderActions property: A list of header actions to apply from the response from AFD to the client.Get the routeConfigurationOverride property: Override the route configuration.void
validate()
Validates the instance.withRequestHeaderActions
(List<HeaderAction> requestHeaderActions) Set the requestHeaderActions property: A list of header actions to apply from the request from AFD to the origin.withResponseHeaderActions
(List<HeaderAction> responseHeaderActions) Set the responseHeaderActions property: A list of header actions to apply from the response from AFD to the client.withRouteConfigurationOverride
(RouteConfiguration routeConfigurationOverride) Set the routeConfigurationOverride property: Override the route configuration.
-
Constructor Details
-
RulesEngineAction
public RulesEngineAction()Creates an instance of RulesEngineAction class.
-
-
Method Details
-
requestHeaderActions
Get the requestHeaderActions property: A list of header actions to apply from the request from AFD to the origin.- Returns:
- the requestHeaderActions value.
-
withRequestHeaderActions
Set the requestHeaderActions property: A list of header actions to apply from the request from AFD to the origin.- Parameters:
requestHeaderActions
- the requestHeaderActions value to set.- Returns:
- the RulesEngineAction object itself.
-
responseHeaderActions
Get the responseHeaderActions property: A list of header actions to apply from the response from AFD to the client.- Returns:
- the responseHeaderActions value.
-
withResponseHeaderActions
Set the responseHeaderActions property: A list of header actions to apply from the response from AFD to the client.- Parameters:
responseHeaderActions
- the responseHeaderActions value to set.- Returns:
- the RulesEngineAction object itself.
-
routeConfigurationOverride
Get the routeConfigurationOverride property: Override the route configuration.- Returns:
- the routeConfigurationOverride value.
-
withRouteConfigurationOverride
public RulesEngineAction withRouteConfigurationOverride(RouteConfiguration routeConfigurationOverride) Set the routeConfigurationOverride property: Override the route configuration.- Parameters:
routeConfigurationOverride
- the routeConfigurationOverride value to set.- Returns:
- the RulesEngineAction object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-