public static class CreateEndpointGroupRequest.CreateEndpointGroupRequestEndpointConfigurations
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
enableClientIPPreservation
Specifies whether to preserve client IP addresses by using the TCP Option Address (TOA) module.
|
String |
endpoint
The IP address or domain name of the endpoint.
|
String |
type
The type of the endpoint.
|
Integer |
weight
The weight of the endpoint.
|
| 构造器和说明 |
|---|
CreateEndpointGroupRequest.CreateEndpointGroupRequestEndpointConfigurations() |
@NameInMap(value="EnableClientIPPreservation") public Boolean enableClientIPPreservation
Specifies whether to preserve client IP addresses by using the TCP Option Address (TOA) module. Default value: false. Valid values:
* **true**: preserves client IP addresses by using the TOA module.
* **false**: does not preserve client IP addresses by using the TOA module.
@NameInMap(value="Endpoint") public String endpoint
The IP address or domain name of the endpoint.
@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**: an Elastic Compute Service (ECS) instance
* **SLB**: a Server Load Balancer (SLB) instance
* **ALB**: an Application Load Balancer (ALB) instance
* **OSS**: an Object Storage Service (OSS) bucket
>
* 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 CreateEndpointGroupRequest.CreateEndpointGroupRequestEndpointConfigurations()
public static CreateEndpointGroupRequest.CreateEndpointGroupRequestEndpointConfigurations build(Map<String,?> map) throws Exception
Exceptionpublic CreateEndpointGroupRequest.CreateEndpointGroupRequestEndpointConfigurations setEnableClientIPPreservation(Boolean enableClientIPPreservation)
public Boolean getEnableClientIPPreservation()
public CreateEndpointGroupRequest.CreateEndpointGroupRequestEndpointConfigurations setEndpoint(String endpoint)
public String getEndpoint()
public CreateEndpointGroupRequest.CreateEndpointGroupRequestEndpointConfigurations setType(String type)
public String getType()
public CreateEndpointGroupRequest.CreateEndpointGroupRequestEndpointConfigurations setWeight(Integer weight)
public Integer getWeight()
Copyright © 2023. All rights reserved.