Class RateLimitRuleList


  • public final class RateLimitRuleList
    extends Object
    Defines contents of rate limit rules.
    • Constructor Detail

      • RateLimitRuleList

        public RateLimitRuleList()
    • Method Detail

      • rules

        public List<RateLimitRule> rules()
        Get the rules property: List of rules.
        Returns:
        the rules value.
      • withRules

        public RateLimitRuleList withRules​(List<RateLimitRule> rules)
        Set the rules property: List of rules.
        Parameters:
        rules - the rules value to set.
        Returns:
        the RateLimitRuleList object itself.
      • validate

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