public class ModifyDBInstanceSecurityGroupsRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyDBInstanceSecurityGroupsRequest() |
ModifyDBInstanceSecurityGroupsRequest(ModifyDBInstanceSecurityGroupsRequest 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 |
getInstanceId()
Get Instance ID.
|
String |
getProduct()
Get Database engine name, which is `redis` for this API.
|
String[] |
getSecurityGroupIds()
Get Replaces with the new security group ID list, which is an array of one or more security group IDs.
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
void |
setProduct(String Product)
Set Database engine name, which is `redis` for this API.
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set Replaces with the new security group ID list, which is an array of one or more security group IDs.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifyDBInstanceSecurityGroupsRequest()
public ModifyDBInstanceSecurityGroupsRequest(ModifyDBInstanceSecurityGroupsRequest source)
public String getProduct()
public void setProduct(String Product)
Product
- Database engine name, which is `redis` for this API.public String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- Replaces with the new security group ID list, which is an array of one or more security group IDs.
- To configure a security group for an instance for the first time, call the API [AssociateSecurityGroups](https://www.tencentcloud.comom/document/product/239/41260?from_cn_redirect=1) to bind a security group first.
- To replace the security group, obtain the security group ID on the [security group](https://console.tencentcloud.com/vpc/security-group) page of the console.
Note:** This input parameter performs a full replacement on all existing collections but not an incremental update. To modify it, import the expected full collections.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID. Log in to the [Redis console](https://console.tencentcloud.com/redis/instance) and copy it in the instance list.Copyright © 2025. All rights reserved.