public class AssociateSecurityGroupsRequest extends AbstractModel
header, skipSign| 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 数组,cynosdbmysql-grp-前缀开头或集群 ID。
说明:要获取集群的实例组 ID,可通过 [查询集群实例组](https://cloud.tencent.com/document/product/1003/103934) 进行。 | 
| String[] | getSecurityGroupIds()Get 要修改的安全组ID列表,一个或者多个安全组Id组成的数组。 | 
| String | getZone()Get 可用区 | 
| void | setInstanceIds(String[] InstanceIds)Set 实例组 ID 数组,cynosdbmysql-grp-前缀开头或集群 ID。
说明:要获取集群的实例组 ID,可通过 [查询集群实例组](https://cloud.tencent.com/document/product/1003/103934) 进行。 | 
| void | setSecurityGroupIds(String[] SecurityGroupIds)Set 要修改的安全组ID列表,一个或者多个安全组Id组成的数组。 | 
| void | setZone(String Zone)Set 可用区 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic AssociateSecurityGroupsRequest()
public AssociateSecurityGroupsRequest(AssociateSecurityGroupsRequest source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds - 实例组 ID 数组,cynosdbmysql-grp-前缀开头或集群 ID。
说明:要获取集群的实例组 ID,可通过 [查询集群实例组](https://cloud.tencent.com/document/product/1003/103934) 进行。public String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds - 要修改的安全组ID列表,一个或者多个安全组Id组成的数组。public String getZone()
public void setZone(String Zone)
Zone - 可用区Copyright © 2025. All rights reserved.