public CreateKxClusterResult withDatabases(KxDatabaseConfiguration... databases) {
        if (this.databases == null) {
            setDatabases(new java.util.ArrayList<KxDatabaseConfiguration>(databases.length));
        }
        for (KxDatabaseConfiguration ele : databases) {
            this.databases.add(ele);
        }
        return this;
    }
<p>
A list of databases that will be available for querying.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDatabases(java.util.Collection)} or {@link #withDatabases(java.util.Collection)} if you want to
override the existing values.
</p>

@param databases
       A list of databases that will be available for querying.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-finspace/src/main/java/com/amazonaws/services/finspace/model/CreateKxClusterResult.java