public class ModifyDBInstanceSecurityGroupsRequest extends AbstractModel
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 |
---|---|
Boolean |
getForReadonlyInstance()
Get This parameter takes effect only when the ID of read-only replica is passed in.
|
String |
getInstanceId()
Get Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv.
|
String[] |
getSecurityGroupIds()
Get List of IDs of security groups to be modified, which is an array of one or more security group IDs.
|
void |
setForReadonlyInstance(Boolean ForReadonlyInstance)
Set This parameter takes effect only when the ID of read-only replica is passed in.
|
void |
setInstanceId(String InstanceId)
Set Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv.
|
void |
setSecurityGroupIds(String[] SecurityGroupIds)
Set List of IDs of security groups to be modified, 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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ModifyDBInstanceSecurityGroupsRequest()
public ModifyDBInstanceSecurityGroupsRequest(ModifyDBInstanceSecurityGroupsRequest 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 String[] getSecurityGroupIds()
public void setSecurityGroupIds(String[] SecurityGroupIds)
SecurityGroupIds
- List of IDs of security groups to be modified, which is an array of one or more security group IDs.public Boolean getForReadonlyInstance()
public void setForReadonlyInstance(Boolean ForReadonlyInstance)
ForReadonlyInstance
- This parameter takes effect only when the ID of read-only replica is passed in. If this parameter is set to `False` or left empty, the security groups bound with the RO group of the read-only replicas will be modified. If this parameter is set to `True`, the security groups bound with the read-only replica itself will be modified.Copyright © 2023. All rights reserved.