public HlsManifest withPlaylistType(PlaylistType playlistType) {
        this.playlistType = playlistType.toString();
        return this;
    }
The HTTP Live Streaming (HLS) playlist type. When either "EVENT" or "VOD" is specified, a corresponding
EXT-X-PLAYLIST-TYPE entry will be included in the media playlist.

@param playlistType
       The HTTP Live Streaming (HLS) playlist type. When either "EVENT" or "VOD" is specified, a corresponding
       EXT-X-PLAYLIST-TYPE entry will be included in the media playlist.
@return Returns a reference to this object so that method calls can be chained together.
@see PlaylistType
aws-java-sdk-mediapackage/src/main/java/com/amazonaws/services/mediapackage/model/HlsManifest.java