public class AddTrafficSpecialControlRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
securityToken |
String |
specialKey
The ID of the app or Alibaba Cloud account.
|
String |
specialType
The type of the special throttling policy.
|
String |
trafficControlId
The ID of the specified throttling policy.
|
Integer |
trafficValue
The special throttling value.
|
| 构造器和说明 |
|---|
AddTrafficSpecialControlRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static AddTrafficSpecialControlRequest |
build(Map<String,?> map) |
String |
getSecurityToken() |
String |
getSpecialKey() |
String |
getSpecialType() |
String |
getTrafficControlId() |
Integer |
getTrafficValue() |
AddTrafficSpecialControlRequest |
setSecurityToken(String securityToken) |
AddTrafficSpecialControlRequest |
setSpecialKey(String specialKey) |
AddTrafficSpecialControlRequest |
setSpecialType(String specialType) |
AddTrafficSpecialControlRequest |
setTrafficControlId(String trafficControlId) |
AddTrafficSpecialControlRequest |
setTrafficValue(Integer trafficValue) |
@NameInMap(value="SecurityToken") public String securityToken
@NameInMap(value="SpecialKey") public String specialKey
The ID of the app or Alibaba Cloud account. Specify this parameter based on the value of the **SpecialType** parameter. You can view your account ID on the [Account Management](https://account.console.aliyun.com/?spm=a2c4g.11186623.2.15.3f053654YpMPwo#/secure) page.
@NameInMap(value="SpecialType") public String specialType
The type of the special throttling policy. Valid values:
* **APP**
* **USER**
@NameInMap(value="TrafficControlId") public String trafficControlId
The ID of the specified throttling policy.
@NameInMap(value="TrafficValue") public Integer trafficValue
The special throttling value.
public static AddTrafficSpecialControlRequest build(Map<String,?> map) throws Exception
Exceptionpublic AddTrafficSpecialControlRequest setSecurityToken(String securityToken)
public String getSecurityToken()
public AddTrafficSpecialControlRequest setSpecialKey(String specialKey)
public String getSpecialKey()
public AddTrafficSpecialControlRequest setSpecialType(String specialType)
public String getSpecialType()
public AddTrafficSpecialControlRequest setTrafficControlId(String trafficControlId)
public String getTrafficControlId()
public AddTrafficSpecialControlRequest setTrafficValue(Integer trafficValue)
public Integer getTrafficValue()
Copyright © 2023. All rights reserved.