public CreateDBInstanceRequest withDBSecurityGroups(String... dBSecurityGroups) {
        if (this.dBSecurityGroups == null) {
            setDBSecurityGroups(new java.util.ArrayList<String>(dBSecurityGroups.length));
        }
        for (String ele : dBSecurityGroups) {
            this.dBSecurityGroups.add(ele);
        }
        return this;
    }
<p>
A list of DB security groups to associate with this DB instance.
</p>
<p>
Default: The default DB security group for the database engine.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDBSecurityGroups(java.util.Collection)} or {@link #withDBSecurityGroups(java.util.Collection)} if you
want to override the existing values.
</p>

@param dBSecurityGroups
       A list of DB security groups to associate with this DB instance.</p>
       <p>
       Default: The default DB security group for the database engine.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-neptune/src/main/java/com/amazonaws/services/neptune/model/CreateDBInstanceRequest.java