public class Playlist extends Object implements Serializable, Cloneable
 Use Only for Fragmented MP4 or MPEG-TS Outputs. If you specify a
 preset for which the value of Container is fmp4
 (Fragmented MP4) or ts (MPEG-TS), Playlists contains
 information about the master playlists that you want Elastic
 Transcoder to create. We recommend that you create only one master
 playlist per output format. The maximum number of master playlists in
 a job is 30.
 
| Constructor and Description | 
|---|
| Playlist() | 
| Modifier and Type | Method and Description | 
|---|---|
| Playlist | clone() | 
| boolean | equals(Object obj) | 
| String | getFormat()The format of the output playlist. | 
| HlsContentProtection | getHlsContentProtection()The HLS content protection settings, if any, that you want Elastic
 Transcoder to apply to the output files associated with this playlist. | 
| String | getName()The name that you want Elastic Transcoder to assign to the master
 playlist, for example, nyc-vacation.m3u8. | 
| List<String> | getOutputKeys()For each output in this job that you want to include in a master
 playlist, the value of the Outputs:Key object. | 
| PlayReadyDrm | getPlayReadyDrm()The DRM settings, if any, that you want Elastic Transcoder to apply to
 the output files associated with this playlist. | 
| String | getStatus()The status of the job with which the playlist is associated. | 
| String | getStatusDetail()Information that further explains the status. | 
| int | hashCode() | 
| void | setFormat(String format)The format of the output playlist. | 
| void | setHlsContentProtection(HlsContentProtection hlsContentProtection)The HLS content protection settings, if any, that you want Elastic
 Transcoder to apply to the output files associated with this playlist. | 
| void | setName(String name)The name that you want Elastic Transcoder to assign to the master
 playlist, for example, nyc-vacation.m3u8. | 
| void | setOutputKeys(Collection<String> outputKeys)For each output in this job that you want to include in a master
 playlist, the value of the Outputs:Key object. | 
| void | setPlayReadyDrm(PlayReadyDrm playReadyDrm)The DRM settings, if any, that you want Elastic Transcoder to apply to
 the output files associated with this playlist. | 
| void | setStatus(String status)The status of the job with which the playlist is associated. | 
| void | setStatusDetail(String statusDetail)Information that further explains the status. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| Playlist | withFormat(String format)The format of the output playlist. | 
| Playlist | withHlsContentProtection(HlsContentProtection hlsContentProtection)The HLS content protection settings, if any, that you want Elastic
 Transcoder to apply to the output files associated with this playlist. | 
| Playlist | withName(String name)The name that you want Elastic Transcoder to assign to the master
 playlist, for example, nyc-vacation.m3u8. | 
| Playlist | withOutputKeys(Collection<String> outputKeys)For each output in this job that you want to include in a master
 playlist, the value of the Outputs:Key object. | 
| Playlist | withOutputKeys(String... outputKeys)For each output in this job that you want to include in a master
 playlist, the value of the Outputs:Key object. | 
| Playlist | withPlayReadyDrm(PlayReadyDrm playReadyDrm)The DRM settings, if any, that you want Elastic Transcoder to apply to
 the output files associated with this playlist. | 
| Playlist | withStatus(String status)The status of the job with which the playlist is associated. | 
| Playlist | withStatusDetail(String statusDetail)Information that further explains the status. | 
public String getName()
/ character, the section of the name before the last
 / must be identical for all Name objects. If
 you create more than one master playlist, the values of all
 Name objects must be unique. Note: Elastic
 Transcoder automatically appends the relevant file extension to the
 file name (.m3u8 for HLSv3 and
 HLSv4 playlists, and .ism and
 .ismc for Smooth playlists). If you include
 a file extension in Name, the file name will have two
 extensions.
 
 Constraints:
 Length: 1 - 255
/ character, the section of the name before the last
         / must be identical for all Name objects. If
         you create more than one master playlist, the values of all
         Name objects must be unique. Note: Elastic
         Transcoder automatically appends the relevant file extension to the
         file name (.m3u8 for HLSv3 and
         HLSv4 playlists, and .ism and
         .ismc for Smooth playlists). If you include
         a file extension in Name, the file name will have two
         extensions.
public void setName(String name)
/ character, the section of the name before the last
 / must be identical for all Name objects. If
 you create more than one master playlist, the values of all
 Name objects must be unique. Note: Elastic
 Transcoder automatically appends the relevant file extension to the
 file name (.m3u8 for HLSv3 and
 HLSv4 playlists, and .ism and
 .ismc for Smooth playlists). If you include
 a file extension in Name, the file name will have two
 extensions.
 
 Constraints:
 Length: 1 - 255
name - The name that you want Elastic Transcoder to assign to the master
         playlist, for example, nyc-vacation.m3u8. If the name includes a
         / character, the section of the name before the last
         / must be identical for all Name objects. If
         you create more than one master playlist, the values of all
         Name objects must be unique. Note: Elastic
         Transcoder automatically appends the relevant file extension to the
         file name (.m3u8 for HLSv3 and
         HLSv4 playlists, and .ism and
         .ismc for Smooth playlists). If you include
         a file extension in Name, the file name will have two
         extensions.
public Playlist withName(String name)
/ character, the section of the name before the last
 / must be identical for all Name objects. If
 you create more than one master playlist, the values of all
 Name objects must be unique. Note: Elastic
 Transcoder automatically appends the relevant file extension to the
 file name (.m3u8 for HLSv3 and
 HLSv4 playlists, and .ism and
 .ismc for Smooth playlists). If you include
 a file extension in Name, the file name will have two
 extensions.
 
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 255
name - The name that you want Elastic Transcoder to assign to the master
         playlist, for example, nyc-vacation.m3u8. If the name includes a
         / character, the section of the name before the last
         / must be identical for all Name objects. If
         you create more than one master playlist, the values of all
         Name objects must be unique. Note: Elastic
         Transcoder automatically appends the relevant file extension to the
         file name (.m3u8 for HLSv3 and
         HLSv4 playlists, and .ism and
         .ismc for Smooth playlists). If you include
         a file extension in Name, the file name will have two
         extensions.
public String getFormat()
HLSv3, HLSv4, and Smooth.
 
 Constraints:
 Pattern: (^HLSv3$)|(^HLSv4$)|(^Smooth$)
HLSv3, HLSv4, and Smooth.public void setFormat(String format)
HLSv3, HLSv4, and Smooth.
 
 Constraints:
 Pattern: (^HLSv3$)|(^HLSv4$)|(^Smooth$)
format - The format of the output playlist. Valid formats include
         HLSv3, HLSv4, and Smooth.public Playlist withFormat(String format)
HLSv3, HLSv4, and Smooth.
 Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Pattern: (^HLSv3$)|(^HLSv4$)|(^Smooth$)
format - The format of the output playlist. Valid formats include
         HLSv3, HLSv4, and Smooth.public List<String> getOutputKeys()
If your
 output is not HLS or does not have a segment duration
 set, the name of the output file is a concatenation of
 OutputKeyPrefix and Outputs:Key:
 
OutputKeyPrefixOutputs:Key 
If your
 output is HLSv3 and has a segment duration set, or is not
 included in a playlist, Elastic Transcoder creates an output playlist
 file with a file extension of .m3u8, and a series of
 .ts files that include a five-digit sequential counter
 beginning with 00000: 
OutputKeyPrefixOutputs:Key.m3u8
 
OutputKeyPrefixOutputs:Key00000.ts 
If
 your output is HLSv4, has a segment duration set, and is
 included in an HLSv4 playlist, Elastic Transcoder creates
 an output playlist file with a file extension of
 _v4.m3u8. If the output is video, Elastic Transcoder also
 creates an output file with an extension of _iframe.m3u8:
 
OutputKeyPrefixOutputs:Key_v4.m3u8
 
OutputKeyPrefixOutputs:Key_iframe.m3u8
 
OutputKeyPrefixOutputs:Key.ts 
Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.
If you include more than one output
 in a playlist, any segment duration settings, clip settings, or
 caption settings must be the same for all outputs in the playlist. For
 Smooth playlists, the Audio:Profile,
 Video:Profile, and Video:FrameRate to
 Video:KeyframesMaxDist ratio must be the same for all
 outputs.
 
 Constraints:
 Length: 0 - 30
If your
         output is not HLS or does not have a segment duration
         set, the name of the output file is a concatenation of
         OutputKeyPrefix and Outputs:Key:
         
OutputKeyPrefixOutputs:Key 
If your
         output is HLSv3 and has a segment duration set, or is not
         included in a playlist, Elastic Transcoder creates an output playlist
         file with a file extension of .m3u8, and a series of
         .ts files that include a five-digit sequential counter
         beginning with 00000: 
OutputKeyPrefixOutputs:Key.m3u8
         
OutputKeyPrefixOutputs:Key00000.ts 
If
         your output is HLSv4, has a segment duration set, and is
         included in an HLSv4 playlist, Elastic Transcoder creates
         an output playlist file with a file extension of
         _v4.m3u8. If the output is video, Elastic Transcoder also
         creates an output file with an extension of _iframe.m3u8:
         
OutputKeyPrefixOutputs:Key_v4.m3u8
         
OutputKeyPrefixOutputs:Key_iframe.m3u8
         
OutputKeyPrefixOutputs:Key.ts 
Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.
If you include more than one output
         in a playlist, any segment duration settings, clip settings, or
         caption settings must be the same for all outputs in the playlist. For
         Smooth playlists, the Audio:Profile,
         Video:Profile, and Video:FrameRate to
         Video:KeyframesMaxDist ratio must be the same for all
         outputs.
public void setOutputKeys(Collection<String> outputKeys)
If your
 output is not HLS or does not have a segment duration
 set, the name of the output file is a concatenation of
 OutputKeyPrefix and Outputs:Key:
 
OutputKeyPrefixOutputs:Key 
If your
 output is HLSv3 and has a segment duration set, or is not
 included in a playlist, Elastic Transcoder creates an output playlist
 file with a file extension of .m3u8, and a series of
 .ts files that include a five-digit sequential counter
 beginning with 00000: 
OutputKeyPrefixOutputs:Key.m3u8
 
OutputKeyPrefixOutputs:Key00000.ts 
If
 your output is HLSv4, has a segment duration set, and is
 included in an HLSv4 playlist, Elastic Transcoder creates
 an output playlist file with a file extension of
 _v4.m3u8. If the output is video, Elastic Transcoder also
 creates an output file with an extension of _iframe.m3u8:
 
OutputKeyPrefixOutputs:Key_v4.m3u8
 
OutputKeyPrefixOutputs:Key_iframe.m3u8
 
OutputKeyPrefixOutputs:Key.ts 
Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.
If you include more than one output
 in a playlist, any segment duration settings, clip settings, or
 caption settings must be the same for all outputs in the playlist. For
 Smooth playlists, the Audio:Profile,
 Video:Profile, and Video:FrameRate to
 Video:KeyframesMaxDist ratio must be the same for all
 outputs.
 
 Constraints:
 Length: 0 - 30
outputKeys - For each output in this job that you want to include in a master
         playlist, the value of the Outputs:Key object. If your
         output is not HLS or does not have a segment duration
         set, the name of the output file is a concatenation of
         OutputKeyPrefix and Outputs:Key:
         
OutputKeyPrefixOutputs:Key 
If your
         output is HLSv3 and has a segment duration set, or is not
         included in a playlist, Elastic Transcoder creates an output playlist
         file with a file extension of .m3u8, and a series of
         .ts files that include a five-digit sequential counter
         beginning with 00000: 
OutputKeyPrefixOutputs:Key.m3u8
         
OutputKeyPrefixOutputs:Key00000.ts 
If
         your output is HLSv4, has a segment duration set, and is
         included in an HLSv4 playlist, Elastic Transcoder creates
         an output playlist file with a file extension of
         _v4.m3u8. If the output is video, Elastic Transcoder also
         creates an output file with an extension of _iframe.m3u8:
         
OutputKeyPrefixOutputs:Key_v4.m3u8
         
OutputKeyPrefixOutputs:Key_iframe.m3u8
         
OutputKeyPrefixOutputs:Key.ts 
Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.
If you include more than one output
         in a playlist, any segment duration settings, clip settings, or
         caption settings must be the same for all outputs in the playlist. For
         Smooth playlists, the Audio:Profile,
         Video:Profile, and Video:FrameRate to
         Video:KeyframesMaxDist ratio must be the same for all
         outputs.
public Playlist withOutputKeys(String... outputKeys)
If your
 output is not HLS or does not have a segment duration
 set, the name of the output file is a concatenation of
 OutputKeyPrefix and Outputs:Key:
 
OutputKeyPrefixOutputs:Key 
If your
 output is HLSv3 and has a segment duration set, or is not
 included in a playlist, Elastic Transcoder creates an output playlist
 file with a file extension of .m3u8, and a series of
 .ts files that include a five-digit sequential counter
 beginning with 00000: 
OutputKeyPrefixOutputs:Key.m3u8
 
OutputKeyPrefixOutputs:Key00000.ts 
If
 your output is HLSv4, has a segment duration set, and is
 included in an HLSv4 playlist, Elastic Transcoder creates
 an output playlist file with a file extension of
 _v4.m3u8. If the output is video, Elastic Transcoder also
 creates an output file with an extension of _iframe.m3u8:
 
OutputKeyPrefixOutputs:Key_v4.m3u8
 
OutputKeyPrefixOutputs:Key_iframe.m3u8
 
OutputKeyPrefixOutputs:Key.ts 
Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.
If you include more than one output
 in a playlist, any segment duration settings, clip settings, or
 caption settings must be the same for all outputs in the playlist. For
 Smooth playlists, the Audio:Profile,
 Video:Profile, and Video:FrameRate to
 Video:KeyframesMaxDist ratio must be the same for all
 outputs.
 
 NOTE: This method appends the values to the existing list (if
 any). Use setOutputKeys(java.util.Collection) or withOutputKeys(java.util.Collection) if you want to override the
 existing values.
 
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 30
outputKeys - For each output in this job that you want to include in a master
         playlist, the value of the Outputs:Key object. If your
         output is not HLS or does not have a segment duration
         set, the name of the output file is a concatenation of
         OutputKeyPrefix and Outputs:Key:
         
OutputKeyPrefixOutputs:Key 
If your
         output is HLSv3 and has a segment duration set, or is not
         included in a playlist, Elastic Transcoder creates an output playlist
         file with a file extension of .m3u8, and a series of
         .ts files that include a five-digit sequential counter
         beginning with 00000: 
OutputKeyPrefixOutputs:Key.m3u8
         
OutputKeyPrefixOutputs:Key00000.ts 
If
         your output is HLSv4, has a segment duration set, and is
         included in an HLSv4 playlist, Elastic Transcoder creates
         an output playlist file with a file extension of
         _v4.m3u8. If the output is video, Elastic Transcoder also
         creates an output file with an extension of _iframe.m3u8:
         
OutputKeyPrefixOutputs:Key_v4.m3u8
         
OutputKeyPrefixOutputs:Key_iframe.m3u8
         
OutputKeyPrefixOutputs:Key.ts 
Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.
If you include more than one output
         in a playlist, any segment duration settings, clip settings, or
         caption settings must be the same for all outputs in the playlist. For
         Smooth playlists, the Audio:Profile,
         Video:Profile, and Video:FrameRate to
         Video:KeyframesMaxDist ratio must be the same for all
         outputs.
public Playlist withOutputKeys(Collection<String> outputKeys)
If your
 output is not HLS or does not have a segment duration
 set, the name of the output file is a concatenation of
 OutputKeyPrefix and Outputs:Key:
 
OutputKeyPrefixOutputs:Key 
If your
 output is HLSv3 and has a segment duration set, or is not
 included in a playlist, Elastic Transcoder creates an output playlist
 file with a file extension of .m3u8, and a series of
 .ts files that include a five-digit sequential counter
 beginning with 00000: 
OutputKeyPrefixOutputs:Key.m3u8
 
OutputKeyPrefixOutputs:Key00000.ts 
If
 your output is HLSv4, has a segment duration set, and is
 included in an HLSv4 playlist, Elastic Transcoder creates
 an output playlist file with a file extension of
 _v4.m3u8. If the output is video, Elastic Transcoder also
 creates an output file with an extension of _iframe.m3u8:
 
OutputKeyPrefixOutputs:Key_v4.m3u8
 
OutputKeyPrefixOutputs:Key_iframe.m3u8
 
OutputKeyPrefixOutputs:Key.ts 
Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.
If you include more than one output
 in a playlist, any segment duration settings, clip settings, or
 caption settings must be the same for all outputs in the playlist. For
 Smooth playlists, the Audio:Profile,
 Video:Profile, and Video:FrameRate to
 Video:KeyframesMaxDist ratio must be the same for all
 outputs.
 
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 30
outputKeys - For each output in this job that you want to include in a master
         playlist, the value of the Outputs:Key object. If your
         output is not HLS or does not have a segment duration
         set, the name of the output file is a concatenation of
         OutputKeyPrefix and Outputs:Key:
         
OutputKeyPrefixOutputs:Key 
If your
         output is HLSv3 and has a segment duration set, or is not
         included in a playlist, Elastic Transcoder creates an output playlist
         file with a file extension of .m3u8, and a series of
         .ts files that include a five-digit sequential counter
         beginning with 00000: 
OutputKeyPrefixOutputs:Key.m3u8
         
OutputKeyPrefixOutputs:Key00000.ts 
If
         your output is HLSv4, has a segment duration set, and is
         included in an HLSv4 playlist, Elastic Transcoder creates
         an output playlist file with a file extension of
         _v4.m3u8. If the output is video, Elastic Transcoder also
         creates an output file with an extension of _iframe.m3u8:
         
OutputKeyPrefixOutputs:Key_v4.m3u8
         
OutputKeyPrefixOutputs:Key_iframe.m3u8
         
OutputKeyPrefixOutputs:Key.ts 
Elastic Transcoder automatically appends the relevant file extension to the file name. If you include a file extension in Output Key, the file name will have two extensions.
If you include more than one output
         in a playlist, any segment duration settings, clip settings, or
         caption settings must be the same for all outputs in the playlist. For
         Smooth playlists, the Audio:Profile,
         Video:Profile, and Video:FrameRate to
         Video:KeyframesMaxDist ratio must be the same for all
         outputs.
public HlsContentProtection getHlsContentProtection()
public void setHlsContentProtection(HlsContentProtection hlsContentProtection)
hlsContentProtection - The HLS content protection settings, if any, that you want Elastic
         Transcoder to apply to the output files associated with this playlist.public Playlist withHlsContentProtection(HlsContentProtection hlsContentProtection)
Returns a reference to this object so that method calls can be chained together.
hlsContentProtection - The HLS content protection settings, if any, that you want Elastic
         Transcoder to apply to the output files associated with this playlist.public PlayReadyDrm getPlayReadyDrm()
public void setPlayReadyDrm(PlayReadyDrm playReadyDrm)
playReadyDrm - The DRM settings, if any, that you want Elastic Transcoder to apply to
         the output files associated with this playlist.public Playlist withPlayReadyDrm(PlayReadyDrm playReadyDrm)
Returns a reference to this object so that method calls can be chained together.
playReadyDrm - The DRM settings, if any, that you want Elastic Transcoder to apply to
         the output files associated with this playlist.public String getStatus()
 Constraints:
 Pattern: (^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)
public void setStatus(String status)
 Constraints:
 Pattern: (^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)
status - The status of the job with which the playlist is associated.public Playlist withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Pattern: (^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)
status - The status of the job with which the playlist is associated.public String getStatusDetail()
 Constraints:
 Length: 0 - 255
public void setStatusDetail(String statusDetail)
 Constraints:
 Length: 0 - 255
statusDetail - Information that further explains the status.public Playlist withStatusDetail(String statusDetail)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 255
statusDetail - Information that further explains the status.public String toString()
toString in class ObjectObject.toString()Copyright © 2015. All rights reserved.