Class Ratelimit

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class Ratelimit
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Ratelimit.
    • Method Detail

      • newBuilder

        public Ratelimit.Builder newBuilder()
        New builder.
        Returns:
        a Ratelimit builder
      • characteristics

        public List<String> characteristics()
        Gets the characteristics. The set of parameters that define how rate for this rule is tracked.
        Returns:
        the characteristics
      • countingExpression

        public String countingExpression()
        Gets the countingExpression. Expression that specifies the criteria you are matching traffic on.
        Returns:
        the countingExpression
      • mitigationTimeout

        public Long mitigationTimeout()
        Gets the mitigationTimeout. Once the rate is reached, the rate limiting rule blocks further requests for the period of time defined in this field.
        Returns:
        the mitigationTimeout
      • period

        public Long period()
        Gets the period. The period of time to consider (in seconds) when evaluating the rate.
        Returns:
        the period
      • requestsPerPeriod

        public Long requestsPerPeriod()
        Gets the requestsPerPeriod. The number of requests over the period of time that will trigger the rate limiting rule.
        Returns:
        the requestsPerPeriod