public class UpdateListenerAttributeRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
alpnEnabled
Specifies whether to enable Application-Layer Protocol Negotiation (ALPN).
|
String |
alpnPolicy
The ALPN policy.
|
List<String> |
caCertificateIds |
Boolean |
caEnabled
Specifies whether to enable mutual authentication.
|
List<String> |
certificateIds |
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
Integer |
cps
The maximum number of connections that can be created per second on the NLB instance.
|
Boolean |
dryRun
Specifies whether only to precheck the request.
|
Integer |
idleTimeout
The timeout period of an idle connection.
|
String |
listenerDescription
Enter a name for the listener.
|
String |
listenerId
The ID of the listener.
|
Integer |
mss
The size of the largest TCP segment.
|
Boolean |
proxyProtocolEnabled
Specifies whether to use the Proxy protocol to pass client IP addresses to backend servers.
|
String |
regionId
The ID of the region where the NLB instance is deployed.
|
Boolean |
secSensorEnabled
Specifies whether to enable fine-grained monitoring.
|
String |
securityPolicyId
The ID of the security policy.
|
String |
serverGroupId
The ID of the server group.
|
| 构造器和说明 |
|---|
UpdateListenerAttributeRequest() |
@NameInMap(value="AlpnEnabled") public Boolean alpnEnabled
Specifies whether to enable Application-Layer Protocol Negotiation (ALPN). Valid values:
* **true**: yes
* **false**: no
@NameInMap(value="AlpnPolicy") public String alpnPolicy
The ALPN policy.
@NameInMap(value="CaEnabled") public Boolean caEnabled
Specifies whether to enable mutual authentication. Valid values:
* **true**: yes
* **false** (default): no
@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 value, but you must ensure that it is unique among all requests. ClientToken can contain only ASCII characters.
> If you do not set this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** of each API request may be different.
@NameInMap(value="Cps") public Integer cps
The maximum number of connections that can be created per second on the NLB instance. Valid values: **0** to **1000000**. **0** specifies that the number of connections is unlimited.
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether only to precheck the request. Valid values:
* **true**: prechecks the request but does not update the configurations of the listener. The system prechecks the required parameters, request syntax, and limits. If the request fails the precheck, an error message is returned. If the request passes the precheck, the `DryRunOperation` error code is returned.
* **false** (default): sends the request. If the request passes the precheck, an HTTP 2xx status code is returned and the operation is performed.
@NameInMap(value="IdleTimeout") public Integer idleTimeout
The timeout period of an idle connection. Unit: seconds. Valid values: **1** to **900**.
@NameInMap(value="ListenerDescription") public String listenerDescription
Enter a name for the listener.
The description must be 2 to 256 characters in length, and can contain letters, digits, commas (,), periods (.), semicolons (;), forward slashes (/), at signs (@), underscores (\_), and hyphens (-).
@NameInMap(value="ListenerId") public String listenerId
The ID of the listener.
@NameInMap(value="Mss") public Integer mss
The size of the largest TCP segment. Unit: bytes. Valid values: **0** to **1500**. **0** specifies that the maximum segment size remains unchanged. This parameter is supported only by listeners that use SSL over TCP.
@NameInMap(value="ProxyProtocolEnabled") public Boolean proxyProtocolEnabled
Specifies whether to use the Proxy protocol to pass client IP addresses to backend servers. Valid values:
* **true**: yes
* **false**: no
@NameInMap(value="RegionId") public String regionId
The ID of the region where the NLB instance is deployed.
You can call the [DescribeRegions](~~443657~~) operation to query the most recent region list.
@NameInMap(value="SecSensorEnabled") public Boolean secSensorEnabled
Specifies whether to enable fine-grained monitoring. Valid values:
* **true**: yes
* **false**: no
@NameInMap(value="SecurityPolicyId") public String securityPolicyId
The ID of the security policy.
> This parameter takes effect only for listeners that use SSL over TCP.
@NameInMap(value="ServerGroupId") public String serverGroupId
The ID of the server group.
public static UpdateListenerAttributeRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateListenerAttributeRequest setAlpnEnabled(Boolean alpnEnabled)
public Boolean getAlpnEnabled()
public UpdateListenerAttributeRequest setAlpnPolicy(String alpnPolicy)
public String getAlpnPolicy()
public UpdateListenerAttributeRequest setCaCertificateIds(List<String> caCertificateIds)
public UpdateListenerAttributeRequest setCaEnabled(Boolean caEnabled)
public Boolean getCaEnabled()
public UpdateListenerAttributeRequest setCertificateIds(List<String> certificateIds)
public UpdateListenerAttributeRequest setClientToken(String clientToken)
public String getClientToken()
public UpdateListenerAttributeRequest setCps(Integer cps)
public Integer getCps()
public UpdateListenerAttributeRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public UpdateListenerAttributeRequest setIdleTimeout(Integer idleTimeout)
public Integer getIdleTimeout()
public UpdateListenerAttributeRequest setListenerDescription(String listenerDescription)
public String getListenerDescription()
public UpdateListenerAttributeRequest setListenerId(String listenerId)
public String getListenerId()
public UpdateListenerAttributeRequest setMss(Integer mss)
public Integer getMss()
public UpdateListenerAttributeRequest setProxyProtocolEnabled(Boolean proxyProtocolEnabled)
public Boolean getProxyProtocolEnabled()
public UpdateListenerAttributeRequest setRegionId(String regionId)
public String getRegionId()
public UpdateListenerAttributeRequest setSecSensorEnabled(Boolean secSensorEnabled)
public Boolean getSecSensorEnabled()
public UpdateListenerAttributeRequest setSecurityPolicyId(String securityPolicyId)
public String getSecurityPolicyId()
public UpdateListenerAttributeRequest setServerGroupId(String serverGroupId)
public String getServerGroupId()
Copyright © 2023. All rights reserved.