public class CreateJobPlaylist extends Object implements Serializable
Information about the master playlist.
Constructor and Description |
---|
CreateJobPlaylist() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getFormat()
This value must currently be HLSv3.
|
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. |
int |
hashCode() |
void |
setFormat(String format)
This value must currently be HLSv3.
|
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. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateJobPlaylist |
withFormat(String format)
This value must currently be HLSv3.
|
CreateJobPlaylist |
withName(String name)
The name that you want Elastic Transcoder to assign to the master
playlist, for example, nyc-vacation.m3u8.
|
CreateJobPlaylist |
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. |
CreateJobPlaylist |
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. |
public String getName()
Name
objects must be
unique. Elastic Transcoder automatically appends .m3u8 to the file
name. If you include .m3u8 in Name
, it will appear twice
in the file name.
Constraints:
Length: 1 - 255
Name
objects must be
unique. Elastic Transcoder automatically appends .m3u8 to the file
name. If you include .m3u8 in Name
, it will appear twice
in the file name.public void setName(String name)
Name
objects must be
unique. Elastic Transcoder automatically appends .m3u8 to the file
name. If you include .m3u8 in Name
, it will appear twice
in the file name.
Constraints:
Length: 1 - 255
name
- The name that you want Elastic Transcoder to assign to the master
playlist, for example, nyc-vacation.m3u8. The name cannot include a /
character. If you create more than one master playlist (not
recommended), the values of all Name
objects must be
unique. Elastic Transcoder automatically appends .m3u8 to the file
name. If you include .m3u8 in Name
, it will appear twice
in the file name.public CreateJobPlaylist withName(String name)
Name
objects must be
unique. Elastic Transcoder automatically appends .m3u8 to the file
name. If you include .m3u8 in Name
, it will appear twice
in the file name.
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. The name cannot include a /
character. If you create more than one master playlist (not
recommended), the values of all Name
objects must be
unique. Elastic Transcoder automatically appends .m3u8 to the file
name. If you include .m3u8 in Name
, it will appear twice
in the file name.public String getFormat()
Constraints:
Pattern: (^HLSv3$)
public void setFormat(String format)
Constraints:
Pattern: (^HLSv3$)
format
- This value must currently be HLSv3.public CreateJobPlaylist withFormat(String format)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^HLSv3$)
format
- This value must currently be HLSv3.public List<String> getOutputKeys()
Outputs:Key
object. If you
include more than one output in a playlist, the value of
SegmentDuration
for all of the outputs must be the same.
Constraints:
Length: 0 - 30
Outputs:Key
object. If you
include more than one output in a playlist, the value of
SegmentDuration
for all of the outputs must be the same.public void setOutputKeys(Collection<String> outputKeys)
Outputs:Key
object. If you
include more than one output in a playlist, the value of
SegmentDuration
for all of the outputs must be the same.
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 you
include more than one output in a playlist, the value of
SegmentDuration
for all of the outputs must be the same.public CreateJobPlaylist withOutputKeys(String... outputKeys)
Outputs:Key
object. If you
include more than one output in a playlist, the value of
SegmentDuration
for all of the outputs must be the same.
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 you
include more than one output in a playlist, the value of
SegmentDuration
for all of the outputs must be the same.public CreateJobPlaylist withOutputKeys(Collection<String> outputKeys)
Outputs:Key
object. If you
include more than one output in a playlist, the value of
SegmentDuration
for all of the outputs must be the same.
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 you
include more than one output in a playlist, the value of
SegmentDuration
for all of the outputs must be the same.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.