Class DefaultRuleSetPropertyFormat

java.lang.Object
com.azure.resourcemanager.network.fluent.models.DefaultRuleSetPropertyFormat

public final class DefaultRuleSetPropertyFormat extends Object
the default web application firewall rule set.
  • Constructor Details

    • DefaultRuleSetPropertyFormat

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

    • ruleSetType

      public String ruleSetType()
      Get the ruleSetType property: The type of the web application firewall rule set.
      Returns:
      the ruleSetType value.
    • withRuleSetType

      public DefaultRuleSetPropertyFormat withRuleSetType(String ruleSetType)
      Set the ruleSetType property: The type of the web application firewall rule set.
      Parameters:
      ruleSetType - the ruleSetType value to set.
      Returns:
      the DefaultRuleSetPropertyFormat object itself.
    • ruleSetVersion

      public String ruleSetVersion()
      Get the ruleSetVersion property: The version of the web application firewall rule set type.
      Returns:
      the ruleSetVersion value.
    • withRuleSetVersion

      public DefaultRuleSetPropertyFormat withRuleSetVersion(String ruleSetVersion)
      Set the ruleSetVersion property: The version of the web application firewall rule set type.
      Parameters:
      ruleSetVersion - the ruleSetVersion value to set.
      Returns:
      the DefaultRuleSetPropertyFormat object itself.
    • validate

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