public AwsRdsDbInstanceDetails withDbParameterGroups(AwsRdsDbParameterGroup... dbParameterGroups) {
        if (this.dbParameterGroups == null) {
            setDbParameterGroups(new java.util.ArrayList<AwsRdsDbParameterGroup>(dbParameterGroups.length));
        }
        for (AwsRdsDbParameterGroup ele : dbParameterGroups) {
            this.dbParameterGroups.add(ele);
        }
        return this;
    }
<p>
A list of the DB parameter 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 #setDbParameterGroups(java.util.Collection)} or {@link #withDbParameterGroups(java.util.Collection)} if
you want to override the existing values.
</p>

@param dbParameterGroups
       A list of the DB parameter 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