public static class UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
endpoint
The IP address, domain name, or instance ID based on the value of Type.
|
String |
subAddress
The private IP address of the ENI.
|
String |
type
The type of the endpoint.
|
Long |
weight
The weight of the endpoint.
|
构造器和说明 |
---|
UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations() |
@NameInMap(value="Endpoint") public String endpoint
The IP address, domain name, or instance ID based on the value of Type.
@NameInMap(value="SubAddress") public String subAddress
The private IP address of the ENI.
> If you set the endpoint type to ENI, you can specify this parameter. If you leave this parameter empty, the primary private IP address of the ENI is used.
@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.
* **ENI:** an elastic network interface (ENI).
* **NLB:** a Network Load Balancer (NLB) instance.
> * If you set this parameter to **ECS** or **SLB** and the AliyunServiceRoleForGaVpcEndpoint service-linked role does not exist, the system automatically creates the role.
>* If you set this parameter to **ALB** and the AliyunServiceRoleForGaAlb service-linked role does not exist, the system automatically creates the role.
>* If you set this parameter to **OSS** and the AliyunServiceRoleForGaOss service-linked role does not exist, the system automatically creates the role.
> >For more information, see [Service-linked roles](~~178360~~).
@NameInMap(value="Weight") public Long weight
The weight of the endpoint.
Valid values: **0** to **255**.
> If you set the weight of an endpoint to 0, GA stops distributing traffic to the endpoint. Proceed with caution.
public UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations()
public static UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations build(Map<String,?> map) throws Exception
Exception
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations setEndpoint(String endpoint)
public String getEndpoint()
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations setSubAddress(String subAddress)
public String getSubAddress()
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations setType(String type)
public String getType()
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations setWeight(Long weight)
public Long getWeight()
Copyright © 2024. All rights reserved.