public class CreateUsagePlanRequest extends AbstractModel
Constructor and Description |
---|
CreateUsagePlanRequest() |
CreateUsagePlanRequest(CreateUsagePlanRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getMaxRequestNum()
Get 请求配额总数,取值范围为-1或者[1, 99999999],默认为-1,表示不开启。
|
Long |
getMaxRequestNumPreSec()
Get 每秒请求限制数,取值范围为-1或者[1, 2000],默认-1,表示不开启。
|
String |
getUsagePlanDesc()
Get 用户自定义的使用计划描述。
|
String |
getUsagePlanName()
Get 用户自定义的使用计划名称。
|
void |
setMaxRequestNum(Long MaxRequestNum)
Set 请求配额总数,取值范围为-1或者[1, 99999999],默认为-1,表示不开启。
|
void |
setMaxRequestNumPreSec(Long MaxRequestNumPreSec)
Set 每秒请求限制数,取值范围为-1或者[1, 2000],默认-1,表示不开启。
|
void |
setUsagePlanDesc(String UsagePlanDesc)
Set 用户自定义的使用计划描述。
|
void |
setUsagePlanName(String UsagePlanName)
Set 用户自定义的使用计划名称。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateUsagePlanRequest()
public CreateUsagePlanRequest(CreateUsagePlanRequest source)
public String getUsagePlanName()
public void setUsagePlanName(String UsagePlanName)
UsagePlanName
- 用户自定义的使用计划名称。public String getUsagePlanDesc()
public void setUsagePlanDesc(String UsagePlanDesc)
UsagePlanDesc
- 用户自定义的使用计划描述。public Long getMaxRequestNum()
public void setMaxRequestNum(Long MaxRequestNum)
MaxRequestNum
- 请求配额总数,取值范围为-1或者[1, 99999999],默认为-1,表示不开启。public Long getMaxRequestNumPreSec()
public void setMaxRequestNumPreSec(Long MaxRequestNumPreSec)
MaxRequestNumPreSec
- 每秒请求限制数,取值范围为-1或者[1, 2000],默认-1,表示不开启。Copyright © 2022. All rights reserved.