public class CreateTargetGroupRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateTargetGroupRequest() | 
| CreateTargetGroupRequest(CreateTargetGroupRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| Boolean | getAllDeadToAlive()Get Whether "All Dead, All Alive" is supported. | 
| TargetGroupHealthCheck | getHealthCheck()Get Health check settings. | 
| Long | getPort()Get Default port of the target group, which can be used when servers are added later. | 
| String | getProtocol()Get GWLB target group protocol. | 
| String | getScheduleAlgorithm()Get Load balancing algorithm. | 
| TargetGroupInstance[] | getTargetGroupInstances()Get Real server bound to a target group | 
| String | getTargetGroupName()Get Target group name, limited to 60 characters. | 
| String | getVpcId()Get VPCID attribute of target group. | 
| void | setAllDeadToAlive(Boolean AllDeadToAlive)Set Whether "All Dead, All Alive" is supported. | 
| void | setHealthCheck(TargetGroupHealthCheck HealthCheck)Set Health check settings. | 
| void | setPort(Long Port)Set Default port of the target group, which can be used when servers are added later. | 
| void | setProtocol(String Protocol)Set GWLB target group protocol. | 
| void | setScheduleAlgorithm(String ScheduleAlgorithm)Set Load balancing algorithm. | 
| void | setTargetGroupInstances(TargetGroupInstance[] TargetGroupInstances)Set Real server bound to a target group | 
| void | setTargetGroupName(String TargetGroupName)Set Target group name, limited to 60 characters. | 
| void | setVpcId(String VpcId)Set VPCID attribute of target group. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateTargetGroupRequest()
public CreateTargetGroupRequest(CreateTargetGroupRequest source)
public String getTargetGroupName()
public void setTargetGroupName(String TargetGroupName)
TargetGroupName - Target group name, limited to 60 characters.public String getVpcId()
public void setVpcId(String VpcId)
VpcId - VPCID attribute of target group. If this parameter is left blank, the default VPC will be used.public Long getPort()
public void setPort(Long Port)
Port - Default port of the target group, which can be used when servers are added later. Either 'Port' or 'TargetGroupInstances.N.port' must be filled in.public TargetGroupInstance[] getTargetGroupInstances()
public void setTargetGroupInstances(TargetGroupInstance[] TargetGroupInstances)
TargetGroupInstances - Real server bound to a target grouppublic String getProtocol()
public void setProtocol(String Protocol)
Protocol - GWLB target group protocol.
- TENCENT_GENEVE: GENEVE standard protocol
- AWS_GENEVE: GENEVE compatibility protocol (a ticket is required for allowlisting)public TargetGroupHealthCheck getHealthCheck()
public void setHealthCheck(TargetGroupHealthCheck HealthCheck)
HealthCheck - Health check settings.public String getScheduleAlgorithm()
public void setScheduleAlgorithm(String ScheduleAlgorithm)
ScheduleAlgorithm - Load balancing algorithm.
- IP_HASH_3_ELASTIC: elastic hashingpublic Boolean getAllDeadToAlive()
public void setAllDeadToAlive(Boolean AllDeadToAlive)
AllDeadToAlive - Whether "All Dead, All Alive" is supported. It is supported by default.Copyright © 2025. All rights reserved.