public static class CreateAScriptsRequest.CreateAScriptsRequestAScripts
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
AScriptName
The name of the AScript rule.
|
Boolean |
enabled
Specifies whether to enable the AScript rule.
|
String |
scriptContent
The content of the AScript rule.
|
| 构造器和说明 |
|---|
CreateAScriptsRequestAScripts() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateAScriptsRequest.CreateAScriptsRequestAScripts |
build(Map<String,?> map) |
String |
getAScriptName() |
Boolean |
getEnabled() |
String |
getScriptContent() |
CreateAScriptsRequest.CreateAScriptsRequestAScripts |
setAScriptName(String AScriptName) |
CreateAScriptsRequest.CreateAScriptsRequestAScripts |
setEnabled(Boolean enabled) |
CreateAScriptsRequest.CreateAScriptsRequestAScripts |
setScriptContent(String scriptContent) |
@NameInMap(value="AScriptName") public String AScriptName
The name of the AScript rule.
The name must be 2 to 128 characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
This parameter is required.
@NameInMap(value="Enabled") public Boolean enabled
Specifies whether to enable the AScript rule. Valid values:
* **true**
* **false** (default)
@NameInMap(value="ScriptContent") public String scriptContent
The content of the AScript rule.
This parameter is required.
public static CreateAScriptsRequest.CreateAScriptsRequestAScripts build(Map<String,?> map) throws Exception
Exceptionpublic CreateAScriptsRequest.CreateAScriptsRequestAScripts setAScriptName(String AScriptName)
public String getAScriptName()
public CreateAScriptsRequest.CreateAScriptsRequestAScripts setEnabled(Boolean enabled)
public Boolean getEnabled()
public CreateAScriptsRequest.CreateAScriptsRequestAScripts setScriptContent(String scriptContent)
public String getScriptContent()
Copyright © 2024. All rights reserved.