public class UpdateListenerAttributeRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
List<UpdateListenerAttributeRequest.UpdateListenerAttributeRequestCaCertificates> |
caCertificates
The certificate authority (CA) certificates.
|
Boolean |
caEnabled
Specifies whether to enable mutual authentication.
|
List<UpdateListenerAttributeRequest.UpdateListenerAttributeRequestCertificates> |
certificates
The certificates.
|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
List<UpdateListenerAttributeRequest.UpdateListenerAttributeRequestDefaultActions> |
defaultActions
The default actions in the forwarding rules.
|
Boolean |
dryRun
Specifies whether to perform only a dry run, without performing the actual request.
|
Boolean |
gzipEnabled
Specifies whether to enable GZIP compression for specific types of files.
|
Boolean |
http2Enabled
Specifies whether to enable HTTP/2.
|
Integer |
idleTimeout
The timeout period of an idle connection.
|
String |
listenerDescription
The name of the listener.
|
String |
listenerId
The ID of the Application Load Balancer (ALB) listener.
|
UpdateListenerAttributeRequest.UpdateListenerAttributeRequestQuicConfig |
quicConfig
The configuration information when the listener is associated with a QUIC listener.
|
Integer |
requestTimeout
The timeout period of a request.
|
String |
securityPolicyId
The security policy ID.
|
UpdateListenerAttributeRequest.UpdateListenerAttributeRequestXForwardedForConfig |
XForwardedForConfig
The configuration of the XForwardFor headers.
|
| 构造器和说明 |
|---|
UpdateListenerAttributeRequest() |
@NameInMap(value="CaCertificates") public List<UpdateListenerAttributeRequest.UpdateListenerAttributeRequestCaCertificates> caCertificates
The certificate authority (CA) certificates.
@NameInMap(value="CaEnabled") public Boolean caEnabled
Specifies whether to enable mutual authentication. Valid values:
* **true**
* **false**
@NameInMap(value="Certificates") public List<UpdateListenerAttributeRequest.UpdateListenerAttributeRequestCertificates> certificates
The certificates.
@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 token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters.
> If you do not specify this parameter, the system automatically uses the **request ID** as the **client token**. The **request ID** may be different for each request.
@NameInMap(value="DefaultActions") public List<UpdateListenerAttributeRequest.UpdateListenerAttributeRequestDefaultActions> defaultActions
The default actions in the forwarding rules.
@NameInMap(value="DryRun") public Boolean dryRun
Specifies whether to perform only a dry run, without performing the actual request. Valid values:
* **true**: performs only a dry run. The system checks the request for potential issues, including missing parameter values, incorrect request syntax, and service limits. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
* **false** (default): performs a dry run and performs the actual request. If the request passes the dry run, a `2xx HTTP` status code is returned and the operation is performed.
@NameInMap(value="GzipEnabled") public Boolean gzipEnabled
Specifies whether to enable GZIP compression for specific types of files. Valid values:
* **true**
* **false**
@NameInMap(value="Http2Enabled") public Boolean http2Enabled
Specifies whether to enable HTTP/2. Valid values:
* **true**
* **false**
> This parameter is available only when you create an HTTPS listener.
@NameInMap(value="IdleTimeout") public Integer idleTimeout
The timeout period of an idle connection. Unit: seconds. Valid values: **1 to 60**.
If no request is received within the specified timeout period, ALB closes the current connection. When another request is received, ALB establishes a new connection.
@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, and the following special characters: , . ; / @ _ -.
@NameInMap(value="ListenerId") public String listenerId
The ID of the Application Load Balancer (ALB) listener.
This parameter is required.
@NameInMap(value="QuicConfig") public UpdateListenerAttributeRequest.UpdateListenerAttributeRequestQuicConfig quicConfig
The configuration information when the listener is associated with a QUIC listener.
@NameInMap(value="RequestTimeout") public Integer requestTimeout
The timeout period of a request. Unit: seconds. Valid values: **1 to 180**.
If no response is received from the backend server within the specified timeout period, ALB returns an `HTTP 504` error code to the client.
@NameInMap(value="SecurityPolicyId") public String securityPolicyId
The security policy ID. System security policies and custom security policies are supported.
> This parameter is available only when you create an HTTPS listener.
@NameInMap(value="XForwardedForConfig") public UpdateListenerAttributeRequest.UpdateListenerAttributeRequestXForwardedForConfig XForwardedForConfig
The configuration of the XForwardFor headers.
public static UpdateListenerAttributeRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateListenerAttributeRequest setCaCertificates(List<UpdateListenerAttributeRequest.UpdateListenerAttributeRequestCaCertificates> caCertificates)
public List<UpdateListenerAttributeRequest.UpdateListenerAttributeRequestCaCertificates> getCaCertificates()
public UpdateListenerAttributeRequest setCaEnabled(Boolean caEnabled)
public Boolean getCaEnabled()
public UpdateListenerAttributeRequest setCertificates(List<UpdateListenerAttributeRequest.UpdateListenerAttributeRequestCertificates> certificates)
public List<UpdateListenerAttributeRequest.UpdateListenerAttributeRequestCertificates> getCertificates()
public UpdateListenerAttributeRequest setClientToken(String clientToken)
public String getClientToken()
public UpdateListenerAttributeRequest setDefaultActions(List<UpdateListenerAttributeRequest.UpdateListenerAttributeRequestDefaultActions> defaultActions)
public List<UpdateListenerAttributeRequest.UpdateListenerAttributeRequestDefaultActions> getDefaultActions()
public UpdateListenerAttributeRequest setDryRun(Boolean dryRun)
public Boolean getDryRun()
public UpdateListenerAttributeRequest setGzipEnabled(Boolean gzipEnabled)
public Boolean getGzipEnabled()
public UpdateListenerAttributeRequest setHttp2Enabled(Boolean http2Enabled)
public Boolean getHttp2Enabled()
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 setQuicConfig(UpdateListenerAttributeRequest.UpdateListenerAttributeRequestQuicConfig quicConfig)
public UpdateListenerAttributeRequest.UpdateListenerAttributeRequestQuicConfig getQuicConfig()
public UpdateListenerAttributeRequest setRequestTimeout(Integer requestTimeout)
public Integer getRequestTimeout()
public UpdateListenerAttributeRequest setSecurityPolicyId(String securityPolicyId)
public String getSecurityPolicyId()
public UpdateListenerAttributeRequest setXForwardedForConfig(UpdateListenerAttributeRequest.UpdateListenerAttributeRequestXForwardedForConfig XForwardedForConfig)
public UpdateListenerAttributeRequest.UpdateListenerAttributeRequestXForwardedForConfig getXForwardedForConfig()
Copyright © 2024. All rights reserved.