public S3JsonSource withPaths(String... paths) {
        if (this.paths == null) {
            setPaths(new java.util.ArrayList<String>(paths.length));
        }
        for (String ele : paths) {
            this.paths.add(ele);
        }
        return this;
    }
<p>
A list of the Amazon S3 paths to read from.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPaths(java.util.Collection)} or {@link #withPaths(java.util.Collection)} if you want to override the
existing values.
</p>

@param paths
       A list of the Amazon S3 paths to read from.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/S3JsonSource.java