public static final class CreateTLSCipherPolicyRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateTLSCipherPolicyRequest |
build() |
CreateTLSCipherPolicyRequest.Builder |
ciphers(List<String> ciphers)
The supported cipher suites, which are determined by the TLS protocol version.
|
CreateTLSCipherPolicyRequest.Builder |
name(String name)
The name of the TLS policy.
|
CreateTLSCipherPolicyRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
CreateTLSCipherPolicyRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
CreateTLSCipherPolicyRequest.Builder |
regionId(String regionId)
The ID of the region where the Server Load Balancer (SLB) instance is created.
|
CreateTLSCipherPolicyRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
CreateTLSCipherPolicyRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
CreateTLSCipherPolicyRequest.Builder |
TLSVersions(List<String> TLSVersions)
The version of the TLS protocol.
|
public CreateTLSCipherPolicyRequest.Builder ciphers(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:
TLS 1.2 supports the following cipher suites:
TLS 1.3 supports the following cipher suites:
This parameter is required.
example:AES256-SHA256
public CreateTLSCipherPolicyRequest.Builder name(String name)
The name of the TLS policy. The name must be 2 to 200 characters in length, and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The name must start with a letter.
This parameter is required.
example:TLSPolicy-test
public CreateTLSCipherPolicyRequest.Builder ownerAccount(String ownerAccount)
public CreateTLSCipherPolicyRequest.Builder ownerId(Long ownerId)
public CreateTLSCipherPolicyRequest.Builder regionId(String regionId)
The ID of the region where the Server Load Balancer (SLB) instance is created.
You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
public CreateTLSCipherPolicyRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public CreateTLSCipherPolicyRequest.Builder resourceOwnerId(Long resourceOwnerId)
public CreateTLSCipherPolicyRequest.Builder TLSVersions(List<String> TLSVersions)
The version of the TLS protocol. Valid values: TLSv1.0, TLSv1.1, TLSv1.2, and TLSv1.3. You can specify at most four TLS versions.
This parameter is required.
example:TLSv1.0
public CreateTLSCipherPolicyRequest build()
Copyright © 2026. All rights reserved.