public static class UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Boolean |
enableClientIPPreservationProxyProtocol
Specifies whether to use the proxy protocol to preserve client IP addresses.
|
Boolean |
enableClientIPPreservationToa
Specifies whether to use the TCP Option Address (TOA) module to preserve client IP addresses.
|
List<UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations> |
endpointConfigurations
The configurations of endpoints in the endpoint group.
|
String |
endpointGroupDescription
The description of the endpoint group.
|
String |
endpointGroupId
The ID of the endpoint.
|
String |
endpointGroupName
The name of the endpoint group.
|
String |
endpointRequestProtocol
The protocol that is used by the backend service.
|
Boolean |
healthCheckEnabled
Specifies whether to enable the health check feature.
|
Long |
healthCheckIntervalSeconds
The interval between two consecutive health checks.
|
String |
healthCheckPath
The health check path.
|
Long |
healthCheckPort
The port that is used for health checks.
|
String |
healthCheckProtocol
The protocol over which health check requests are sent.
|
List<UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurationsPortOverrides> |
portOverrides
The port mapping.
|
Long |
thresholdCount
The number of failed consecutive health checks that must occur before a healthy endpoint group is considered unhealthy or the number of successful consecutive health checks that must occur before an unhealthy endpoint group is considered healthy.
|
Long |
trafficPercentage
The traffic ratio of the endpoint group when the specified listener is associated with multiple endpoint groups.
|
构造器和说明 |
---|
UpdateEndpointGroupsRequestEndpointGroupConfigurations() |
@NameInMap(value="EnableClientIPPreservationProxyProtocol") public Boolean enableClientIPPreservationProxyProtocol
Specifies whether to use the proxy protocol to preserve client IP addresses. Valid values:
* **true**
* **false**
@NameInMap(value="EnableClientIPPreservationToa") public Boolean enableClientIPPreservationToa
Specifies whether to use the TCP Option Address (TOA) module to preserve client IP addresses. Valid values:
* **true**
* **false**
@NameInMap(value="EndpointConfigurations") public List<UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations> endpointConfigurations
The configurations of endpoints in the endpoint group.
@NameInMap(value="EndpointGroupDescription") public String endpointGroupDescription
The description of the endpoint group.
The description can be up to 256 characters in length and cannot contain `http://` or `https://`.
@NameInMap(value="EndpointGroupId") public String endpointGroupId
The ID of the endpoint.
@NameInMap(value="EndpointGroupName") public String endpointGroupName
The name of the endpoint group.
The name must be 2 to 128 characters in length and can contain letters, digits, underscores (\_), and hyphens (-). The name must start with a letter.
@NameInMap(value="EndpointRequestProtocol") public String endpointRequestProtocol
The protocol that is used by the backend service. Valid values:
* **HTTP**
* **HTTPS**
> * You can specify this parameter only if the listener that is associated with the endpoint group uses HTTP or HTTPS.
> * The backend service protocol of an HTTP listener must be HTTP.
@NameInMap(value="HealthCheckEnabled") public Boolean healthCheckEnabled
Specifies whether to enable the health check feature. Valid values:
* **true**
* **false** (default)
@NameInMap(value="HealthCheckIntervalSeconds") public Long healthCheckIntervalSeconds
The interval between two consecutive health checks. Unit: seconds. Valid values: **1** to **50**.
@NameInMap(value="HealthCheckPath") public String healthCheckPath
The health check path.
@NameInMap(value="HealthCheckPort") public Long healthCheckPort
The port that is used for health checks.
Valid values: **1** to **65535**.
@NameInMap(value="HealthCheckProtocol") public String healthCheckProtocol
The protocol over which health check requests are sent. Valid values:
* **tcp** or **TCP**
* **http** or **HTTP**
* **https** or **HTTPS**
@NameInMap(value="PortOverrides") public List<UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurationsPortOverrides> portOverrides
The port mapping.
@NameInMap(value="ThresholdCount") public Long thresholdCount
The number of failed consecutive health checks that must occur before a healthy endpoint group is considered unhealthy or the number of successful consecutive health checks that must occur before an unhealthy endpoint group is considered healthy.
Valid values: **2** to **10**.
@NameInMap(value="TrafficPercentage") public Long trafficPercentage
The traffic ratio of the endpoint group when the specified listener is associated with multiple endpoint groups.
Valid values: **1** to **100**.
public UpdateEndpointGroupsRequestEndpointGroupConfigurations()
public static UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations build(Map<String,?> map) throws Exception
Exception
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations setEnableClientIPPreservationProxyProtocol(Boolean enableClientIPPreservationProxyProtocol)
public Boolean getEnableClientIPPreservationProxyProtocol()
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations setEnableClientIPPreservationToa(Boolean enableClientIPPreservationToa)
public Boolean getEnableClientIPPreservationToa()
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations setEndpointConfigurations(List<UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations> endpointConfigurations)
public List<UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations> getEndpointConfigurations()
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations setEndpointGroupDescription(String endpointGroupDescription)
public String getEndpointGroupDescription()
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations setEndpointGroupId(String endpointGroupId)
public String getEndpointGroupId()
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations setEndpointGroupName(String endpointGroupName)
public String getEndpointGroupName()
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations setEndpointRequestProtocol(String endpointRequestProtocol)
public String getEndpointRequestProtocol()
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations setHealthCheckEnabled(Boolean healthCheckEnabled)
public Boolean getHealthCheckEnabled()
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations setHealthCheckIntervalSeconds(Long healthCheckIntervalSeconds)
public Long getHealthCheckIntervalSeconds()
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations setHealthCheckPath(String healthCheckPath)
public String getHealthCheckPath()
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations setHealthCheckPort(Long healthCheckPort)
public Long getHealthCheckPort()
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations setHealthCheckProtocol(String healthCheckProtocol)
public String getHealthCheckProtocol()
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations setPortOverrides(List<UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurationsPortOverrides> portOverrides)
public List<UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurationsPortOverrides> getPortOverrides()
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations setThresholdCount(Long thresholdCount)
public Long getThresholdCount()
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations setTrafficPercentage(Long trafficPercentage)
public Long getTrafficPercentage()
Copyright © 2024. All rights reserved.