public CreateStreamRequest withFiles(StreamFile... files) {
        if (this.files == null) {
            setFiles(new java.util.ArrayList<StreamFile>(files.length));
        }
        for (StreamFile ele : files) {
            this.files.add(ele);
        }
        return this;
    }
<p>
The files to stream.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFiles(java.util.Collection)} or {@link #withFiles(java.util.Collection)} if you want to override the
existing values.
</p>

@param files
       The files to stream.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/CreateStreamRequest.java