Class Ratelimit
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.rulesets.v1.model.Ratelimit
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Ratelimit extends com.ibm.cloud.sdk.core.service.model.GenericModelRatelimit.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRatelimit.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>characteristics()Gets the characteristics.StringcountingExpression()Gets the countingExpression.LongmitigationTimeout()Gets the mitigationTimeout.Ratelimit.BuildernewBuilder()New builder.Longperiod()Gets the period.LongrequestsPerPeriod()Gets the requestsPerPeriod.
-
-
-
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
-
-