public static final class ModifyTlsConfigRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyTlsConfigRequest |
build() |
ModifyTlsConfigRequest.Builder |
config(String config)
The details of the TLS policy.
|
ModifyTlsConfigRequest.Builder |
domain(String domain)
The domain name of the website.
|
ModifyTlsConfigRequest.Builder |
regionId(String regionId)
RegionId.
|
ModifyTlsConfigRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management.
|
public ModifyTlsConfigRequest.Builder regionId(String regionId)
public ModifyTlsConfigRequest.Builder config(String config)
The details of the TLS policy. The value is a JSON string that contains the following fields:
ssl_protocols: the version of TLS. This field is required. Data type: string. Valid values:
ssl_ciphers: the type of the cipher suite. This field is required. Data type: string. Valid values:
This parameter is required.
example:{"ssl_protocols":"tls1.0","ssl_ciphers":"all"}
public ModifyTlsConfigRequest.Builder domain(String domain)
The domain name of the website.
A forwarding rule must be configured for the domain name. You can call the DescribeDomains operation to query all domain names.
This parameter is required.
example:example.aliyundoc.com
public ModifyTlsConfigRequest.Builder resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group.
example:default
public ModifyTlsConfigRequest build()
Copyright © 2026. All rights reserved.