public class AssociateSecurityGroupsRequest extends AbstractModel
Constructor and Description |
---|
AssociateSecurityGroupsRequest() |
AssociateSecurityGroupsRequest(AssociateSecurityGroupsRequest 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 IDs of read-only replicas are passed in.
|
String[] |
getInstanceIds()
Get List of instance IDs, which is an array of one or more instance IDs.
|
String |
getSecurityGroupId()
Get Security group ID.
|
void |
setForReadonlyInstance(Boolean ForReadonlyInstance)
Set This parameter takes effect only when the IDs of read-only replicas are passed in.
|
void |
setInstanceIds(String[] InstanceIds)
Set List of instance IDs, which is an array of one or more instance IDs.
|
void |
setSecurityGroupId(String SecurityGroupId)
Set Security group ID.
|
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 AssociateSecurityGroupsRequest()
public AssociateSecurityGroupsRequest(AssociateSecurityGroupsRequest source)
public String getSecurityGroupId()
public void setSecurityGroupId(String SecurityGroupId)
SecurityGroupId
- Security group ID.public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- List of instance IDs, which is an array of one or more instance IDs.public Boolean getForReadonlyInstance()
public void setForReadonlyInstance(Boolean ForReadonlyInstance)
ForReadonlyInstance
- This parameter takes effect only when the IDs of read-only replicas are passed in. If this parameter is set to `False` or left empty, the security group will be bound to the RO groups of these read-only replicas. If this parameter is set to `True`, the security group will be bound to the read-only replicas themselves.Copyright © 2021. All rights reserved.