public class CreatePluginRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CreatePluginRequest.CreatePluginRequestTag |
| 限定符和类型 | 字段和说明 |
|---|---|
String |
description
The description of the plug-in.
|
String |
pluginData
The plug-in definition statement, which can be in JSON or YAML format.
|
String |
pluginName
The name of the plug-in.
|
String |
pluginType
The type of the plug-in.
|
String |
securityToken |
List<CreatePluginRequest.CreatePluginRequestTag> |
tag
The tag of objects that match the rule.
|
| 构造器和说明 |
|---|
CreatePluginRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreatePluginRequest |
build(Map<String,?> map) |
String |
getDescription() |
String |
getPluginData() |
String |
getPluginName() |
String |
getPluginType() |
String |
getSecurityToken() |
List<CreatePluginRequest.CreatePluginRequestTag> |
getTag() |
CreatePluginRequest |
setDescription(String description) |
CreatePluginRequest |
setPluginData(String pluginData) |
CreatePluginRequest |
setPluginName(String pluginName) |
CreatePluginRequest |
setPluginType(String pluginType) |
CreatePluginRequest |
setSecurityToken(String securityToken) |
CreatePluginRequest |
setTag(List<CreatePluginRequest.CreatePluginRequestTag> tag) |
@NameInMap(value="Description") public String description
The description of the plug-in. The description can contain a maximum of 200 characters in length.
@NameInMap(value="PluginData") public String pluginData
The plug-in definition statement, which can be in JSON or YAML format.
@NameInMap(value="PluginName") public String pluginName
The name of the plug-in. The name must be 4 to 50 characters in length and can contain letters, digits, and underscores (\_). However, it cannot start with an underscore.
@NameInMap(value="PluginType") public String pluginType
The type of the plug-in. Valid values:
* **ipControl: IP address-based access control**
* **trafficControl: throttling**
* **backendSignature: backend signature**
* **jwtAuth** :JWT (OpenId Connect) authentication
* **cors** :cross-origin resource sharing (CORS)
* **caching**
@NameInMap(value="SecurityToken") public String securityToken
@NameInMap(value="Tag") public List<CreatePluginRequest.CreatePluginRequestTag> tag
The tag of objects that match the rule. You can specify multiple tags.
public static CreatePluginRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreatePluginRequest setDescription(String description)
public String getDescription()
public CreatePluginRequest setPluginData(String pluginData)
public String getPluginData()
public CreatePluginRequest setPluginName(String pluginName)
public String getPluginName()
public CreatePluginRequest setPluginType(String pluginType)
public String getPluginType()
public CreatePluginRequest setSecurityToken(String securityToken)
public String getSecurityToken()
public CreatePluginRequest setTag(List<CreatePluginRequest.CreatePluginRequestTag> tag)
public List<CreatePluginRequest.CreatePluginRequestTag> getTag()
Copyright © 2023. All rights reserved.