public class Playlist
extends java.lang.Object
implements java.io.Serializable
Use Only for MPEG-TS Outputs. If you specify a preset for which the value of Container is 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. The maximum number of
master playlists in a job is 30.
| コンストラクタと説明 |
|---|
Playlist() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFormat()
This value must currently be
HLSv3. |
java.lang.String |
getName()
The name that you want Elastic Transcoder to assign to the master
playlist, for example, nyc-vacation.m3u8.
|
java.util.List<java.lang.String> |
getOutputKeys()
For each output in this job that you want to include in a master
playlist, the value of the Outputs:Key object.
|
java.lang.String |
getStatus()
The status of the job with which the playlist is associated.
|
java.lang.String |
getStatusDetail()
Information that further explains the status.
|
int |
hashCode() |
void |
setFormat(java.lang.String format)
This value must currently be
HLSv3. |
void |
setName(java.lang.String name)
The name that you want Elastic Transcoder to assign to the master
playlist, for example, nyc-vacation.m3u8.
|
void |
setOutputKeys(java.util.Collection<java.lang.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 |
setStatus(java.lang.String status)
The status of the job with which the playlist is associated.
|
void |
setStatusDetail(java.lang.String statusDetail)
Information that further explains the status.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Playlist |
withFormat(java.lang.String format)
This value must currently be
HLSv3. |
Playlist |
withName(java.lang.String name)
The name that you want Elastic Transcoder to assign to the master
playlist, for example, nyc-vacation.m3u8.
|
Playlist |
withOutputKeys(java.util.Collection<java.lang.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(java.lang.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 |
withStatus(java.lang.String status)
The status of the job with which the playlist is associated.
|
Playlist |
withStatusDetail(java.lang.String statusDetail)
Information that further explains the status.
|
public java.lang.String getName()
Name objects must be
unique. Note: 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. Note: 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(java.lang.String name)
Name objects must be
unique. Note: 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. Note: Elastic Transcoder automatically appends .m3u8 to
the file name. If you include .m3u8 in Name, it will
appear twice in the file name.public Playlist withName(java.lang.String name)
Name objects must be
unique. Note: 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. Note: Elastic Transcoder automatically appends .m3u8 to
the file name. If you include .m3u8 in Name, it will
appear twice in the file name.public java.lang.String getFormat()
HLSv3.
Constraints:
Pattern: (^HLSv3$)
HLSv3.public void setFormat(java.lang.String format)
HLSv3.
Constraints:
Pattern: (^HLSv3$)
format - This value must currently be HLSv3.public Playlist withFormat(java.lang.String format)
HLSv3.
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 java.util.List<java.lang.String> getOutputKeys()
SegmentDuration for all of the outputs must be the same.
Constraints:
Length: 0 - 30
SegmentDuration for all of the outputs must be the same.public void setOutputKeys(java.util.Collection<java.lang.String> outputKeys)
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 Playlist withOutputKeys(java.lang.String... outputKeys)
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 Playlist withOutputKeys(java.util.Collection<java.lang.String> outputKeys)
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 java.lang.String getStatus()
Constraints:
Pattern: (^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)
public void setStatus(java.lang.String status)
Constraints:
Pattern: (^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)
status - The status of the job with which the playlist is associated.public Playlist withStatus(java.lang.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 java.lang.String getStatusDetail()
Constraints:
Length: 0 - 255
public void setStatusDetail(java.lang.String statusDetail)
Constraints:
Length: 0 - 255
statusDetail - Information that further explains the status.public Playlist withStatusDetail(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object