Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elastictranscoder.model
Class Playlist

java.lang.Object
  extended by com.amazonaws.services.elastictranscoder.model.Playlist
All Implemented Interfaces:
Serializable

public class Playlist
extends Object
implements 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.

See Also:
Serialized Form

Constructor Summary
Playlist()
           
 
Method Summary
 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.
 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)
          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.
 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)
          This value must currently be HLSv3.
 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 withStatus(String status)
          The status of the job with which the playlist is associated.
 Playlist withStatusDetail(String statusDetail)
          Information that further explains the status.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Playlist

public Playlist()
Method Detail

getName

public String getName()
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.

Constraints:
Length: 1 - 255

Returns:
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.

setName

public void setName(String 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.

Constraints:
Length: 1 - 255

Parameters:
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.

withName

public Playlist withName(String 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 255

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getFormat

public String getFormat()
This value must currently be HLSv3.

Constraints:
Pattern: (^HLSv3$)

Returns:
This value must currently be HLSv3.

setFormat

public void setFormat(String format)
This value must currently be HLSv3.

Constraints:
Pattern: (^HLSv3$)

Parameters:
format - This value must currently be HLSv3.

withFormat

public Playlist withFormat(String format)
This value must currently be HLSv3.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: (^HLSv3$)

Parameters:
format - This value must currently be HLSv3.
Returns:
A reference to this updated object so that method calls can be chained together.

getOutputKeys

public 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. 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

Returns:
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.

setOutputKeys

public 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. 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

Parameters:
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.

withOutputKeys

public 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. 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

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

withOutputKeys

public 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. 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

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public String getStatus()
The status of the job with which the playlist is associated.

Constraints:
Pattern: (^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)

Returns:
The status of the job with which the playlist is associated.

setStatus

public void setStatus(String status)
The status of the job with which the playlist is associated.

Constraints:
Pattern: (^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)

Parameters:
status - The status of the job with which the playlist is associated.

withStatus

public Playlist withStatus(String status)
The status of the job with which the playlist is associated.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: (^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)

Parameters:
status - The status of the job with which the playlist is associated.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatusDetail

public String getStatusDetail()
Information that further explains the status.

Constraints:
Length: 0 - 255

Returns:
Information that further explains the status.

setStatusDetail

public void setStatusDetail(String statusDetail)
Information that further explains the status.

Constraints:
Length: 0 - 255

Parameters:
statusDetail - Information that further explains the status.

withStatusDetail

public Playlist withStatusDetail(String statusDetail)
Information that further explains the status.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 255

Parameters:
statusDetail - Information that further explains the status.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.