public AwsRdsDbInstanceDetails 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 the DB security groups to assign to the DB instance.
</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 the DB security groups to assign to the DB instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsRdsDbInstanceDetails.java