public static class UpdateEndpointGroupRequest.UpdateEndpointGroupRequestEndpointConfigurations
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Boolean |
enableClientIPPreservation
Specifies whether to reserve client IP addresses.
|
Boolean |
enableProxyProtocol
Specifies whether to preserve client IP addresses by using the ProxyProtocol module.
|
String |
endpoint
The IP address or domain name of the endpoint.
|
String |
subAddress
The private IP address of the ENI.
|
String |
type
The type of the endpoint.
|
Integer |
weight
The weight of the endpoint.
|
构造器和说明 |
---|
UpdateEndpointGroupRequestEndpointConfigurations() |
@NameInMap(value="EnableClientIPPreservation") public Boolean enableClientIPPreservation
Specifies whether to reserve client IP addresses. Default value: false. Valid values:
* **true**: reserves client IP addresses.
* **false**: does not reserve client IP addresses.
@NameInMap(value="EnableProxyProtocol") public Boolean enableProxyProtocol
Specifies whether to preserve client IP addresses by using the ProxyProtocol module. Default value: false. Valid values:
* **true**: preserves client IP addresses by using the ProxyProtocol module.
* **false**: does not preserve client IP addresses by using the ProxyProtocol module.
@NameInMap(value="Endpoint") public String endpoint
The IP address or domain name of the endpoint.
@NameInMap(value="SubAddress") public String subAddress
The private IP address of the ENI.
> - When the Endpoint type is ENI, this parameter can be configured. If not configured, it defaults to the primary private IP address of ENI.
@NameInMap(value="Type") public String type
The type of the endpoint. Valid values:
* **Domain:** a custom domain name.
* **Ip:** a custom IP address.
* **PublicIp:** a public IP address provided by Alibaba Cloud.
* **ECS:** Elastic Compute Service (ECS) instance.
* **SLB:** Server Load Balancer (SLB) instance.
* **ALB:** Application Load Balancer (ALB) instance.
* **OSS:** Object Storage Service (OSS) bucket.
* **ENI:** Elastic Network interface (ENI).
* **NLB:** Network Load Balancer (NLB) instance.
> * If you set this parameter to **ECS** or **SLB** and the service-linked role AliyunServiceRoleForGaVpcEndpoint does not exist, the system automatically creates the service-linked role.
> * If you set this parameter to **ALB** and the service-linked role AliyunServiceRoleForGaAlb does not exist, the system automatically creates the service-linked role.
> * If you set this parameter to **OSS** and the service-linked role AliyunServiceRoleForGaOss does not exist, the system automatically creates the service-linked role.
For more information, see [Service-linked roles](~~178360~~).
@NameInMap(value="Weight") public Integer weight
The weight of the endpoint.
Valid values: **0** to **255**.
> If the weight of an endpoint is set to 0, GA stops distributing network traffic to the endpoint. Proceed with caution.
public UpdateEndpointGroupRequestEndpointConfigurations()
public static UpdateEndpointGroupRequest.UpdateEndpointGroupRequestEndpointConfigurations build(Map<String,?> map) throws Exception
Exception
public UpdateEndpointGroupRequest.UpdateEndpointGroupRequestEndpointConfigurations setEnableClientIPPreservation(Boolean enableClientIPPreservation)
public Boolean getEnableClientIPPreservation()
public UpdateEndpointGroupRequest.UpdateEndpointGroupRequestEndpointConfigurations setEnableProxyProtocol(Boolean enableProxyProtocol)
public Boolean getEnableProxyProtocol()
public UpdateEndpointGroupRequest.UpdateEndpointGroupRequestEndpointConfigurations setEndpoint(String endpoint)
public String getEndpoint()
public UpdateEndpointGroupRequest.UpdateEndpointGroupRequestEndpointConfigurations setSubAddress(String subAddress)
public String getSubAddress()
public UpdateEndpointGroupRequest.UpdateEndpointGroupRequestEndpointConfigurations setType(String type)
public String getType()
public UpdateEndpointGroupRequest.UpdateEndpointGroupRequestEndpointConfigurations setWeight(Integer weight)
public Integer getWeight()
Copyright © 2024. All rights reserved.