RulesEngineAction Class
- java.
lang. Object - com.
azure. resourcemanager. frontdoor. models. RulesEngineAction
- com.
public final class RulesEngineAction
One or more actions that will execute, modifying the request and/or response.
Constructor Summary
Constructor | Description |
---|---|
RulesEngineAction() |
Creates an instance of Rules |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Header |
requestHeaderActions()
Get the request |
List<Header |
responseHeaderActions()
Get the response |
Route |
routeConfigurationOverride()
Get the route |
void |
validate()
Validates the instance. |
Rules |
withRequestHeaderActions(List<HeaderAction> requestHeaderActions)
Set the request |
Rules |
withResponseHeaderActions(List<HeaderAction> responseHeaderActions)
Set the response |
Rules |
withRouteConfigurationOverride(RouteConfiguration routeConfigurationOverride)
Set the route |
Methods inherited from java.lang.Object
Constructor Details
RulesEngineAction
public RulesEngineAction()
Creates an instance of RulesEngineAction class.
Method Details
requestHeaderActions
public List
Get the requestHeaderActions property: A list of header actions to apply from the request from AFD to the origin.
Returns:
responseHeaderActions
public List
Get the responseHeaderActions property: A list of header actions to apply from the response from AFD to the client.
Returns:
routeConfigurationOverride
public RouteConfiguration routeConfigurationOverride()
Get the routeConfigurationOverride property: Override the route configuration.
Returns:
validate
public void validate()
Validates the instance.
withRequestHeaderActions
public RulesEngineAction withRequestHeaderActions(List
Set the requestHeaderActions property: A list of header actions to apply from the request from AFD to the origin.
Parameters:
Returns:
withResponseHeaderActions
public RulesEngineAction withResponseHeaderActions(List
Set the responseHeaderActions property: A list of header actions to apply from the response from AFD to the client.
Parameters:
Returns:
withRouteConfigurationOverride
public RulesEngineAction withRouteConfigurationOverride(RouteConfiguration routeConfigurationOverride)
Set the routeConfigurationOverride property: Override the route configuration.
Parameters:
Returns:
Applies to
Azure SDK for Java