Class QuotaLimit


  • public final class QuotaLimit
    extends Object
    The QuotaLimit model.
    • Constructor Detail

      • QuotaLimit

        public QuotaLimit()
    • Method Detail

      • count

        public Float count()
        Get the count property: The count property.
        Returns:
        the count value.
      • withCount

        public QuotaLimit withCount​(Float count)
        Set the count property: The count property.
        Parameters:
        count - the count value to set.
        Returns:
        the QuotaLimit object itself.
      • renewalPeriod

        public Float renewalPeriod()
        Get the renewalPeriod property: The renewalPeriod property.
        Returns:
        the renewalPeriod value.
      • withRenewalPeriod

        public QuotaLimit withRenewalPeriod​(Float renewalPeriod)
        Set the renewalPeriod property: The renewalPeriod property.
        Parameters:
        renewalPeriod - the renewalPeriod value to set.
        Returns:
        the QuotaLimit object itself.
      • rules

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

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

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