public class AssociateSecurityGroupsRequest extends AbstractModel
Constructor and Description |
---|
AssociateSecurityGroupsRequest() |
AssociateSecurityGroupsRequest(AssociateSecurityGroupsRequest 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[] |
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, toJsonString
public AssociateSecurityGroupsRequest()
public AssociateSecurityGroupsRequest(AssociateSecurityGroupsRequest source)
public 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 © 2023. All rights reserved.