public class AssociateSecurityGroupsRequest extends AbstractModel
| Constructor and Description |
|---|
AssociateSecurityGroupsRequest() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getInstanceIds()
Get ID of the instance bound in the format of ins-lesecurk.
|
String[] |
getSecurityGroupIds()
Get ID of the security group to be associated, such as `sg-efil73jd`.
|
void |
setInstanceIds(String[] InstanceIds)
Set ID of the instance bound in the format of ins-lesecurk.
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set ID of the security group to be associated, such as `sg-efil73jd`.
|
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, toJsonStringpublic String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds - ID of the security group to be associated, such as `sg-efil73jd`. Only one security group can be associated.public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds - ID of the instance bound in the format of ins-lesecurk. You can specify up to 100 instances in each request.Copyright © 2021. All rights reserved.