Class RulesEngineAction

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

public final class RulesEngineAction extends Object
One or more actions that will execute, modifying the request and/or response.
  • Constructor Details

    • RulesEngineAction

      public RulesEngineAction()
      Creates an instance of RulesEngineAction class.
  • Method Details

    • requestHeaderActions

      public List<HeaderAction> 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

      public RulesEngineAction withRequestHeaderActions(List<HeaderAction> 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.
    • responseHeaderActions

      public List<HeaderAction> 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

      public RulesEngineAction withResponseHeaderActions(List<HeaderAction> 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.
    • routeConfigurationOverride

      public RouteConfiguration 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.