public class DescribeDBSecurityGroupsRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DescribeDBSecurityGroupsRequest() | 
| DescribeDBSecurityGroupsRequest(DescribeDBSecurityGroupsRequest 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 This parameter takes effect only when the ID of a read-only instance is passed in. | 
| String | getInstanceId()Get Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. | 
| void | setForReadonlyInstance(Boolean ForReadonlyInstance)Set This parameter takes effect only when the ID of a read-only instance is passed in. | 
| void | setInstanceId(String InstanceId)Set Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. | 
| 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 DescribeDBSecurityGroupsRequest()
public DescribeDBSecurityGroupsRequest(DescribeDBSecurityGroupsRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page.public Boolean getForReadonlyInstance()
public void setForReadonlyInstance(Boolean ForReadonlyInstance)
ForReadonlyInstance - This parameter takes effect only when the ID of a read-only instance is passed in. If the parameter is set to `False` or left empty, the security groups bound with the RO groups of the read-only instance can only be queried. If it is set to `True`, the security groups can be modified.Copyright © 2025. All rights reserved.