Class RateLimitRuleList
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.RateLimitRuleList
-
public final class RateLimitRuleList extends Object
Defines contents of rate limit rules.
-
-
Constructor Summary
Constructors Constructor Description RateLimitRuleList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RateLimitRule>rules()Get the rules property: List of rules.voidvalidate()Validates the instance.RateLimitRuleListwithRules(List<RateLimitRule> rules)Set the rules property: List of rules.
-
-
-
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.
-
-