Class UpdateRateLimitOptions

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

    public class UpdateRateLimitOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The updateRateLimit options.
    • Method Detail

      • rateLimitIdentifier

        public String rateLimitIdentifier()
        Gets the rateLimitIdentifier. Identifier of rate limit.
        Returns:
        the rateLimitIdentifier
      • disabled

        public Boolean disabled()
        Gets the disabled. Whether this ratelimit is currently disabled.
        Returns:
        the disabled
      • description

        public String description()
        Gets the description. A note that you can use to describe the reason for a rate limit.
        Returns:
        the description
      • bypass

        public List<RatelimitInputBypassItem> bypass()
        Gets the bypass. Criteria that would allow the rate limit to be bypassed, for example to express that you shouldn't apply a rate limit to a given set of URLs.
        Returns:
        the bypass
      • threshold

        public Long threshold()
        Gets the threshold. The threshold that triggers the rate limit mitigations, combine with period. i.e. threshold per period.
        Returns:
        the threshold
      • period

        public Long period()
        Gets the period. The time in seconds to count matching traffic. If the count exceeds threshold within this period the action will be performed.
        Returns:
        the period
      • correlate

        public RatelimitInputCorrelate correlate()
        Gets the correlate. Enable NAT based rate limits.
        Returns:
        the correlate
      • match

        public RatelimitInputMatch match()
        Gets the match. Determines which traffic the rate limit counts towards the threshold. Needs to be one of "request" or "response" objects.
        Returns:
        the match