public S3JsonSource withExclusions(String... exclusions) {
        if (this.exclusions == null) {
            setExclusions(new java.util.ArrayList<String>(exclusions.length));
        }
        for (String ele : exclusions) {
            this.exclusions.add(ele);
        }
        return this;
    }
<p>
A string containing a JSON list of Unix-style glob patterns to exclude. For example, "[\"**.pdf\"]" excludes all
PDF files.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setExclusions(java.util.Collection)} or {@link #withExclusions(java.util.Collection)} if you want to
override the existing values.
</p>

@param exclusions
       A string containing a JSON list of Unix-style glob patterns to exclude. For example, "[\"**.pdf\"]"
       excludes all PDF files.
@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