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 |
---|---|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, 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 groupspublic 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 © 2023. All rights reserved.