public Job withPlaylists(java.util.Collection<Playlist> playlists) {
        setPlaylists(playlists);
        return this;
    }
<important>
<p>
Outputs in Fragmented MP4 or MPEG-TS format only.
</p>
</important>
<p>
If you specify a preset in <code>PresetId</code> for which the value of <code>Container</code> is fmp4
(Fragmented MP4) or ts (MPEG-TS), <code>Playlists</code> contains information about the master playlists that you
want Elastic Transcoder to create.
</p>
<p>
The maximum number of master playlists in a job is 30.
</p>

@param playlists
       <p>
       Outputs in Fragmented MP4 or MPEG-TS format only.
       </p>
       </important>
       <p>
       If you specify a preset in <code>PresetId</code> for which the value of <code>Container</code> is fmp4
       (Fragmented MP4) or ts (MPEG-TS), <code>Playlists</code> contains information about the master playlists
       that you want Elastic Transcoder to create.
       </p>
       <p>
       The maximum number of master playlists in a job is 30.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elastictranscoder/src/main/java/com/amazonaws/services/elastictranscoder/model/Job.java