public class ModifyInstancesAttributeRequest extends AbstractModel
Constructor and Description |
---|
ModifyInstancesAttributeRequest() |
ModifyInstancesAttributeRequest(ModifyInstancesAttributeRequest 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 |
---|---|
String[] |
getInstanceIdSet()
Get List of IDs of the instances to be modified.
|
String |
getInstanceName()
Get Instance name displayed after successful modification, which can contain up to 60 characters.
|
String[] |
getSecurityGroups()
Get List of IDs of the security groups of the instance.
|
void |
setInstanceIdSet(String[] InstanceIdSet)
Set List of IDs of the instances to be modified.
|
void |
setInstanceName(String InstanceName)
Set Instance name displayed after successful modification, which can contain up to 60 characters.
|
void |
setSecurityGroups(String[] SecurityGroups)
Set List of IDs of the 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 ModifyInstancesAttributeRequest()
public ModifyInstancesAttributeRequest(ModifyInstancesAttributeRequest source)
public String[] getInstanceIdSet()
public void setInstanceIdSet(String[] InstanceIdSet)
InstanceIdSet
- List of IDs of the instances to be modified. You can request up to 100 instances at a time.public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance name displayed after successful modification, which can contain up to 60 characters. If this parameter is not specified, an empty value will be displayed.public String[] getSecurityGroups()
public void setSecurityGroups(String[] SecurityGroups)
SecurityGroups
- List of IDs of the security groups of the instance. The instance will be associated with the specified security groups and will be disassociated from the original security groups. The maximum quantity is 5.Copyright © 2023. All rights reserved.