public DBInstance withDBSecurityGroups(java.util.Collection<DBSecurityGroupMembership> dBSecurityGroups) {
        setDBSecurityGroups(dBSecurityGroups);
        return this;
    }
<p>
A list of DB security group elements containing <code>DBSecurityGroup.Name</code> and
<code>DBSecurityGroup.Status</code> subelements.
</p>

@param dBSecurityGroups
       A list of DB security group elements containing <code>DBSecurityGroup.Name</code> and
       <code>DBSecurityGroup.Status</code> subelements.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/DBInstance.java