Class CreateJobRequest
- All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable
The CreateJobRequest structure.
- See Also:
-
Field Summary
Fields inherited from class AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddUserMetadataEntry(String key, String value) Removes all the entries added into UserMetadata.clone()Creates a shallow clone of this request.booleangetInput()A section of the request body that provides information about the file that is being transcoded.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.A section of the request body that provides information about the transcoded (target) files.TheIdof the pipeline that you want Elastic Transcoder to use for transcoding.If you specify a preset inPresetIdfor 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.User-defined metadata that you want to associate with an Elastic Transcoder job.inthashCode()voidA section of the request body that provides information about the file that is being transcoded.voidsetOutput(CreateJobOutput output) voidsetOutputKeyPrefix(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.voidsetOutputs(Collection<CreateJobOutput> outputs) A section of the request body that provides information about the transcoded (target) files.voidsetPipelineId(String pipelineId) TheIdof the pipeline that you want Elastic Transcoder to use for transcoding.voidsetPlaylists(Collection<CreateJobPlaylist> playlists) If you specify a preset inPresetIdfor 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.voidsetUserMetadata(Map<String, String> userMetadata) User-defined metadata that you want to associate with an Elastic Transcoder job.toString()Returns a string representation of this object; useful for testing and debugging.A section of the request body that provides information about the file that is being transcoded.withOutput(CreateJobOutput output) 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.withOutputs(CreateJobOutput... outputs) A section of the request body that provides information about the transcoded (target) files.withOutputs(Collection<CreateJobOutput> outputs) A section of the request body that provides information about the transcoded (target) files.withPipelineId(String pipelineId) TheIdof the pipeline that you want Elastic Transcoder to use for transcoding.withPlaylists(CreateJobPlaylist... playlists) If you specify a preset inPresetIdfor 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.withPlaylists(Collection<CreateJobPlaylist> playlists) If you specify a preset inPresetIdfor 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.withUserMetadata(Map<String, String> userMetadata) User-defined metadata that you want to associate with an Elastic Transcoder job.Methods inherited from class AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateJobRequest
public CreateJobRequest()
-
-
Method Details
-
setPipelineId
The
Idof 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.- Parameters:
pipelineId- TheIdof 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.
-
getPipelineId
The
Idof 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:
- The
Idof 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.
-
withPipelineId
The
Idof 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.- Parameters:
pipelineId- TheIdof 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:
- Returns a reference to this object so that method calls can be chained together.
-
setInput
A section of the request body that provides information about the file that is being transcoded.
- Parameters:
input- A section of the request body that provides information about the file that is being transcoded.
-
getInput
A section of the request body that provides information about the file that is being transcoded.
- Returns:
- A section of the request body that provides information about the file that is being transcoded.
-
withInput
A section of the request body that provides information about the file that is being transcoded.
- Parameters:
input- A section of the request body that provides information about the file that is being transcoded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOutput
- Parameters:
output-
-
getOutput
- Returns:
-
withOutput
- Parameters:
output-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getOutputs
A section of the request body that provides information about the transcoded (target) files. We recommend that you use the
Outputssyntax instead of theOutputsyntax.- Returns:
- A section of the request body that provides information about the
transcoded (target) files. We recommend that you use the
Outputssyntax instead of theOutputsyntax.
-
setOutputs
A section of the request body that provides information about the transcoded (target) files. We recommend that you use the
Outputssyntax instead of theOutputsyntax.- Parameters:
outputs- A section of the request body that provides information about the transcoded (target) files. We recommend that you use theOutputssyntax instead of theOutputsyntax.
-
withOutputs
A section of the request body that provides information about the transcoded (target) files. We recommend that you use the
Outputssyntax instead of theOutputsyntax.NOTE: This method appends the values to the existing list (if any). Use
setOutputs(java.util.Collection)orwithOutputs(java.util.Collection)if you want to override the existing values.- Parameters:
outputs- A section of the request body that provides information about the transcoded (target) files. We recommend that you use theOutputssyntax instead of theOutputsyntax.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withOutputs
A section of the request body that provides information about the transcoded (target) files. We recommend that you use the
Outputssyntax instead of theOutputsyntax.- Parameters:
outputs- A section of the request body that provides information about the transcoded (target) files. We recommend that you use theOutputssyntax instead of theOutputsyntax.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOutputKeyPrefix
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withOutputKeyPrefix
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.The maximum number of master playlists in a job is 30.
- Returns:
- 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.The maximum number of master playlists in a job is 30.
-
setPlaylists
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.The maximum number of master playlists in a job is 30.
- Parameters:
playlists- If you specify a preset inPresetIdfor 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.The maximum number of master playlists in a job is 30.
-
withPlaylists
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.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)orwithPlaylists(java.util.Collection)if you want to override the existing values.- Parameters:
playlists- If you specify a preset inPresetIdfor 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.The maximum number of master playlists in a job is 30.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPlaylists
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.The maximum number of master playlists in a job is 30.
- Parameters:
playlists- If you specify a preset inPresetIdfor 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.The maximum number of master playlists in a job is 30.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getUserMetadata
User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in
key/valuepairs, and you can add up to 10key/valuepairs per job. Elastic Transcoder does not guarantee thatkey/valuepairs will be returned in the same order in which you specify them.- Returns:
- User-defined metadata that you want to associate with an Elastic
Transcoder job. You specify metadata in
key/valuepairs, and you can add up to 10key/valuepairs per job. Elastic Transcoder does not guarantee thatkey/valuepairs will be returned in the same order in which you specify them.
-
setUserMetadata
User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in
key/valuepairs, and you can add up to 10key/valuepairs per job. Elastic Transcoder does not guarantee thatkey/valuepairs will be returned in the same order in which you specify them.- Parameters:
userMetadata- User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata inkey/valuepairs, and you can add up to 10key/valuepairs per job. Elastic Transcoder does not guarantee thatkey/valuepairs will be returned in the same order in which you specify them.
-
withUserMetadata
User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata in
key/valuepairs, and you can add up to 10key/valuepairs per job. Elastic Transcoder does not guarantee thatkey/valuepairs will be returned in the same order in which you specify them.- Parameters:
userMetadata- User-defined metadata that you want to associate with an Elastic Transcoder job. You specify metadata inkey/valuepairs, and you can add up to 10key/valuepairs per job. Elastic Transcoder does not guarantee thatkey/valuepairs will be returned in the same order in which you specify them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addUserMetadataEntry
-
clearUserMetadataEntries
Removes all the entries added into UserMetadata. <p> Returns a reference to this object so that method calls can be chained together. -
toString
-
equals
-
hashCode
-
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-