public CreateDBInstanceReadReplicaRequest withVpcSecurityGroupIds(String... vpcSecurityGroupIds) {
        if (this.vpcSecurityGroupIds == null) {
            setVpcSecurityGroupIds(new com.amazonaws.internal.SdkInternalList<String>(vpcSecurityGroupIds.length));
        }
        for (String ele : vpcSecurityGroupIds) {
            this.vpcSecurityGroupIds.add(ele);
        }
        return this;
    }
<p>
A list of Amazon EC2 VPC security groups to associate with the read replica.
</p>
<p>
This setting doesn't apply to RDS Custom DB instances.
</p>
<p>
Default: The default EC2 VPC security group for the DB subnet group's VPC.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setVpcSecurityGroupIds(java.util.Collection)} or {@link #withVpcSecurityGroupIds(java.util.Collection)}
if you want to override the existing values.
</p>

@param vpcSecurityGroupIds
       A list of Amazon EC2 VPC security groups to associate with the read replica.</p>
       <p>
       This setting doesn't apply to RDS Custom DB instances.
       </p>
       <p>
       Default: The default EC2 VPC security group for the DB subnet group's VPC.
@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/CreateDBInstanceReadReplicaRequest.java