Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elastictranscoder.model
Class CreateJobPlaylist

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

public class CreateJobPlaylist
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
CreateJobPlaylist()
           
 
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.
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateJobPlaylist

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

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.