public class JobOutput extends Object implements Serializable
IMPORTANT:Outputs recommended instead.
If you specified one output for a job, information about that output. If you specified multiple outputs for a job, theOutput
object
lists information about the first output. This duplicates the information that is listed for the first output in the Outputs
object.
Constructor and Description |
---|
JobOutput() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
JobAlbumArt |
getAlbumArt()
The album art to be associated with the output file, if any.
|
Long |
getDuration()
Duration of the output file, in seconds.
|
Integer |
getHeight()
Height of the output file, in pixels.
|
String |
getId()
A sequential counter, starting with 1, that identifies an output among
the outputs from the current job.
|
String |
getKey()
The name to assign to the transcoded file.
|
String |
getPresetId()
The value of the
Id object for the preset that you want
to use for this job. |
String |
getRotate()
The number of degrees clockwise by which you want Elastic Transcoder
to rotate the output relative to the input.
|
String |
getSegmentDuration()
PresetId for which the value of
Container is ts (MPEG-TS),
SegmentDuration is the maximum duration of each .ts file
in seconds. |
String |
getStatus()
The status of one output in a job.
|
String |
getStatusDetail()
Information that further explains
Status . |
String |
getThumbnailPattern()
Whether you want Elastic Transcoder to create thumbnails for your
videos and, if so, how you want Elastic Transcoder to name the files.
|
List<JobWatermark> |
getWatermarks()
Information about the watermarks that you want Elastic Transcoder to
add to the video during transcoding.
|
Integer |
getWidth()
Specifies the width of the output file in pixels.
|
int |
hashCode() |
void |
setAlbumArt(JobAlbumArt albumArt)
The album art to be associated with the output file, if any.
|
void |
setDuration(Long duration)
Duration of the output file, in seconds.
|
void |
setHeight(Integer height)
Height of the output file, in pixels.
|
void |
setId(String id)
A sequential counter, starting with 1, that identifies an output among
the outputs from the current job.
|
void |
setKey(String key)
The name to assign to the transcoded file.
|
void |
setPresetId(String presetId)
The value of the
Id object for the preset that you want
to use for this job. |
void |
setRotate(String rotate)
The number of degrees clockwise by which you want Elastic Transcoder
to rotate the output relative to the input.
|
void |
setSegmentDuration(String segmentDuration)
PresetId for which the value of
Container is ts (MPEG-TS),
SegmentDuration is the maximum duration of each .ts file
in seconds. |
void |
setStatus(String status)
The status of one output in a job.
|
void |
setStatusDetail(String statusDetail)
Information that further explains
Status . |
void |
setThumbnailPattern(String thumbnailPattern)
Whether you want Elastic Transcoder to create thumbnails for your
videos and, if so, how you want Elastic Transcoder to name the files.
|
void |
setWatermarks(Collection<JobWatermark> watermarks)
Information about the watermarks that you want Elastic Transcoder to
add to the video during transcoding.
|
void |
setWidth(Integer width)
Specifies the width of the output file in pixels.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
JobOutput |
withAlbumArt(JobAlbumArt albumArt)
The album art to be associated with the output file, if any.
|
JobOutput |
withDuration(Long duration)
Duration of the output file, in seconds.
|
JobOutput |
withHeight(Integer height)
Height of the output file, in pixels.
|
JobOutput |
withId(String id)
A sequential counter, starting with 1, that identifies an output among
the outputs from the current job.
|
JobOutput |
withKey(String key)
The name to assign to the transcoded file.
|
JobOutput |
withPresetId(String presetId)
The value of the
Id object for the preset that you want
to use for this job. |
JobOutput |
withRotate(String rotate)
The number of degrees clockwise by which you want Elastic Transcoder
to rotate the output relative to the input.
|
JobOutput |
withSegmentDuration(String segmentDuration)
PresetId for which the value of
Container is ts (MPEG-TS),
SegmentDuration is the maximum duration of each .ts file
in seconds. |
JobOutput |
withStatus(String status)
The status of one output in a job.
|
JobOutput |
withStatusDetail(String statusDetail)
Information that further explains
Status . |
JobOutput |
withThumbnailPattern(String thumbnailPattern)
Whether you want Elastic Transcoder to create thumbnails for your
videos and, if so, how you want Elastic Transcoder to name the files.
|
JobOutput |
withWatermarks(Collection<JobWatermark> watermarks)
Information about the watermarks that you want Elastic Transcoder to
add to the video during transcoding.
|
JobOutput |
withWatermarks(JobWatermark... watermarks)
Information about the watermarks that you want Elastic Transcoder to
add to the video during transcoding.
|
JobOutput |
withWidth(Integer width)
Specifies the width of the output file in pixels.
|
public String getId()
public void setId(String id)
id
- A sequential counter, starting with 1, that identifies an output among
the outputs from the current job. In the Output syntax, this value is
always 1.public JobOutput withId(String id)
Returns a reference to this object so that method calls can be chained together.
id
- A sequential counter, starting with 1, that identifies an output among
the outputs from the current job. In the Output syntax, this value is
always 1.public String getKey()
OutputBucket
object in the pipeline that is specified by
the pipeline ID.
Constraints:
Length: 1 - 255
OutputBucket
object in the pipeline that is specified by
the pipeline ID.public void setKey(String key)
OutputBucket
object in the pipeline that is specified by
the pipeline ID.
Constraints:
Length: 1 - 255
key
- The name to assign to the transcoded file. Elastic Transcoder saves
the file in the Amazon S3 bucket specified by the
OutputBucket
object in the pipeline that is specified by
the pipeline ID.public JobOutput withKey(String key)
OutputBucket
object in the pipeline that is specified by
the pipeline ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
key
- The name to assign to the transcoded file. Elastic Transcoder saves
the file in the Amazon S3 bucket specified by the
OutputBucket
object in the pipeline that is specified by
the pipeline ID.public String getThumbnailPattern()
If you don't want Elastic Transcoder to create thumbnails, specify "".
If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:
{count}
(Required): If you want to
create thumbnails, you must include {count}
in the
ThumbnailPattern
object. Wherever you specify
{count}
, Elastic Transcoder adds a five-digit sequence
number (beginning with 00001) to thumbnail file names. The
number indicates where a given thumbnail appears in the sequence of
thumbnails for a transcoded file. {resolution}
but you omit
{count}
, Elastic Transcoder returns a validation error
and does not create the job.
Literal
values (Optional): You can specify literal values anywhere in the
ThumbnailPattern
object. For example, you can include
them as a file name prefix or as a delimiter between
{resolution}
and {count}
.
{resolution}
(Optional): If you want Elastic
Transcoder to include the resolution in the file name, include
{resolution}
in the ThumbnailPattern
object.
When creating thumbnails, Elastic Transcoder
automatically saves the files in the format (.jpg or .png) that
appears in the preset that you specified in the PresetID
value of CreateJobOutput
. Elastic Transcoder also appends
the applicable file name extension.
Constraints:
Pattern: (^$)|(^.*\{count\}.*$)
If you don't want Elastic Transcoder to create thumbnails, specify "".
If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:
{count}
(Required): If you want to
create thumbnails, you must include {count}
in the
ThumbnailPattern
object. Wherever you specify
{count}
, Elastic Transcoder adds a five-digit sequence
number (beginning with 00001) to thumbnail file names. The
number indicates where a given thumbnail appears in the sequence of
thumbnails for a transcoded file. {resolution}
but you omit
{count}
, Elastic Transcoder returns a validation error
and does not create the job.
Literal
values (Optional): You can specify literal values anywhere in the
ThumbnailPattern
object. For example, you can include
them as a file name prefix or as a delimiter between
{resolution}
and {count}
.
{resolution}
(Optional): If you want Elastic
Transcoder to include the resolution in the file name, include
{resolution}
in the ThumbnailPattern
object.
When creating thumbnails, Elastic Transcoder
automatically saves the files in the format (.jpg or .png) that
appears in the preset that you specified in the PresetID
value of CreateJobOutput
. Elastic Transcoder also appends
the applicable file name extension.
public void setThumbnailPattern(String thumbnailPattern)
If you don't want Elastic Transcoder to create thumbnails, specify "".
If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:
{count}
(Required): If you want to
create thumbnails, you must include {count}
in the
ThumbnailPattern
object. Wherever you specify
{count}
, Elastic Transcoder adds a five-digit sequence
number (beginning with 00001) to thumbnail file names. The
number indicates where a given thumbnail appears in the sequence of
thumbnails for a transcoded file. {resolution}
but you omit
{count}
, Elastic Transcoder returns a validation error
and does not create the job.
Literal
values (Optional): You can specify literal values anywhere in the
ThumbnailPattern
object. For example, you can include
them as a file name prefix or as a delimiter between
{resolution}
and {count}
.
{resolution}
(Optional): If you want Elastic
Transcoder to include the resolution in the file name, include
{resolution}
in the ThumbnailPattern
object.
When creating thumbnails, Elastic Transcoder
automatically saves the files in the format (.jpg or .png) that
appears in the preset that you specified in the PresetID
value of CreateJobOutput
. Elastic Transcoder also appends
the applicable file name extension.
Constraints:
Pattern: (^$)|(^.*\{count\}.*$)
thumbnailPattern
- Whether you want Elastic Transcoder to create thumbnails for your
videos and, if so, how you want Elastic Transcoder to name the files.
If you don't want Elastic Transcoder to create thumbnails, specify "".
If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:
{count}
(Required): If you want to
create thumbnails, you must include {count}
in the
ThumbnailPattern
object. Wherever you specify
{count}
, Elastic Transcoder adds a five-digit sequence
number (beginning with 00001) to thumbnail file names. The
number indicates where a given thumbnail appears in the sequence of
thumbnails for a transcoded file. {resolution}
but you omit
{count}
, Elastic Transcoder returns a validation error
and does not create the job.
Literal
values (Optional): You can specify literal values anywhere in the
ThumbnailPattern
object. For example, you can include
them as a file name prefix or as a delimiter between
{resolution}
and {count}
.
{resolution}
(Optional): If you want Elastic
Transcoder to include the resolution in the file name, include
{resolution}
in the ThumbnailPattern
object.
When creating thumbnails, Elastic Transcoder
automatically saves the files in the format (.jpg or .png) that
appears in the preset that you specified in the PresetID
value of CreateJobOutput
. Elastic Transcoder also appends
the applicable file name extension.
public JobOutput withThumbnailPattern(String thumbnailPattern)
If you don't want Elastic Transcoder to create thumbnails, specify "".
If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:
{count}
(Required): If you want to
create thumbnails, you must include {count}
in the
ThumbnailPattern
object. Wherever you specify
{count}
, Elastic Transcoder adds a five-digit sequence
number (beginning with 00001) to thumbnail file names. The
number indicates where a given thumbnail appears in the sequence of
thumbnails for a transcoded file. {resolution}
but you omit
{count}
, Elastic Transcoder returns a validation error
and does not create the job.
Literal
values (Optional): You can specify literal values anywhere in the
ThumbnailPattern
object. For example, you can include
them as a file name prefix or as a delimiter between
{resolution}
and {count}
.
{resolution}
(Optional): If you want Elastic
Transcoder to include the resolution in the file name, include
{resolution}
in the ThumbnailPattern
object.
When creating thumbnails, Elastic Transcoder
automatically saves the files in the format (.jpg or .png) that
appears in the preset that you specified in the PresetID
value of CreateJobOutput
. Elastic Transcoder also appends
the applicable file name extension.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^$)|(^.*\{count\}.*$)
thumbnailPattern
- Whether you want Elastic Transcoder to create thumbnails for your
videos and, if so, how you want Elastic Transcoder to name the files.
If you don't want Elastic Transcoder to create thumbnails, specify "".
If you do want Elastic Transcoder to create thumbnails, specify the information that you want to include in the file name for each thumbnail. You can specify the following values in any sequence:
{count}
(Required): If you want to
create thumbnails, you must include {count}
in the
ThumbnailPattern
object. Wherever you specify
{count}
, Elastic Transcoder adds a five-digit sequence
number (beginning with 00001) to thumbnail file names. The
number indicates where a given thumbnail appears in the sequence of
thumbnails for a transcoded file. {resolution}
but you omit
{count}
, Elastic Transcoder returns a validation error
and does not create the job.
Literal
values (Optional): You can specify literal values anywhere in the
ThumbnailPattern
object. For example, you can include
them as a file name prefix or as a delimiter between
{resolution}
and {count}
.
{resolution}
(Optional): If you want Elastic
Transcoder to include the resolution in the file name, include
{resolution}
in the ThumbnailPattern
object.
When creating thumbnails, Elastic Transcoder
automatically saves the files in the format (.jpg or .png) that
appears in the preset that you specified in the PresetID
value of CreateJobOutput
. Elastic Transcoder also appends
the applicable file name extension.
public String getRotate()
auto
, 0
, 90
,
180
, 270
The value auto
generally works only if the file that you're transcoding contains
rotation metadata.
Constraints:
Pattern: (^auto$)|(^0$)|(^90$)|(^180$)|(^270$)
auto
, 0
, 90
,
180
, 270
The value auto
generally works only if the file that you're transcoding contains
rotation metadata.
public void setRotate(String rotate)
auto
, 0
, 90
,
180
, 270
The value auto
generally works only if the file that you're transcoding contains
rotation metadata.
Constraints:
Pattern: (^auto$)|(^0$)|(^90$)|(^180$)|(^270$)
rotate
- The number of degrees clockwise by which you want Elastic Transcoder
to rotate the output relative to the input. Enter one of the following
values: auto
, 0
, 90
,
180
, 270
The value auto
generally works only if the file that you're transcoding contains
rotation metadata.
public JobOutput withRotate(String rotate)
auto
, 0
, 90
,
180
, 270
The value auto
generally works only if the file that you're transcoding contains
rotation metadata.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^auto$)|(^0$)|(^90$)|(^180$)|(^270$)
rotate
- The number of degrees clockwise by which you want Elastic Transcoder
to rotate the output relative to the input. Enter one of the following
values: auto
, 0
, 90
,
180
, 270
The value auto
generally works only if the file that you're transcoding contains
rotation metadata.
public String getPresetId()
Id
object for the preset that you want
to use for this job. The preset determines the audio, video, and
thumbnail settings that Elastic Transcoder uses for transcoding. To
use a preset that you created, specify the preset ID that Elastic
Transcoder returned in the response when you created the preset. You
can also use the Elastic Transcoder system presets, which you can get
with ListPresets
.
Constraints:
Pattern: ^\d{13}-\w{6}$
Id
object for the preset that you want
to use for this job. The preset determines the audio, video, and
thumbnail settings that Elastic Transcoder uses for transcoding. To
use a preset that you created, specify the preset ID that Elastic
Transcoder returned in the response when you created the preset. You
can also use the Elastic Transcoder system presets, which you can get
with ListPresets
.public void setPresetId(String presetId)
Id
object for the preset that you want
to use for this job. The preset determines the audio, video, and
thumbnail settings that Elastic Transcoder uses for transcoding. To
use a preset that you created, specify the preset ID that Elastic
Transcoder returned in the response when you created the preset. You
can also use the Elastic Transcoder system presets, which you can get
with ListPresets
.
Constraints:
Pattern: ^\d{13}-\w{6}$
presetId
- The value of the Id
object for the preset that you want
to use for this job. The preset determines the audio, video, and
thumbnail settings that Elastic Transcoder uses for transcoding. To
use a preset that you created, specify the preset ID that Elastic
Transcoder returned in the response when you created the preset. You
can also use the Elastic Transcoder system presets, which you can get
with ListPresets
.public JobOutput withPresetId(String presetId)
Id
object for the preset that you want
to use for this job. The preset determines the audio, video, and
thumbnail settings that Elastic Transcoder uses for transcoding. To
use a preset that you created, specify the preset ID that Elastic
Transcoder returned in the response when you created the preset. You
can also use the Elastic Transcoder system presets, which you can get
with ListPresets
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^\d{13}-\w{6}$
presetId
- The value of the Id
object for the preset that you want
to use for this job. The preset determines the audio, video, and
thumbnail settings that Elastic Transcoder uses for transcoding. To
use a preset that you created, specify the preset ID that Elastic
Transcoder returned in the response when you created the preset. You
can also use the Elastic Transcoder system presets, which you can get
with ListPresets
.public String getSegmentDuration()
PresetId
for which the value of
Container
is ts
(MPEG-TS),
SegmentDuration
is the maximum duration of each .ts file
in seconds. The range of valid values is 1 to 60 seconds. If the
duration of the video is not evenly divisible by
SegmentDuration
, the duration of the last segment is the
remainder of total length/SegmentDuration. Elastic Transcoder creates
an output-specific playlist for each output that you specify in
OutputKeys. To add an output to the master playlist for this job,
include it in OutputKeys
.
Constraints:
Pattern: ^\d{1,5}([.]\d{0,5})?$
PresetId
for which the value of
Container
is ts
(MPEG-TS),
SegmentDuration
is the maximum duration of each .ts file
in seconds. The range of valid values is 1 to 60 seconds. If the
duration of the video is not evenly divisible by
SegmentDuration
, the duration of the last segment is the
remainder of total length/SegmentDuration. Elastic Transcoder creates
an output-specific playlist for each output that you specify in
OutputKeys. To add an output to the master playlist for this job,
include it in OutputKeys
.public void setSegmentDuration(String segmentDuration)
PresetId
for which the value of
Container
is ts
(MPEG-TS),
SegmentDuration
is the maximum duration of each .ts file
in seconds. The range of valid values is 1 to 60 seconds. If the
duration of the video is not evenly divisible by
SegmentDuration
, the duration of the last segment is the
remainder of total length/SegmentDuration. Elastic Transcoder creates
an output-specific playlist for each output that you specify in
OutputKeys. To add an output to the master playlist for this job,
include it in OutputKeys
.
Constraints:
Pattern: ^\d{1,5}([.]\d{0,5})?$
segmentDuration
- PresetId
for which the value of
Container
is ts
(MPEG-TS),
SegmentDuration
is the maximum duration of each .ts file
in seconds. The range of valid values is 1 to 60 seconds. If the
duration of the video is not evenly divisible by
SegmentDuration
, the duration of the last segment is the
remainder of total length/SegmentDuration. Elastic Transcoder creates
an output-specific playlist for each output that you specify in
OutputKeys. To add an output to the master playlist for this job,
include it in OutputKeys
.public JobOutput withSegmentDuration(String segmentDuration)
PresetId
for which the value of
Container
is ts
(MPEG-TS),
SegmentDuration
is the maximum duration of each .ts file
in seconds. The range of valid values is 1 to 60 seconds. If the
duration of the video is not evenly divisible by
SegmentDuration
, the duration of the last segment is the
remainder of total length/SegmentDuration. Elastic Transcoder creates
an output-specific playlist for each output that you specify in
OutputKeys. To add an output to the master playlist for this job,
include it in OutputKeys
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^\d{1,5}([.]\d{0,5})?$
segmentDuration
- PresetId
for which the value of
Container
is ts
(MPEG-TS),
SegmentDuration
is the maximum duration of each .ts file
in seconds. The range of valid values is 1 to 60 seconds. If the
duration of the video is not evenly divisible by
SegmentDuration
, the duration of the last segment is the
remainder of total length/SegmentDuration. Elastic Transcoder creates
an output-specific playlist for each output that you specify in
OutputKeys. To add an output to the master playlist for this job,
include it in OutputKeys
.public String getStatus()
Outputs:Status
is always the same as
Job:Status
. If you specified more than one output: Job:Status
and Outputs:Status
for all of
the outputs is Submitted until Elastic Transcoder starts to process
the first output.Outputs:Status
for that output and
Job:Status
both change to Progressing. For each output,
the value of Outputs:Status
remains Submitted until
Elastic Transcoder starts to process the output.Job:Status
changes to Complete only if
Outputs:Status
for all of the outputs is
Complete
. If Outputs:Status
for one or more
outputs is Error
, the terminal status for
Job:Status
is also Error
.Status
is one of the following:
Submitted
, Progressing
,
Complete
, Canceled
, or Error
.
Constraints:
Pattern: (^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)
Outputs:Status
is always the same as
Job:Status
. If you specified more than one output: Job:Status
and Outputs:Status
for all of
the outputs is Submitted until Elastic Transcoder starts to process
the first output.Outputs:Status
for that output and
Job:Status
both change to Progressing. For each output,
the value of Outputs:Status
remains Submitted until
Elastic Transcoder starts to process the output.Job:Status
changes to Complete only if
Outputs:Status
for all of the outputs is
Complete
. If Outputs:Status
for one or more
outputs is Error
, the terminal status for
Job:Status
is also Error
.Status
is one of the following:
Submitted
, Progressing
,
Complete
, Canceled
, or Error
.public void setStatus(String status)
Outputs:Status
is always the same as
Job:Status
. If you specified more than one output: Job:Status
and Outputs:Status
for all of
the outputs is Submitted until Elastic Transcoder starts to process
the first output.Outputs:Status
for that output and
Job:Status
both change to Progressing. For each output,
the value of Outputs:Status
remains Submitted until
Elastic Transcoder starts to process the output.Job:Status
changes to Complete only if
Outputs:Status
for all of the outputs is
Complete
. If Outputs:Status
for one or more
outputs is Error
, the terminal status for
Job:Status
is also Error
.Status
is one of the following:
Submitted
, Progressing
,
Complete
, Canceled
, or Error
.
Constraints:
Pattern: (^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)
status
- The status of one output in a job. If you specified only one output
for the job, Outputs:Status
is always the same as
Job:Status
. If you specified more than one output: Job:Status
and Outputs:Status
for all of
the outputs is Submitted until Elastic Transcoder starts to process
the first output.Outputs:Status
for that output and
Job:Status
both change to Progressing. For each output,
the value of Outputs:Status
remains Submitted until
Elastic Transcoder starts to process the output.Job:Status
changes to Complete only if
Outputs:Status
for all of the outputs is
Complete
. If Outputs:Status
for one or more
outputs is Error
, the terminal status for
Job:Status
is also Error
.Status
is one of the following:
Submitted
, Progressing
,
Complete
, Canceled
, or Error
.public JobOutput withStatus(String status)
Outputs:Status
is always the same as
Job:Status
. If you specified more than one output: Job:Status
and Outputs:Status
for all of
the outputs is Submitted until Elastic Transcoder starts to process
the first output.Outputs:Status
for that output and
Job:Status
both change to Progressing. For each output,
the value of Outputs:Status
remains Submitted until
Elastic Transcoder starts to process the output.Job:Status
changes to Complete only if
Outputs:Status
for all of the outputs is
Complete
. If Outputs:Status
for one or more
outputs is Error
, the terminal status for
Job:Status
is also Error
.Status
is one of the following:
Submitted
, Progressing
,
Complete
, Canceled
, or Error
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)
status
- The status of one output in a job. If you specified only one output
for the job, Outputs:Status
is always the same as
Job:Status
. If you specified more than one output: Job:Status
and Outputs:Status
for all of
the outputs is Submitted until Elastic Transcoder starts to process
the first output.Outputs:Status
for that output and
Job:Status
both change to Progressing. For each output,
the value of Outputs:Status
remains Submitted until
Elastic Transcoder starts to process the output.Job:Status
changes to Complete only if
Outputs:Status
for all of the outputs is
Complete
. If Outputs:Status
for one or more
outputs is Error
, the terminal status for
Job:Status
is also Error
.Status
is one of the following:
Submitted
, Progressing
,
Complete
, Canceled
, or Error
.public String getStatusDetail()
Status
.
Constraints:
Length: 0 - 255
Status
.public void setStatusDetail(String statusDetail)
Status
.
Constraints:
Length: 0 - 255
statusDetail
- Information that further explains Status
.public JobOutput withStatusDetail(String statusDetail)
Status
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 255
statusDetail
- Information that further explains Status
.public Long getDuration()
public void setDuration(Long duration)
duration
- Duration of the output file, in seconds.public JobOutput withDuration(Long duration)
Returns a reference to this object so that method calls can be chained together.
duration
- Duration of the output file, in seconds.public Integer getWidth()
public void setWidth(Integer width)
width
- Specifies the width of the output file in pixels.public JobOutput withWidth(Integer width)
Returns a reference to this object so that method calls can be chained together.
width
- Specifies the width of the output file in pixels.public Integer getHeight()
public void setHeight(Integer height)
height
- Height of the output file, in pixels.public JobOutput withHeight(Integer height)
Returns a reference to this object so that method calls can be chained together.
height
- Height of the output file, in pixels.public List<JobWatermark> getWatermarks()
Preset
for the
current output. Watermarks are added to the output video in the sequence in which you list them in the job output���the first watermark in the list is added to the output video first, the second watermark in the list is added next, and so on. As a result, if the settings in a preset cause Elastic Transcoder to place all watermarks in the same location, the second watermark that you add will cover the first one, the third one will cover the second, and the fourth one will cover the third.
Preset
for the
current output. Watermarks are added to the output video in the sequence in which you list them in the job output���the first watermark in the list is added to the output video first, the second watermark in the list is added next, and so on. As a result, if the settings in a preset cause Elastic Transcoder to place all watermarks in the same location, the second watermark that you add will cover the first one, the third one will cover the second, and the fourth one will cover the third.
public void setWatermarks(Collection<JobWatermark> watermarks)
Preset
for the
current output. Watermarks are added to the output video in the sequence in which you list them in the job output���the first watermark in the list is added to the output video first, the second watermark in the list is added next, and so on. As a result, if the settings in a preset cause Elastic Transcoder to place all watermarks in the same location, the second watermark that you add will cover the first one, the third one will cover the second, and the fourth one will cover the third.
watermarks
- Information about the watermarks that you want Elastic Transcoder to
add to the video during transcoding. You can specify up to four
watermarks for each output. Settings for each watermark must be
defined in the preset that you specify in Preset
for the
current output. Watermarks are added to the output video in the sequence in which you list them in the job output���the first watermark in the list is added to the output video first, the second watermark in the list is added next, and so on. As a result, if the settings in a preset cause Elastic Transcoder to place all watermarks in the same location, the second watermark that you add will cover the first one, the third one will cover the second, and the fourth one will cover the third.
public JobOutput withWatermarks(JobWatermark... watermarks)
Preset
for the
current output. Watermarks are added to the output video in the sequence in which you list them in the job output���the first watermark in the list is added to the output video first, the second watermark in the list is added next, and so on. As a result, if the settings in a preset cause Elastic Transcoder to place all watermarks in the same location, the second watermark that you add will cover the first one, the third one will cover the second, and the fourth one will cover the third.
Returns a reference to this object so that method calls can be chained together.
watermarks
- Information about the watermarks that you want Elastic Transcoder to
add to the video during transcoding. You can specify up to four
watermarks for each output. Settings for each watermark must be
defined in the preset that you specify in Preset
for the
current output. Watermarks are added to the output video in the sequence in which you list them in the job output���the first watermark in the list is added to the output video first, the second watermark in the list is added next, and so on. As a result, if the settings in a preset cause Elastic Transcoder to place all watermarks in the same location, the second watermark that you add will cover the first one, the third one will cover the second, and the fourth one will cover the third.
public JobOutput withWatermarks(Collection<JobWatermark> watermarks)
Preset
for the
current output. Watermarks are added to the output video in the sequence in which you list them in the job output���the first watermark in the list is added to the output video first, the second watermark in the list is added next, and so on. As a result, if the settings in a preset cause Elastic Transcoder to place all watermarks in the same location, the second watermark that you add will cover the first one, the third one will cover the second, and the fourth one will cover the third.
Returns a reference to this object so that method calls can be chained together.
watermarks
- Information about the watermarks that you want Elastic Transcoder to
add to the video during transcoding. You can specify up to four
watermarks for each output. Settings for each watermark must be
defined in the preset that you specify in Preset
for the
current output. Watermarks are added to the output video in the sequence in which you list them in the job output���the first watermark in the list is added to the output video first, the second watermark in the list is added next, and so on. As a result, if the settings in a preset cause Elastic Transcoder to place all watermarks in the same location, the second watermark that you add will cover the first one, the third one will cover the second, and the fourth one will cover the third.
public JobAlbumArt getAlbumArt()
public void setAlbumArt(JobAlbumArt albumArt)
albumArt
- The album art to be associated with the output file, if any.public JobOutput withAlbumArt(JobAlbumArt albumArt)
Returns a reference to this object so that method calls can be chained together.
albumArt
- The album art to be associated with the output file, if any.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.