public class UpdateSecurityPolicyAttributeRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
List<String> |
ciphers
The supported cipher suites, which are determined by the TLS protocol version.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Boolean |
dryRun
Specifies whether to perform a dry run, without performing the actual request.
|
String |
regionId
The region ID of the NLB instance.
|
String |
securityPolicyId
The ID of the TLS security policy.
|
String |
securityPolicyName
The name of the security policy.
|
List<String> |
tlsVersions
The supported versions of the Transport Layer Security (TLS) protocol.
|
| 构造器和说明 |
|---|
UpdateSecurityPolicyAttributeRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpdateSecurityPolicyAttributeRequest |
build(Map<String,?> map) |
List<String> |
getCiphers() |
String |
getClientToken() |
Boolean |
getDryRun() |
String |
getRegionId() |
String |
getSecurityPolicyId() |
String |
getSecurityPolicyName() |
List<String> |
getTlsVersions() |
UpdateSecurityPolicyAttributeRequest |
setCiphers(List<String> ciphers) |
UpdateSecurityPolicyAttributeRequest |
setClientToken(String clientToken) |
UpdateSecurityPolicyAttributeRequest |
setDryRun(Boolean dryRun) |
UpdateSecurityPolicyAttributeRequest |
setRegionId(String regionId) |
UpdateSecurityPolicyAttributeRequest |
setSecurityPolicyId(String securityPolicyId) |
UpdateSecurityPolicyAttributeRequest |
setSecurityPolicyName(String securityPolicyName) |
UpdateSecurityPolicyAttributeRequest |
setTlsVersions(List<String> tlsVersions) |
@NameInMap(value="Ciphers") public List<String> ciphers
The supported cipher suites, which are determined by the TLS protocol version. You can specify at most 32 cipher suites.
TLS 1.0 and TLS 1.1 support the following cipher suites:
* **ECDHE-ECDSA-AES128-SHA**
* **ECDHE-ECDSA-AES256-SHA**
* **ECDHE-RSA-AES128-SHA**
* **ECDHE-RSA-AES256-SHA**
* **AES128-SHA**
* **AES256-SHA**
* **DES-CBC3-SHA**
TLS 1.2 supports the following cipher suites:
* **ECDHE-ECDSA-AES128-SHA**
* **ECDHE-ECDSA-AES256-SHA**
* **ECDHE-RSA-AES128-SHA**
* **ECDHE-RSA-AES256-SHA**
* **AES128-SHA**
* **AES256-SHA**
* **DES-CBC3-SHA**
* **ECDHE-ECDSA-AES128-GCM-SHA256**
* **ECDHE-ECDSA-AES256-GCM-SHA384**
* **ECDHE-ECDSA-AES128-SHA256**
* **ECDHE-ECDSA-AES256-SHA384**
* **ECDHE-RSA-AES128-GCM-SHA256**
* **ECDHE-RSA-AES256-GCM-SHA384**
* **ECDHE-RSA-AES128-SHA256**
* **ECDHE-RSA-AES256-SHA384**
* **AES128-GCM-SHA256**
* **AES256-GCM-SHA384**
* **AES128-SHA256**
* **AES256-SHA256**
TLS 1.3 supports the following cipher suites:
* **TLS_AES\_128\_GCM_SHA256**
* **TLS_AES\_256\_GCM_SHA384**
* **TLS_CHACHA20\_POLY1305\_SHA256**
* **TLS_AES\_128\_CCM_SHA256**
* **TLS_AES\_128\_CCM\_8\_SHA256**
@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.
> 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 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="RegionId") public String regionId
The region ID of the NLB instance.
You can call the [DescribeRegions](~~443657~~) operation to obtain the region ID.
@NameInMap(value="SecurityPolicyId") public String securityPolicyId
The ID of the TLS security policy.
@NameInMap(value="SecurityPolicyName") public String securityPolicyName
The name of the security policy.
The name must be 1 to 200 characters in length, and can contain letters, digits, periods (.), underscores (\_), and hyphens (-).
public static UpdateSecurityPolicyAttributeRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateSecurityPolicyAttributeRequest setCiphers(List<String> ciphers)
public UpdateSecurityPolicyAttributeRequest setClientToken(String clientToken)
public String getClientToken()
public UpdateSecurityPolicyAttributeRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public UpdateSecurityPolicyAttributeRequest setRegionId(String regionId)
public String getRegionId()
public UpdateSecurityPolicyAttributeRequest setSecurityPolicyId(String securityPolicyId)
public String getSecurityPolicyId()
public UpdateSecurityPolicyAttributeRequest setSecurityPolicyName(String securityPolicyName)
public String getSecurityPolicyName()
public UpdateSecurityPolicyAttributeRequest setTlsVersions(List<String> tlsVersions)
Copyright © 2023. All rights reserved.