public class AppQuotaCreate extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AppQuotaCreate.TimeUnitEnum
限定时间单位:SECOND:秒、MINUTE:分、HOURE:时、DAY:天
|
| Constructor and Description |
|---|
AppQuotaCreate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getCallLimits()
客户端配额的访问次数限制
|
String |
getName()
配额名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头
|
String |
getRemark()
参数说明和描述。 不支持<,>字符
|
String |
getResetTime()
首次配额重置时间点,不配置默认为首次调用时间计算
|
Integer |
getTimeInterval()
流控的限定时间值
|
AppQuotaCreate.TimeUnitEnum |
getTimeUnit()
限定时间单位:SECOND:秒、MINUTE:分、HOURE:时、DAY:天
|
int |
hashCode() |
void |
setCallLimits(Integer callLimits) |
void |
setName(String name) |
void |
setRemark(String remark) |
void |
setResetTime(String resetTime) |
void |
setTimeInterval(Integer timeInterval) |
void |
setTimeUnit(AppQuotaCreate.TimeUnitEnum timeUnit) |
String |
toString() |
AppQuotaCreate |
withCallLimits(Integer callLimits) |
AppQuotaCreate |
withName(String name) |
AppQuotaCreate |
withRemark(String remark) |
AppQuotaCreate |
withResetTime(String resetTime) |
AppQuotaCreate |
withTimeInterval(Integer timeInterval) |
AppQuotaCreate |
withTimeUnit(AppQuotaCreate.TimeUnitEnum timeUnit) |
public AppQuotaCreate withName(String name)
public String getName()
public void setName(String name)
public AppQuotaCreate withCallLimits(Integer callLimits)
public Integer getCallLimits()
public void setCallLimits(Integer callLimits)
public AppQuotaCreate withTimeUnit(AppQuotaCreate.TimeUnitEnum timeUnit)
public AppQuotaCreate.TimeUnitEnum getTimeUnit()
public void setTimeUnit(AppQuotaCreate.TimeUnitEnum timeUnit)
public AppQuotaCreate withTimeInterval(Integer timeInterval)
public Integer getTimeInterval()
public void setTimeInterval(Integer timeInterval)
public AppQuotaCreate withResetTime(String resetTime)
public String getResetTime()
public void setResetTime(String resetTime)
public AppQuotaCreate withRemark(String remark)
public String getRemark()
public void setRemark(String remark)
Copyright © 2022. All rights reserved.