Class ApplicationGatewayRewriteRule


  • public final class ApplicationGatewayRewriteRule
    extends Object
    Rewrite rule of an application gateway.
    • Constructor Detail

      • ApplicationGatewayRewriteRule

        public ApplicationGatewayRewriteRule()
    • Method Detail

      • name

        public String name()
        Get the name property: Name of the rewrite rule that is unique within an Application Gateway.
        Returns:
        the name value.
      • withName

        public ApplicationGatewayRewriteRule withName​(String name)
        Set the name property: Name of the rewrite rule that is unique within an Application Gateway.
        Parameters:
        name - the name value to set.
        Returns:
        the ApplicationGatewayRewriteRule object itself.
      • ruleSequence

        public Integer ruleSequence()
        Get the ruleSequence property: Rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet.
        Returns:
        the ruleSequence value.
      • withRuleSequence

        public ApplicationGatewayRewriteRule withRuleSequence​(Integer ruleSequence)
        Set the ruleSequence property: Rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet.
        Parameters:
        ruleSequence - the ruleSequence value to set.
        Returns:
        the ApplicationGatewayRewriteRule object itself.
      • validate

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