public class CreateRequestThrottlingPolicyV2Response extends SdkResponse
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateRequestThrottlingPolicyV2Response.IsIncluSpecialThrottleEnum
是否包含特殊流控配置 - 1:包含 - 2:不包含
|
static class |
CreateRequestThrottlingPolicyV2Response.TimeUnitEnum
流控的时间单位
|
static class |
CreateRequestThrottlingPolicyV2Response.TypeEnum
流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。
|
| Constructor and Description |
|---|
CreateRequestThrottlingPolicyV2Response() |
getHttpStatusCode, setHttpStatusCodepublic CreateRequestThrottlingPolicyV2Response()
public CreateRequestThrottlingPolicyV2Response withAppCallLimits(Integer appCallLimits)
public Integer getAppCallLimits()
public void setAppCallLimits(Integer appCallLimits)
public CreateRequestThrottlingPolicyV2Response withName(String name)
public String getName()
public void setName(String name)
public CreateRequestThrottlingPolicyV2Response withTimeUnit(CreateRequestThrottlingPolicyV2Response.TimeUnitEnum timeUnit)
public CreateRequestThrottlingPolicyV2Response.TimeUnitEnum getTimeUnit()
public void setTimeUnit(CreateRequestThrottlingPolicyV2Response.TimeUnitEnum timeUnit)
public CreateRequestThrottlingPolicyV2Response withRemark(String remark)
public String getRemark()
public void setRemark(String remark)
public CreateRequestThrottlingPolicyV2Response withApiCallLimits(Integer apiCallLimits)
public Integer getApiCallLimits()
public void setApiCallLimits(Integer apiCallLimits)
public CreateRequestThrottlingPolicyV2Response withType(CreateRequestThrottlingPolicyV2Response.TypeEnum type)
public CreateRequestThrottlingPolicyV2Response.TypeEnum getType()
public void setType(CreateRequestThrottlingPolicyV2Response.TypeEnum type)
public CreateRequestThrottlingPolicyV2Response withEnableAdaptiveControl(String enableAdaptiveControl)
public String getEnableAdaptiveControl()
public void setEnableAdaptiveControl(String enableAdaptiveControl)
public CreateRequestThrottlingPolicyV2Response withUserCallLimits(Integer userCallLimits)
public Integer getUserCallLimits()
public void setUserCallLimits(Integer userCallLimits)
public CreateRequestThrottlingPolicyV2Response withTimeInterval(Integer timeInterval)
public Integer getTimeInterval()
public void setTimeInterval(Integer timeInterval)
public CreateRequestThrottlingPolicyV2Response withIpCallLimits(Integer ipCallLimits)
public Integer getIpCallLimits()
public void setIpCallLimits(Integer ipCallLimits)
public CreateRequestThrottlingPolicyV2Response withId(String id)
public String getId()
public void setId(String id)
public CreateRequestThrottlingPolicyV2Response withBindNum(Integer bindNum)
public Integer getBindNum()
public void setBindNum(Integer bindNum)
public CreateRequestThrottlingPolicyV2Response withIsIncluSpecialThrottle(CreateRequestThrottlingPolicyV2Response.IsIncluSpecialThrottleEnum isIncluSpecialThrottle)
public CreateRequestThrottlingPolicyV2Response.IsIncluSpecialThrottleEnum getIsIncluSpecialThrottle()
public void setIsIncluSpecialThrottle(CreateRequestThrottlingPolicyV2Response.IsIncluSpecialThrottleEnum isIncluSpecialThrottle)
public CreateRequestThrottlingPolicyV2Response withCreateTime(java.time.OffsetDateTime createTime)
public java.time.OffsetDateTime getCreateTime()
public void setCreateTime(java.time.OffsetDateTime createTime)
Copyright © 2022. All rights reserved.