public class ModifyInstancesAttributeRequest extends AbstractModel
Constructor and Description |
---|
ModifyInstancesAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
String[] |
getInstanceIds()
Get Instance ID(s).
|
String |
getInstanceName()
Get Instance name.
|
String[] |
getSecurityGroups()
Get ID list of security groups of the instance.
|
void |
setInstanceIds(String[] InstanceIds)
Set Instance ID(s).
|
void |
setInstanceName(String InstanceName)
Set Instance name.
|
void |
setSecurityGroups(String[] SecurityGroups)
Set ID list of security groups of the instance.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Instance ID(s). To obtain the instance IDs, you can call [`DescribeInstances`](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) and look for `InstanceId` in the response. The maximum number of instances in each request is 100.public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance name. You can specify any name you like, but its length cannot exceed 60 characters.public String[] getSecurityGroups()
public void setSecurityGroups(String[] SecurityGroups)
SecurityGroups
- ID list of security groups of the instance. The instance will be associated with the specified security groups and will be disassociated from the original security groups.Copyright © 2020. All rights reserved.