Class ManagedRuleDefinition

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

public final class ManagedRuleDefinition extends Object
Describes a managed rule definition.
  • Constructor Details

    • ManagedRuleDefinition

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

    • ruleId

      public String ruleId()
      Get the ruleId property: Identifier for the managed rule.
      Returns:
      the ruleId value.
    • defaultState

      public ManagedRuleEnabledState defaultState()
      Get the defaultState property: Describes the default state for the managed rule.
      Returns:
      the defaultState value.
    • defaultAction

      public ActionType defaultAction()
      Get the defaultAction property: Describes the default action to be applied when the managed rule matches.
      Returns:
      the defaultAction value.
    • description

      public String description()
      Get the description property: Describes the functionality of the managed rule.
      Returns:
      the description value.
    • validate

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