public static class CreateListenerRequest.CreateListenerRequestXForwardedForConfig
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
XForwardedForClientCertClientVerifyAlias
The name of the custom header.
|
Boolean |
XForwardedForClientCertClientVerifyEnabled
Specifies whether to use the `X-Forwarded-Clientcert-clientverify` header to retrieve the verification result of the client certificate.
|
String |
XForwardedForClientCertFingerprintAlias
The name of the custom header.
|
Boolean |
XForwardedForClientCertFingerprintEnabled
Specifies whether to use the `X-Forwarded-Clientcert-fingerprint` header to retrieve the fingerprint of the client certificate.
|
String |
XForwardedForClientCertIssuerDNAlias
The name of the custom header.
|
Boolean |
XForwardedForClientCertIssuerDNEnabled
Specifies whether to use the `X-Forwarded-Clientcert-issuerdn` header to retrieve information about the authority that issues the client certificate.
|
String |
XForwardedForClientCertSubjectDNAlias
The name of the custom header.
|
Boolean |
XForwardedForClientCertSubjectDNEnabled
Specifies whether to use the `X-Forwarded-Clientcert-subjectdn` header to retrieve information about the owner of the client certificate.
|
Boolean |
XForwardedForClientSourceIpsEnabled
Specifies whether to use the `X-Forwarded-Client-Ip` header to obtain the source IP address of the ALB instance.
|
String |
XForwardedForClientSourceIpsTrusted
The trusted proxy IP address.
|
Boolean |
XForwardedForClientSrcPortEnabled
Specifies whether to use the `X-Forwarded-Client-Port` header to retrieve the client port.
|
Boolean |
XForwardedForEnabled
Specifies whether to use the `X-Forwarded-For` header to retrieve client IP addresses.
|
Boolean |
XForwardedForProtoEnabled
Specifies whether to use the `X-Forwarded-Proto` header to retrieve the listening protocol of the ALB instance.
|
Boolean |
XForwardedForSLBIdEnabled
Specifies whether to use the `SLB-ID` header to retrieve the ID of the ALB instance.
|
Boolean |
XForwardedForSLBPortEnabled
Specifies whether to use the `X-Forwarded-Port` header to retrieve the listening port of the ALB instance.
|
| 构造器和说明 |
|---|
CreateListenerRequestXForwardedForConfig() |
@NameInMap(value="XForwardedForClientCertClientVerifyAlias") public String XForwardedForClientCertClientVerifyAlias
The name of the custom header. This parameter takes effect only when **XForwardedForClientCertClientVerifyEnabled** is set to **true**.
The name must be 1 to 40 characters in length, and can contain lowercase letters, hyphens (-), underscores (_), and digits.
> Only HTTPS listeners support this parameter.
@NameInMap(value="XForwardedForClientCertClientVerifyEnabled") public Boolean XForwardedForClientCertClientVerifyEnabled
Specifies whether to use the `X-Forwarded-Clientcert-clientverify` header to retrieve the verification result of the client certificate. Valid values:
* **true**: uses the X-Forwarded-Clientcert-clientverify header.
* **false** (default): does not use the X-Forwarded-Clientcert-clientverify header.
> Only HTTPS listeners support this parameter.
@NameInMap(value="XForwardedForClientCertFingerprintAlias") public String XForwardedForClientCertFingerprintAlias
The name of the custom header. This parameter takes effect only when **XForwardedForClientCertFingerprintEnabled** is set to **true**.
The name must be 1 to 40 characters in length, and can contain lowercase letters, hyphens (-), underscores (_), and digits.
> Only HTTPS listeners support this parameter.
@NameInMap(value="XForwardedForClientCertFingerprintEnabled") public Boolean XForwardedForClientCertFingerprintEnabled
Specifies whether to use the `X-Forwarded-Clientcert-fingerprint` header to retrieve the fingerprint of the client certificate. Valid values:
* **true**: uses the X-Forwarded-Clientcert-fingerprint header.
* **false** (default): does not use the X-Forwarded-Clientcert-fingerprint header.
> Only HTTPS listeners support this parameter.
@NameInMap(value="XForwardedForClientCertIssuerDNAlias") public String XForwardedForClientCertIssuerDNAlias
The name of the custom header. This parameter takes effect only when **XForwardedForClientCertIssuerDNEnabled** is set to **true**.
The name must be 1 to 40 characters in length, and can contain lowercase letters, hyphens (-), underscores (_), and digits.
> Only HTTPS listeners support this parameter.
@NameInMap(value="XForwardedForClientCertIssuerDNEnabled") public Boolean XForwardedForClientCertIssuerDNEnabled
Specifies whether to use the `X-Forwarded-Clientcert-issuerdn` header to retrieve information about the authority that issues the client certificate. Valid values:
* **true**: uses the X-Forwarded-Clientcert-issuerdn header.
* **false** (default): does not use the X-Forwarded-Clientcert-issuerdn header.
> Only HTTPS listeners support this parameter.
@NameInMap(value="XForwardedForClientCertSubjectDNAlias") public String XForwardedForClientCertSubjectDNAlias
The name of the custom header. This parameter takes effect only when **XForwardedForClientCertSubjectDNEnabled** is set to **true**.
The name must be 1 to 40 characters in length, and can contain lowercase letters, hyphens (-), underscores (_), and digits.
> Only HTTPS listeners support this parameter.
@NameInMap(value="XForwardedForClientCertSubjectDNEnabled") public Boolean XForwardedForClientCertSubjectDNEnabled
Specifies whether to use the `X-Forwarded-Clientcert-subjectdn` header to retrieve information about the owner of the client certificate. Valid values:
* **true**: uses the X-Forwarded-Clientcert-subjectdn header.
* **false** (default): does not use the X-Forwarded-Clientcert-subjectdn header.
> Only HTTPS listeners support this parameter.
@NameInMap(value="XForwardedForClientSourceIpsEnabled") public Boolean XForwardedForClientSourceIpsEnabled
Specifies whether to use the `X-Forwarded-Client-Ip` header to obtain the source IP address of the ALB instance. Valid values:
* **true**: uses the X-Forwarded-Client-Ip header.
* **false** (default): does not use the X-Forwarded-Client-Ip header.
> HTTP, HTTPS, and QUIC listeners support this parameter. The feature corresponding to this parameter is not available by default. If you want to use this feature, submit a ticket.
@NameInMap(value="XForwardedForClientSourceIpsTrusted") public String XForwardedForClientSourceIpsTrusted
The trusted proxy IP address.
ALB traverses `X-Forwarded-For` backwards and selects the first IP address that is not in the trusted IP list as the originating IP address of the client, which will be throttled if source IP address throttling is enabled.
@NameInMap(value="XForwardedForClientSrcPortEnabled") public Boolean XForwardedForClientSrcPortEnabled
Specifies whether to use the `X-Forwarded-Client-Port` header to retrieve the client port. Valid values:
* **true**: uses the X-Forwarded-Client-Port header.
* **false** (default): does not use the X-Forwarded-Client-Port header.
> HTTP and HTTPS listeners support this parameter.
@NameInMap(value="XForwardedForEnabled") public Boolean XForwardedForEnabled
Specifies whether to use the `X-Forwarded-For` header to retrieve client IP addresses. Valid values:
* **true** (default): uses the X-Forwarded-For header.
* **false**: does not use the X-Forwarded-For header.
> HTTP and HTTPS listeners support this parameter.
@NameInMap(value="XForwardedForProtoEnabled") public Boolean XForwardedForProtoEnabled
Specifies whether to use the `X-Forwarded-Proto` header to retrieve the listening protocol of the ALB instance. Valid values:
* **true**: uses the X-Forwarded-Proto header.
* **false** (default): does not use the X-Forwarded-Proto header.
> HTTP, HTTPS, and QUIC listeners support this parameter.
@NameInMap(value="XForwardedForSLBIdEnabled") public Boolean XForwardedForSLBIdEnabled
Specifies whether to use the `SLB-ID` header to retrieve the ID of the ALB instance. Valid values:
* **true**: uses the SLB-ID header.
* **false** (default): does not use the SLB-ID header.
> HTTP, HTTPS, and QUIC listeners support this parameter.
@NameInMap(value="XForwardedForSLBPortEnabled") public Boolean XForwardedForSLBPortEnabled
Specifies whether to use the `X-Forwarded-Port` header to retrieve the listening port of the ALB instance. Valid values:
* **true**: uses the X-Forwarded-Port header.
* **false** (default): does not use the X-Forwarded-Port header.
> HTTP, HTTPS, and QUIC listeners support this parameter.
public static CreateListenerRequest.CreateListenerRequestXForwardedForConfig build(Map<String,?> map) throws Exception
Exceptionpublic CreateListenerRequest.CreateListenerRequestXForwardedForConfig setXForwardedForClientCertClientVerifyAlias(String XForwardedForClientCertClientVerifyAlias)
public String getXForwardedForClientCertClientVerifyAlias()
public CreateListenerRequest.CreateListenerRequestXForwardedForConfig setXForwardedForClientCertClientVerifyEnabled(Boolean XForwardedForClientCertClientVerifyEnabled)
public Boolean getXForwardedForClientCertClientVerifyEnabled()
public CreateListenerRequest.CreateListenerRequestXForwardedForConfig setXForwardedForClientCertFingerprintAlias(String XForwardedForClientCertFingerprintAlias)
public String getXForwardedForClientCertFingerprintAlias()
public CreateListenerRequest.CreateListenerRequestXForwardedForConfig setXForwardedForClientCertFingerprintEnabled(Boolean XForwardedForClientCertFingerprintEnabled)
public Boolean getXForwardedForClientCertFingerprintEnabled()
public CreateListenerRequest.CreateListenerRequestXForwardedForConfig setXForwardedForClientCertIssuerDNAlias(String XForwardedForClientCertIssuerDNAlias)
public String getXForwardedForClientCertIssuerDNAlias()
public CreateListenerRequest.CreateListenerRequestXForwardedForConfig setXForwardedForClientCertIssuerDNEnabled(Boolean XForwardedForClientCertIssuerDNEnabled)
public Boolean getXForwardedForClientCertIssuerDNEnabled()
public CreateListenerRequest.CreateListenerRequestXForwardedForConfig setXForwardedForClientCertSubjectDNAlias(String XForwardedForClientCertSubjectDNAlias)
public String getXForwardedForClientCertSubjectDNAlias()
public CreateListenerRequest.CreateListenerRequestXForwardedForConfig setXForwardedForClientCertSubjectDNEnabled(Boolean XForwardedForClientCertSubjectDNEnabled)
public Boolean getXForwardedForClientCertSubjectDNEnabled()
public CreateListenerRequest.CreateListenerRequestXForwardedForConfig setXForwardedForClientSourceIpsEnabled(Boolean XForwardedForClientSourceIpsEnabled)
public Boolean getXForwardedForClientSourceIpsEnabled()
public CreateListenerRequest.CreateListenerRequestXForwardedForConfig setXForwardedForClientSourceIpsTrusted(String XForwardedForClientSourceIpsTrusted)
public String getXForwardedForClientSourceIpsTrusted()
public CreateListenerRequest.CreateListenerRequestXForwardedForConfig setXForwardedForClientSrcPortEnabled(Boolean XForwardedForClientSrcPortEnabled)
public Boolean getXForwardedForClientSrcPortEnabled()
public CreateListenerRequest.CreateListenerRequestXForwardedForConfig setXForwardedForEnabled(Boolean XForwardedForEnabled)
public Boolean getXForwardedForEnabled()
public CreateListenerRequest.CreateListenerRequestXForwardedForConfig setXForwardedForProtoEnabled(Boolean XForwardedForProtoEnabled)
public Boolean getXForwardedForProtoEnabled()
public CreateListenerRequest.CreateListenerRequestXForwardedForConfig setXForwardedForSLBIdEnabled(Boolean XForwardedForSLBIdEnabled)
public Boolean getXForwardedForSLBIdEnabled()
public CreateListenerRequest.CreateListenerRequestXForwardedForConfig setXForwardedForSLBPortEnabled(Boolean XForwardedForSLBPortEnabled)
public Boolean getXForwardedForSLBPortEnabled()
Copyright © 2024. All rights reserved.