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 preserve client IP addresses by using the TCP Option Address (TOA) module.
|
List<UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations> |
endpointConfigurations |
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 at which health checks are performed.
|
String |
healthCheckPath
The path to which health check requests are sent.
|
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 |
Long |
thresholdCount
The number of consecutive health check failures that must occur before a healthy endpoint group is considered unhealthy, or the number of consecutive health check successes that must occur before an unhealthy endpoint group is considered healthy.
|
Long |
trafficPercentage
The traffic ratio for the endpoint group when the specified listener is associated with multiple endpoint groups.
|
| 构造器和说明 |
|---|
UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations() |
@NameInMap(value="EnableClientIPPreservationProxyProtocol") public Boolean enableClientIPPreservationProxyProtocol
Specifies whether to use the proxy protocol to preserve client IP addresses. Valid values:
* **true**: uses the proxy protocol to preserve client IP addresses.
* **false**: does not use the proxy protocol to preserve client IP addresses.
@NameInMap(value="EnableClientIPPreservationToa") public Boolean enableClientIPPreservationToa
Specifies whether to preserve client IP addresses by using the TCP Option Address (TOA) module. 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="EndpointConfigurations") public List<UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurationsEndpointConfigurations> endpointConfigurations
@NameInMap(value="EndpointGroupDescription") public String endpointGroupDescription
The description of the endpoint group.
The description cannot exceed 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**: HTTP
* **HTTPS**: HTTPS
>
* You can set this property only if the listener that is associated with the endpoint group uses the HTTP or HTTPS protocol.
* For an HTTP listener, the backend service protocol must be HTTP.
@NameInMap(value="HealthCheckEnabled") public Boolean healthCheckEnabled
Specifies whether to enable the health check feature. Default value: false. Valid values:
* **true**: enables the health check feature.
* **false**: disables the health check feature.
@NameInMap(value="HealthCheckIntervalSeconds") public Long healthCheckIntervalSeconds
The interval at which health checks are performed. Unit: seconds. Valid values: **1** to **50**.
@NameInMap(value="HealthCheckPath") public String healthCheckPath
The path to which health check requests are sent.
@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.
* **tcp**: TCP
* **http**: HTTP
* **https**: HTTPS
@NameInMap(value="PortOverrides") public List<UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurationsPortOverrides> portOverrides
@NameInMap(value="ThresholdCount") public Long thresholdCount
The number of consecutive health check failures that must occur before a healthy endpoint group is considered unhealthy, or the number of consecutive health check successes 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 for the endpoint group when the specified listener is associated with multiple endpoint groups.
Valid values: **1** to **100**.
public UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations()
public static UpdateEndpointGroupsRequest.UpdateEndpointGroupsRequestEndpointGroupConfigurations build(Map<String,?> map) throws Exception
Exceptionpublic 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 © 2023. All rights reserved.