public class CreateJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The CreateJobRequest
structure.
NOOP
Constructor and Description |
---|
CreateJobRequest() |
Modifier and Type | Method and Description |
---|---|
CreateJobRequest |
addUserMetadataEntry(String key,
String value) |
CreateJobRequest |
clearUserMetadataEntries()
Removes all the entries added into UserMetadata.
|
CreateJobRequest |
clone() |
boolean |
equals(Object obj) |
JobInput |
getInput()
A section of the request body that provides information about the file
that is being transcoded.
|
CreateJobOutput |
getOutput() |
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
Id of the pipeline that you want Elastic Transcoder to
use for transcoding. |
List<CreateJobPlaylist> |
getPlaylists()
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. |
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) |
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
Id of the pipeline that you want Elastic Transcoder to
use for transcoding. |
void |
setPlaylists(Collection<CreateJobPlaylist> 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. |
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) |
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
Id of the pipeline that you want Elastic Transcoder to
use for transcoding. |
CreateJobRequest |
withPlaylists(Collection<CreateJobPlaylist> 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. |
CreateJobRequest |
withPlaylists(CreateJobPlaylist... 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. |
CreateJobRequest |
withUserMetadata(Map<String,String> userMetadata)
User-defined metadata that you want to associate with an Elastic
Transcoder job.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPipelineId(String 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.
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 String getPipelineId()
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.
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)
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.
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 void setInput(JobInput input)
A section of the request body that provides information about the file that is being transcoded.
input
- A section of the request body that provides information about the
file that is being transcoded.public JobInput getInput()
A section of the request body that provides information about the file that is being transcoded.
public CreateJobRequest withInput(JobInput input)
A section of the request body that provides information about the file that is being transcoded.
input
- A section of the request body that provides information about the
file that is being transcoded.public void setOutput(CreateJobOutput output)
output
- public CreateJobOutput getOutput()
public CreateJobRequest withOutput(CreateJobOutput output)
output
- public List<CreateJobOutput> getOutputs()
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.
Outputs
syntax instead of the Output
syntax.public void setOutputs(Collection<CreateJobOutput> 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.
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)
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.
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.
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)
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.
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 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.
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 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.
public 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.
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()
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.
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)
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.
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)
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.
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.
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)
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.
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()
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.
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)
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.
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)
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.
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)
public CreateJobRequest clearUserMetadataEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateJobRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2016. All rights reserved.