public class CreateSecurityPolicyRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CreateSecurityPolicyRequest.CreateSecurityPolicyRequestTag |
| 限定符和类型 | 字段和说明 |
|---|---|
List<String> |
ciphers
The supported cipher suites.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun
Specifies whether to perform only a dry run, without performing the actual request.
|
String |
resourceGroupId
The resource group ID.
|
String |
securityPolicyName
The name of the security policy.
|
List<CreateSecurityPolicyRequest.CreateSecurityPolicyRequestTag> |
tag
The tags.
|
List<String> |
TLSVersions
The supported Transport Layer Security (TLS) protocol versions.
|
| 构造器和说明 |
|---|
CreateSecurityPolicyRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateSecurityPolicyRequest |
build(Map<String,?> map) |
List<String> |
getCiphers() |
String |
getClientToken() |
Boolean |
getDryRun() |
String |
getResourceGroupId() |
String |
getSecurityPolicyName() |
List<CreateSecurityPolicyRequest.CreateSecurityPolicyRequestTag> |
getTag() |
List<String> |
getTLSVersions() |
CreateSecurityPolicyRequest |
setCiphers(List<String> ciphers) |
CreateSecurityPolicyRequest |
setClientToken(String clientToken) |
CreateSecurityPolicyRequest |
setDryRun(Boolean dryRun) |
CreateSecurityPolicyRequest |
setResourceGroupId(String resourceGroupId) |
CreateSecurityPolicyRequest |
setSecurityPolicyName(String securityPolicyName) |
CreateSecurityPolicyRequest |
setTag(List<CreateSecurityPolicyRequest.CreateSecurityPolicyRequestTag> tag) |
CreateSecurityPolicyRequest |
setTLSVersions(List<String> TLSVersions) |
@NameInMap(value="Ciphers") public List<String> ciphers
The supported cipher suites.
This parameter is required.
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length.
> If you do not specify this parameter, the system automatically uses the request ID as the client token. The request ID may be different for each request.
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
* **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
* **false**(default): performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The resource group ID.
@NameInMap(value="SecurityPolicyName") public String securityPolicyName
The name of the security policy.
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="TLSVersions") public List<String> TLSVersions
The supported Transport Layer Security (TLS) protocol versions.
This parameter is required.
@NameInMap(value="Tag") public List<CreateSecurityPolicyRequest.CreateSecurityPolicyRequestTag> tag
The tags.
public static CreateSecurityPolicyRequest build(Map<String,?> map) throws Exception
Exceptionpublic CreateSecurityPolicyRequest setCiphers(List<String> ciphers)
public CreateSecurityPolicyRequest setClientToken(String clientToken)
public String getClientToken()
public CreateSecurityPolicyRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public CreateSecurityPolicyRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public CreateSecurityPolicyRequest setSecurityPolicyName(String securityPolicyName)
public String getSecurityPolicyName()
public CreateSecurityPolicyRequest setTLSVersions(List<String> TLSVersions)
public CreateSecurityPolicyRequest setTag(List<CreateSecurityPolicyRequest.CreateSecurityPolicyRequestTag> tag)
public List<CreateSecurityPolicyRequest.CreateSecurityPolicyRequestTag> getTag()
Copyright © 2024. All rights reserved.