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 of the bound instance. 
 | 
String | 
getProduct()
Get Database engine name, which is `redis` for this API. 
 | 
String | 
getSecurityGroupId()
Get ID of the security group to be bound. 
 | 
void | 
setInstanceIds(String[] InstanceIds)
Set ID of the bound instance. 
 | 
void | 
setProduct(String Product)
Set Database engine name, which is `redis` for this API. 
 | 
void | 
setSecurityGroupId(String SecurityGroupId)
Set ID of the security group to be bound. 
 | 
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 getProduct()
public void setProduct(String Product)
Product - Database engine name, which is `redis` for this API.public String getSecurityGroupId()
public void setSecurityGroupId(String SecurityGroupId)
SecurityGroupId - ID of the security group to be bound. Obtain it on the [security group](https://console.tencentcloud.com/vpc/security-group) page of the console.public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds - ID of the bound instance. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list. You can specify multiple instance IDs.Copyright © 2025. All rights reserved.