public class ModifyTlsConfigRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
config
The details of the TLS policy.
|
String |
domain
The domain name of the website.
|
String |
resourceGroupId
The ID of the resource group to which the instance belongs in Resource Management.
|
| 构造器和说明 |
|---|
ModifyTlsConfigRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ModifyTlsConfigRequest |
build(Map<String,?> map) |
String |
getConfig() |
String |
getDomain() |
String |
getResourceGroupId() |
ModifyTlsConfigRequest |
setConfig(String config) |
ModifyTlsConfigRequest |
setDomain(String domain) |
ModifyTlsConfigRequest |
setResourceGroupId(String resourceGroupId) |
@NameInMap(value="Config") public 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"}
@NameInMap(value="Domain") public 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
@NameInMap(value="ResourceGroupId") public 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 static ModifyTlsConfigRequest build(Map<String,?> map) throws Exception
Exceptionpublic ModifyTlsConfigRequest setConfig(String config)
public String getConfig()
public ModifyTlsConfigRequest setDomain(String domain)
public String getDomain()
public ModifyTlsConfigRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
Copyright © 2026. All rights reserved.