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 | 
|---|---|
Long | 
getPort()
Get Default port of the target group, which can be used for adding servers subsequently. 
 | 
TargetGroupInstance[] | 
getTargetGroupInstances()
Get Real server bound to a target group 
 | 
String | 
getTargetGroupName()
Get Target group name (up to 50 characters) 
 | 
String | 
getVpcId()
Get `vpcid` attribute of a target group. 
 | 
void | 
setPort(Long Port)
Set Default port of the target group, which can be used for adding servers subsequently. 
 | 
void | 
setTargetGroupInstances(TargetGroupInstance[] TargetGroupInstances)
Set Real server bound to a target group 
 | 
void | 
setTargetGroupName(String TargetGroupName)
Set Target group name (up to 50 characters) 
 | 
void | 
setVpcId(String VpcId)
Set `vpcid` attribute of a 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 (up to 50 characters)public String getVpcId()
public void setVpcId(String VpcId)
VpcId - `vpcid` attribute of a target group. If this parameter is left empty, 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 for adding servers subsequently. Either the Port or the port in TargetGroupInstances.N should be input.public TargetGroupInstance[] getTargetGroupInstances()
public void setTargetGroupInstances(TargetGroupInstance[] TargetGroupInstances)
TargetGroupInstances - Real server bound to a target groupCopyright © 2025. All rights reserved.