public class CreateJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
CreateJob operation.
 When you create a job, Elastic Transcoder returns JSON data that includes the values that you specified plus information about the job that is created.
If you have specified more than one output for your jobs (for example, one output for the Kindle Fire and another output for the Apple iPhone 4s), you currently must use the Elastic Transcoder API to list the jobs (as opposed to the AWS Console).
NOOP| Constructor and Description | 
|---|
| CreateJobRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| CreateJobRequest | addUserMetadataEntry(String key,
                    String value)User-defined metadata that you want to associate with an Elastic
 Transcoder job. | 
| CreateJobRequest | clearUserMetadataEntries()Removes all the entries added into UserMetadata. | 
| CreateJobRequest | clone()Creates a shallow clone of this request. | 
| boolean | equals(Object obj) | 
| JobInput | getInput()A section of the request body that provides information about the file
 that is being transcoded. | 
| CreateJobOutput | getOutput()The  CreateJobOutputstructure. | 
| String | getOutputKeyPrefix()The value, if any, that you want Elastic Transcoder to prepend to the
 names of all files that this job creates, including output files,
 thumbnails, and playlists. | 
| List<CreateJobOutput> | getOutputs()A section of the request body that provides information about the
 transcoded (target) files. | 
| String | getPipelineId()The  Idof the pipeline that you want Elastic Transcoder
 to use for transcoding. | 
| List<CreateJobPlaylist> | getPlaylists()If you specify a preset in  PresetIdfor which the value
 ofContaineris fmp4 (Fragmented MP4) or ts (MPEG-TS),
 Playlists contains information about the master playlists that you
 want Elastic Transcoder to create. | 
| Map<String,String> | getUserMetadata()User-defined metadata that you want to associate with an Elastic
 Transcoder job. | 
| int | hashCode() | 
| void | setInput(JobInput input)A section of the request body that provides information about the file
 that is being transcoded. | 
| void | setOutput(CreateJobOutput output)The  CreateJobOutputstructure. | 
| void | setOutputKeyPrefix(String outputKeyPrefix)The value, if any, that you want Elastic Transcoder to prepend to the
 names of all files that this job creates, including output files,
 thumbnails, and playlists. | 
| void | setOutputs(Collection<CreateJobOutput> outputs)A section of the request body that provides information about the
 transcoded (target) files. | 
| void | setPipelineId(String pipelineId)The  Idof the pipeline that you want Elastic Transcoder
 to use for transcoding. | 
| void | setPlaylists(Collection<CreateJobPlaylist> playlists)If you specify a preset in  PresetIdfor which the value
 ofContaineris fmp4 (Fragmented MP4) or ts (MPEG-TS),
 Playlists contains information about the master playlists that you
 want Elastic Transcoder to create. | 
| void | setUserMetadata(Map<String,String> userMetadata)User-defined metadata that you want to associate with an Elastic
 Transcoder job. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| CreateJobRequest | withInput(JobInput input)A section of the request body that provides information about the file
 that is being transcoded. | 
| CreateJobRequest | withOutput(CreateJobOutput output)The  CreateJobOutputstructure. | 
| CreateJobRequest | withOutputKeyPrefix(String outputKeyPrefix)The value, if any, that you want Elastic Transcoder to prepend to the
 names of all files that this job creates, including output files,
 thumbnails, and playlists. | 
| CreateJobRequest | withOutputs(Collection<CreateJobOutput> outputs)A section of the request body that provides information about the
 transcoded (target) files. | 
| CreateJobRequest | withOutputs(CreateJobOutput... outputs)A section of the request body that provides information about the
 transcoded (target) files. | 
| CreateJobRequest | withPipelineId(String pipelineId)The  Idof the pipeline that you want Elastic Transcoder
 to use for transcoding. | 
| CreateJobRequest | withPlaylists(Collection<CreateJobPlaylist> playlists)If you specify a preset in  PresetIdfor which the value
 ofContaineris fmp4 (Fragmented MP4) or ts (MPEG-TS),
 Playlists contains information about the master playlists that you
 want Elastic Transcoder to create. | 
| CreateJobRequest | withPlaylists(CreateJobPlaylist... playlists)If you specify a preset in  PresetIdfor which the value
 ofContaineris fmp4 (Fragmented MP4) or ts (MPEG-TS),
 Playlists contains information about the master playlists that you
 want Elastic Transcoder to create. | 
| CreateJobRequest | withUserMetadata(Map<String,String> userMetadata)User-defined metadata that you want to associate with an Elastic
 Transcoder job. | 
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getPipelineId()
Id of the pipeline that you want Elastic Transcoder
 to use for transcoding. The pipeline determines several settings,
 including the Amazon S3 bucket from which Elastic Transcoder gets the
 files to transcode and the bucket into which Elastic Transcoder puts
 the transcoded files.
 
 Constraints:
 Pattern: ^\d{13}-\w{6}$
Id of the pipeline that you want Elastic Transcoder
         to use for transcoding. The pipeline determines several settings,
         including the Amazon S3 bucket from which Elastic Transcoder gets the
         files to transcode and the bucket into which Elastic Transcoder puts
         the transcoded files.public void setPipelineId(String pipelineId)
Id of the pipeline that you want Elastic Transcoder
 to use for transcoding. The pipeline determines several settings,
 including the Amazon S3 bucket from which Elastic Transcoder gets the
 files to transcode and the bucket into which Elastic Transcoder puts
 the transcoded files.
 
 Constraints:
 Pattern: ^\d{13}-\w{6}$
pipelineId - The Id of the pipeline that you want Elastic Transcoder
         to use for transcoding. The pipeline determines several settings,
         including the Amazon S3 bucket from which Elastic Transcoder gets the
         files to transcode and the bucket into which Elastic Transcoder puts
         the transcoded files.public CreateJobRequest withPipelineId(String pipelineId)
Id of the pipeline that you want Elastic Transcoder
 to use for transcoding. The pipeline determines several settings,
 including the Amazon S3 bucket from which Elastic Transcoder gets the
 files to transcode and the bucket into which Elastic Transcoder puts
 the transcoded files.
 Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Pattern: ^\d{13}-\w{6}$
pipelineId - The Id of the pipeline that you want Elastic Transcoder
         to use for transcoding. The pipeline determines several settings,
         including the Amazon S3 bucket from which Elastic Transcoder gets the
         files to transcode and the bucket into which Elastic Transcoder puts
         the transcoded files.public JobInput getInput()
public void setInput(JobInput input)
input - A section of the request body that provides information about the file
         that is being transcoded.public CreateJobRequest withInput(JobInput input)
Returns a reference to this object so that method calls can be chained together.
input - A section of the request body that provides information about the file
         that is being transcoded.public CreateJobOutput getOutput()
CreateJobOutput structure.CreateJobOutput structure.public void setOutput(CreateJobOutput output)
CreateJobOutput structure.output - The CreateJobOutput structure.public CreateJobRequest withOutput(CreateJobOutput output)
CreateJobOutput structure.
 Returns a reference to this object so that method calls can be chained together.
output - The CreateJobOutput structure.public List<CreateJobOutput> getOutputs()
Outputs syntax instead of the Output syntax.
 
 Constraints:
 Length: 0 - 30
Outputs syntax instead of the Output syntax.public void setOutputs(Collection<CreateJobOutput> outputs)
Outputs syntax instead of the Output syntax.
 
 Constraints:
 Length: 0 - 30
outputs - A section of the request body that provides information about the
         transcoded (target) files. We recommend that you use the
         Outputs syntax instead of the Output syntax.public CreateJobRequest withOutputs(CreateJobOutput... outputs)
Outputs syntax instead of the Output syntax.
 
 NOTE: This method appends the values to the existing list (if
 any). Use setOutputs(java.util.Collection) or withOutputs(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
outputs - A section of the request body that provides information about the
         transcoded (target) files. We recommend that you use the
         Outputs syntax instead of the Output syntax.public CreateJobRequest withOutputs(Collection<CreateJobOutput> outputs)
Outputs syntax instead of the Output syntax.
 Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 30
outputs - A section of the request body that provides information about the
         transcoded (target) files. We recommend that you use the
         Outputs syntax instead of the Output syntax.public String getOutputKeyPrefix()
 Constraints:
 Length: 1 - 255
public void setOutputKeyPrefix(String outputKeyPrefix)
 Constraints:
 Length: 1 - 255
outputKeyPrefix - The value, if any, that you want Elastic Transcoder to prepend to the
         names of all files that this job creates, including output files,
         thumbnails, and playlists.public CreateJobRequest withOutputKeyPrefix(String outputKeyPrefix)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 255
outputKeyPrefix - The value, if any, that you want Elastic Transcoder to prepend to the
         names of all files that this job creates, including output files,
         thumbnails, and playlists.public List<CreateJobPlaylist> getPlaylists()
PresetId 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. The maximum number of master playlists in a job is 30.
 Constraints:
 Length: 0 - 30
PresetId 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. The maximum number of master playlists in a job is 30.
public void setPlaylists(Collection<CreateJobPlaylist> playlists)
PresetId 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. The maximum number of master playlists in a job is 30.
 Constraints:
 Length: 0 - 30
playlists - If you specify a preset in PresetId 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. The maximum number of master playlists in a job is 30.
public CreateJobRequest withPlaylists(CreateJobPlaylist... playlists)
PresetId 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. The maximum number of master playlists in a job is 30.
 NOTE: This method appends the values to the existing list (if
 any). Use setPlaylists(java.util.Collection) or withPlaylists(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
playlists - If you specify a preset in PresetId 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. The maximum number of master playlists in a job is 30.
public CreateJobRequest withPlaylists(Collection<CreateJobPlaylist> playlists)
PresetId 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. The maximum number of master playlists in a job is 30.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 30
playlists - If you specify a preset in PresetId 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. The maximum number of master playlists in a job is 30.
public Map<String,String> getUserMetadata()
key/value pairs,
 and you can add up to 10 key/value pairs per job. Elastic
 Transcoder does not guarantee that key/value pairs will
 be returned in the same order in which you specify them.key/value pairs,
         and you can add up to 10 key/value pairs per job. Elastic
         Transcoder does not guarantee that key/value pairs will
         be returned in the same order in which you specify them.public void setUserMetadata(Map<String,String> userMetadata)
key/value pairs,
 and you can add up to 10 key/value pairs per job. Elastic
 Transcoder does not guarantee that key/value pairs will
 be returned in the same order in which you specify them.userMetadata - User-defined metadata that you want to associate with an Elastic
         Transcoder job. You specify metadata in key/value pairs,
         and you can add up to 10 key/value pairs per job. Elastic
         Transcoder does not guarantee that key/value pairs will
         be returned in the same order in which you specify them.public CreateJobRequest withUserMetadata(Map<String,String> userMetadata)
key/value pairs,
 and you can add up to 10 key/value pairs per job. Elastic
 Transcoder does not guarantee that key/value pairs will
 be returned in the same order in which you specify them.
 Returns a reference to this object so that method calls can be chained together.
userMetadata - User-defined metadata that you want to associate with an Elastic
         Transcoder job. You specify metadata in key/value pairs,
         and you can add up to 10 key/value pairs per job. Elastic
         Transcoder does not guarantee that key/value pairs will
         be returned in the same order in which you specify them.public CreateJobRequest addUserMetadataEntry(String key, String value)
key/value pairs,
 and you can add up to 10 key/value pairs per job. Elastic
 Transcoder does not guarantee that key/value pairs will
 be returned in the same order in which you specify them.
 The method adds a new key-value pair into UserMetadata parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into UserMetadata.value - The corresponding value of the entry to be added into UserMetadata.public CreateJobRequest clearUserMetadataEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString in class ObjectObject.toString()public CreateJobRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.