public class ModifyUsagePlanRequest extends AbstractModel
Constructor and Description |
---|
ModifyUsagePlanRequest() |
ModifyUsagePlanRequest(ModifyUsagePlanRequest 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 Total number of requests allowed.
|
Long |
getMaxRequestNumPreSec()
Get Limit of requests per second.
|
String |
getUsagePlanDesc()
Get Custom usage plan description after modification.
|
String |
getUsagePlanId()
Get Unique usage plan ID.
|
String |
getUsagePlanName()
Get Custom usage plan name after modification.
|
void |
setMaxRequestNum(Long MaxRequestNum)
Set Total number of requests allowed.
|
void |
setMaxRequestNumPreSec(Long MaxRequestNumPreSec)
Set Limit of requests per second.
|
void |
setUsagePlanDesc(String UsagePlanDesc)
Set Custom usage plan description after modification.
|
void |
setUsagePlanId(String UsagePlanId)
Set Unique usage plan ID.
|
void |
setUsagePlanName(String UsagePlanName)
Set Custom usage plan name after modification.
|
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 ModifyUsagePlanRequest()
public ModifyUsagePlanRequest(ModifyUsagePlanRequest source)
public String getUsagePlanId()
public void setUsagePlanId(String UsagePlanId)
UsagePlanId
- Unique usage plan ID.public String getUsagePlanName()
public void setUsagePlanName(String UsagePlanName)
UsagePlanName
- Custom usage plan name after modification.public String getUsagePlanDesc()
public void setUsagePlanDesc(String UsagePlanDesc)
UsagePlanDesc
- Custom usage plan description after modification.public Long getMaxRequestNum()
public void setMaxRequestNum(Long MaxRequestNum)
MaxRequestNum
- Total number of requests allowed. Valid values: -1, [1,99999999]. The default value is `-1`, which indicates no limit.public Long getMaxRequestNumPreSec()
public void setMaxRequestNumPreSec(Long MaxRequestNumPreSec)
MaxRequestNumPreSec
- Limit of requests per second. Valid values: -1, [1,2000]. The default value is `-1`, which indicates no limit.Copyright © 2023. All rights reserved.