public CreateDataLakeResult withDataLakes(DataLakeResource... dataLakes) {
        if (this.dataLakes == null) {
            setDataLakes(new java.util.ArrayList<DataLakeResource>(dataLakes.length));
        }
        for (DataLakeResource ele : dataLakes) {
            this.dataLakes.add(ele);
        }
        return this;
    }
<p>
The created Security Lake configuration object.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDataLakes(java.util.Collection)} or {@link #withDataLakes(java.util.Collection)} if you want to
override the existing values.
</p>

@param dataLakes
       The created Security Lake configuration object.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securitylake/src/main/java/com/amazonaws/services/securitylake/model/CreateDataLakeResult.java