public DBInstance withVpcSecurityGroups(java.util.Collection<VpcSecurityGroupMembership> vpcSecurityGroups) {
        setVpcSecurityGroups(vpcSecurityGroups);
        return this;
    }
<p>
The list of Amazon EC2 VPC security groups that the DB instance belongs to.
</p>

@param vpcSecurityGroups
       The list of Amazon EC2 VPC security groups that the DB instance belongs to.
@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