Class RulesEngineInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.frontdoor.fluent.models.RulesEngineInner

public final class RulesEngineInner extends com.azure.core.management.ProxyResource
A rules engine configuration containing a list of rules that will run to modify the runtime behavior of the request and response.
  • Constructor Details

    • RulesEngineInner

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

    • resourceState

      public FrontDoorResourceState resourceState()
      Get the resourceState property: Resource status of the Front Door or Front Door SubResource.

      Resource status.

      Returns:
      the resourceState value.
    • rules

      public List<RulesEngineRule> rules()
      Get the rules property: A list of rules that define a particular Rules Engine Configuration.
      Returns:
      the rules value.
    • withRules

      public RulesEngineInner withRules(List<RulesEngineRule> rules)
      Set the rules property: A list of rules that define a particular Rules Engine Configuration.
      Parameters:
      rules - the rules value to set.
      Returns:
      the RulesEngineInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.