public class GetListenerAttributeResponseBody
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
GetListenerAttributeResponseBody.GetListenerAttributeResponseBodyTags |
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
alpnEnabled
Indicates whether Application-Layer Protocol Negotiation (ALPN) is enabled.
|
String |
alpnPolicy
The ALPN policy.
|
List<String> |
caCertificateIds
The CA certificates.
|
Boolean |
caEnabled
Indicates whether mutual authentication is enabled.
|
List<String> |
certificateIds
The server certificates.
|
Integer |
cps
The maximum number of connections that can be created per second on the NLB instance.
|
String |
endPort
The last port in the listening port range.
|
Integer |
idleTimeout
The timeout period of an idle connection.
|
String |
listenerDescription
The name of the listener.
|
String |
listenerId
The ID of the listener.
|
Integer |
listenerPort
The listening port.
|
String |
listenerProtocol
The listening protocol.
|
String |
listenerStatus
The status of the listener.
|
String |
loadBalancerId
The ID of the NLB instance.
|
Integer |
mss
The size of the largest TCP segment.
|
Boolean |
proxyProtocolEnabled
Indicates whether the Proxy protocol is used to pass client IP addresses to backend servers.
|
String |
regionId
The ID of the region where the NLB instance is deployed.
|
String |
requestId
The ID of the request.
|
Boolean |
secSensorEnabled
Indicates whether fine-grained monitoring is enabled.
|
String |
securityPolicyId
The ID of the security policy.
|
String |
serverGroupId
The ID of the server group.
|
String |
startPort
The first port in the listening port range.
|
List<GetListenerAttributeResponseBody.GetListenerAttributeResponseBodyTags> |
tags
The tags.
|
| 构造器和说明 |
|---|
GetListenerAttributeResponseBody() |
@NameInMap(value="AlpnEnabled") public Boolean alpnEnabled
Indicates whether Application-Layer Protocol Negotiation (ALPN) is enabled. Valid values:
* **true**: yes
* **false**: no
@NameInMap(value="AlpnPolicy") public String alpnPolicy
The ALPN policy. Valid values:
* **HTTP1Only**
* **HTTP2Only**
* **HTTP2Preferred**
* **HTTP2Optional**
@NameInMap(value="CaCertificateIds") public List<String> caCertificateIds
The CA certificates. Only one CA certificate is supported.
> This parameter takes effect only for listeners that use SSL over TCP.
@NameInMap(value="CaEnabled") public Boolean caEnabled
Indicates whether mutual authentication is enabled. Valid values:
* **true**: yes
* **false**: no
@NameInMap(value="CertificateIds") public List<String> certificateIds
The server certificates. Only one server certificate is supported.
> This parameter takes effect only for listeners that use SSL over TCP.
@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="EndPort") public String endPort
The last port in the listening port range. Valid values: **0** to **65535**. The number of the last port must be smaller than that of the first port.
@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
The name of the listener.
The name 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="ListenerPort") public Integer listenerPort
The listening port. Valid values: **0** to **65535**. A value of **0** specifies all ports. If you set the value to **0**, you must also set the **StartPort** and **EndPort** parameters.
@NameInMap(value="ListenerProtocol") public String listenerProtocol
The listening protocol. Valid values: **TCP**, **UDP**, and **TCPSSL**.
@NameInMap(value="ListenerStatus") public String listenerStatus
The status of the listener. Valid values:
* **Provisioning**: The listener is being created.
* **Running**: The listener is running.
* **Configuring**: The listener is being configured.
* **Stopping**: The listener is being stopped.
* **Stopped**: The listener is stopped.
* **Starting**: The listener is being started.
* **Deleting**: The listener is being deleted.
* **Deleted**: The listener is deleted.
@NameInMap(value="LoadBalancerId") public String loadBalancerId
The ID of the NLB instance.
@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
Indicates whether the Proxy protocol is used 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.
@NameInMap(value="RequestId") public String requestId
The ID of the request.
@NameInMap(value="SecSensorEnabled") public Boolean secSensorEnabled
Indicates whether fine-grained monitoring is enabled. Valid values:
* **true**: yes
* **false**: no
@NameInMap(value="SecurityPolicyId") public String securityPolicyId
The ID of the security policy. System security policies and custom security policies are supported.
Valid values: **tls_cipher_policy\_1\_0**, **tls_cipher_policy\_1\_1**, **tls_cipher_policy\_1\_2**, **tls_cipher_policy\_1\_2\_strict**, and **tls_cipher_policy\_1\_2\_strict_with\_1\_3**.
> This parameter takes effect only for listeners that use SSL over TCP.
@NameInMap(value="ServerGroupId") public String serverGroupId
The ID of the server group.
@NameInMap(value="StartPort") public String startPort
The first port in the listening port range. Valid values: **0** to **65535**.
@NameInMap(value="Tags") public List<GetListenerAttributeResponseBody.GetListenerAttributeResponseBodyTags> tags
The tags.
public static GetListenerAttributeResponseBody build(Map<String,?> map) throws Exception
Exceptionpublic GetListenerAttributeResponseBody setAlpnEnabled(Boolean alpnEnabled)
public Boolean getAlpnEnabled()
public GetListenerAttributeResponseBody setAlpnPolicy(String alpnPolicy)
public String getAlpnPolicy()
public GetListenerAttributeResponseBody setCaCertificateIds(List<String> caCertificateIds)
public GetListenerAttributeResponseBody setCaEnabled(Boolean caEnabled)
public Boolean getCaEnabled()
public GetListenerAttributeResponseBody setCertificateIds(List<String> certificateIds)
public GetListenerAttributeResponseBody setCps(Integer cps)
public Integer getCps()
public GetListenerAttributeResponseBody setEndPort(String endPort)
public String getEndPort()
public GetListenerAttributeResponseBody setIdleTimeout(Integer idleTimeout)
public Integer getIdleTimeout()
public GetListenerAttributeResponseBody setListenerDescription(String listenerDescription)
public String getListenerDescription()
public GetListenerAttributeResponseBody setListenerId(String listenerId)
public String getListenerId()
public GetListenerAttributeResponseBody setListenerPort(Integer listenerPort)
public Integer getListenerPort()
public GetListenerAttributeResponseBody setListenerProtocol(String listenerProtocol)
public String getListenerProtocol()
public GetListenerAttributeResponseBody setListenerStatus(String listenerStatus)
public String getListenerStatus()
public GetListenerAttributeResponseBody setLoadBalancerId(String loadBalancerId)
public String getLoadBalancerId()
public GetListenerAttributeResponseBody setMss(Integer mss)
public Integer getMss()
public GetListenerAttributeResponseBody setProxyProtocolEnabled(Boolean proxyProtocolEnabled)
public Boolean getProxyProtocolEnabled()
public GetListenerAttributeResponseBody setRegionId(String regionId)
public String getRegionId()
public GetListenerAttributeResponseBody setRequestId(String requestId)
public String getRequestId()
public GetListenerAttributeResponseBody setSecSensorEnabled(Boolean secSensorEnabled)
public Boolean getSecSensorEnabled()
public GetListenerAttributeResponseBody setSecurityPolicyId(String securityPolicyId)
public String getSecurityPolicyId()
public GetListenerAttributeResponseBody setServerGroupId(String serverGroupId)
public String getServerGroupId()
public GetListenerAttributeResponseBody setStartPort(String startPort)
public String getStartPort()
public GetListenerAttributeResponseBody setTags(List<GetListenerAttributeResponseBody.GetListenerAttributeResponseBodyTags> tags)
public List<GetListenerAttributeResponseBody.GetListenerAttributeResponseBodyTags> getTags()
Copyright © 2023. All rights reserved.