public QueryStagePlanNode withRemoteSources(String... remoteSources) {
        if (this.remoteSources == null) {
            setRemoteSources(new java.util.ArrayList<String>(remoteSources.length));
        }
        for (String ele : remoteSources) {
            this.remoteSources.add(ele);
        }
        return this;
    }
<p>
Source plan node IDs.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRemoteSources(java.util.Collection)} or {@link #withRemoteSources(java.util.Collection)} if you want
to override the existing values.
</p>

@param remoteSources
       Source plan node IDs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-athena/src/main/java/com/amazonaws/services/athena/model/QueryStagePlanNode.java