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 |
getDBInstanceId()
Get Instance ID.
|
String |
getReadOnlyGroupId()
Get RO group ID.
|
String[] |
getSecurityGroupIdSet()
Get The list of security groups to be associated with the instance or RO groups.
|
void |
setDBInstanceId(String DBInstanceId)
Set Instance ID.
|
void |
setReadOnlyGroupId(String ReadOnlyGroupId)
Set RO group ID.
|
void |
setSecurityGroupIdSet(String[] SecurityGroupIdSet)
Set The list of security groups to be associated with the instance or RO groups.
|
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[] getSecurityGroupIdSet()
public void setSecurityGroupIdSet(String[] SecurityGroupIdSet)
SecurityGroupIdSet
- The list of security groups to be associated with the instance or RO groups.
Information of security groups can be obtained from the `sgld` field in the returned value of the [DescribeSecurityGroups](https://intl.cloud.tencent.com/document/api/215/15808?from_cn_redirect=1) API.public String getDBInstanceId()
public void setDBInstanceId(String DBInstanceId)
DBInstanceId
- Instance ID. Either this parameter or `ReadOnlyGroupId` must be passed in. If both parameters are passed in, `ReadOnlyGroupId` will be ignored.public String getReadOnlyGroupId()
public void setReadOnlyGroupId(String ReadOnlyGroupId)
ReadOnlyGroupId
- RO group ID. Either this parameter or `DBInstanceId` must be passed in. To modify the security groups associated with the RO groups, only pass in `ReadOnlyGroupId`.Copyright © 2024. All rights reserved.