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 |
---|---|
Boolean |
getForReadonlyInstance()
Get 当传入只读实例ID时,默认操作的是对应只读组的安全组。如果需要操作只读实例ID的安全组, 需要将该入参置为True
|
String[] |
getInstanceIds()
Get 实例 ID 列表,一个或者多个实例 ID 组成的数组。
|
String |
getSecurityGroupId()
Get 安全组 ID。
|
void |
setForReadonlyInstance(Boolean ForReadonlyInstance)
Set 当传入只读实例ID时,默认操作的是对应只读组的安全组。如果需要操作只读实例ID的安全组, 需要将该入参置为True
|
void |
setInstanceIds(String[] InstanceIds)
Set 实例 ID 列表,一个或者多个实例 ID 组成的数组。
|
void |
setSecurityGroupId(String SecurityGroupId)
Set 安全组 ID。
|
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 getSecurityGroupId()
public void setSecurityGroupId(String SecurityGroupId)
SecurityGroupId
- 安全组 ID。public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- 实例 ID 列表,一个或者多个实例 ID 组成的数组。public Boolean getForReadonlyInstance()
public void setForReadonlyInstance(Boolean ForReadonlyInstance)
ForReadonlyInstance
- 当传入只读实例ID时,默认操作的是对应只读组的安全组。如果需要操作只读实例ID的安全组, 需要将该入参置为TrueCopyright © 2022. All rights reserved.