Class ApplicationGatewayFirewallRuleSet


  • public final class ApplicationGatewayFirewallRuleSet
    extends com.azure.core.management.Resource
    A web application firewall rule set.
    • Constructor Detail

      • ApplicationGatewayFirewallRuleSet

        public ApplicationGatewayFirewallRuleSet()
    • Method Detail

      • id

        public String id()
        Get the id property: Resource ID.
        Overrides:
        id in class com.azure.core.management.ProxyResource
        Returns:
        the id value.
      • withId

        public ApplicationGatewayFirewallRuleSet withId​(String id)
        Set the id property: Resource ID.
        Parameters:
        id - the id value to set.
        Returns:
        the ApplicationGatewayFirewallRuleSet object itself.
      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: The provisioning state of the web application firewall rule set.
        Returns:
        the provisioningState value.
      • ruleSetType

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

        public ApplicationGatewayFirewallRuleSet 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 ApplicationGatewayFirewallRuleSet 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 ApplicationGatewayFirewallRuleSet 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 ApplicationGatewayFirewallRuleSet object itself.
      • validate

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