RulesEngineAction Class

  • java.lang.Object
    • com.azure.resourcemanager.frontdoor.models.RulesEngineAction

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 RulesEngineAction class.

Method Summary

Modifier and Type Method and Description
List<HeaderAction> requestHeaderActions()

Get the requestHeaderActions property: A list of header actions to apply from the request from AFD to the origin.

List<HeaderAction> responseHeaderActions()

Get the responseHeaderActions property: A list of header actions to apply from the response from AFD to the client.

RouteConfiguration routeConfigurationOverride()

Get the routeConfigurationOverride property: Override the route configuration.

void validate()

Validates the instance.

RulesEngineAction withRequestHeaderActions(List<HeaderAction> requestHeaderActions)

Set the requestHeaderActions property: A list of header actions to apply from the request from AFD to the origin.

RulesEngineAction withResponseHeaderActions(List<HeaderAction> responseHeaderActions)

Set the responseHeaderActions property: A list of header actions to apply from the response from AFD to the client.

RulesEngineAction withRouteConfigurationOverride(RouteConfiguration routeConfigurationOverride)

Set the routeConfigurationOverride property: Override the route configuration.

Methods inherited from java.lang.Object

Constructor Details

RulesEngineAction

public RulesEngineAction()

Creates an instance of RulesEngineAction class.

Method Details

requestHeaderActions

public List requestHeaderActions()

Get the requestHeaderActions property: A list of header actions to apply from the request from AFD to the origin.

Returns:

the requestHeaderActions value.

responseHeaderActions

public List responseHeaderActions()

Get the responseHeaderActions property: A list of header actions to apply from the response from AFD to the client.

Returns:

the responseHeaderActions value.

routeConfigurationOverride

public RouteConfiguration routeConfigurationOverride()

Get the routeConfigurationOverride property: Override the route configuration.

Returns:

the routeConfigurationOverride value.

validate

public void validate()

Validates the instance.

withRequestHeaderActions

public RulesEngineAction withRequestHeaderActions(List requestHeaderActions)

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.

withResponseHeaderActions

public RulesEngineAction withResponseHeaderActions(List responseHeaderActions)

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.

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.

Applies to