Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elastictranscoder.model
Class JobOutput

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

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, the Output object lists information about the first output. This duplicates the information that is listed for the first output in the Outputs object.

See Also:
Serialized Form

Constructor Summary
JobOutput()
           
 
Method Summary
 boolean equals(Object obj)
           
 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()
          (Outputs in MPEG-TS format only.If you specify a preset in PresetId for which the value of Containeris 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.
 Integer getWidth()
          Specifies the width of the output file in pixels.
 int hashCode()
           
 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)
          (Outputs in MPEG-TS format only.If you specify a preset in PresetId for which the value of Containeris 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 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 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)
          (Outputs in MPEG-TS format only.If you specify a preset in PresetId for which the value of Containeris 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 withWidth(Integer width)
          Specifies the width of the output file in pixels.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobOutput

public JobOutput()
Method Detail

getId

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

Returns:
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.

setId

public void setId(String 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.

Parameters:
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.

withId

public JobOutput withId(String 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getKey

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

Constraints:
Length: 1 - 255

Returns:
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.

setKey

public void setKey(String 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.

Constraints:
Length: 1 - 255

Parameters:
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.

withKey

public JobOutput withKey(String 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 255

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getThumbnailPattern

public 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.

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:

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\}.*$)

Returns:
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. If you specify a literal value and/or {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.


setThumbnailPattern

public 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.

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:

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\}.*$)

Parameters:
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. If you specify a literal value and/or {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.


withThumbnailPattern

public 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.

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:

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\}.*$)

Parameters:
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. If you specify a literal value and/or {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 updated object so that method calls can be chained together.

getRotate

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

Constraints:
Pattern: (^auto$)|(^0$)|(^90$)|(^180$)|(^270$)

Returns:
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.


setRotate

public void setRotate(String 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.

Constraints:
Pattern: (^auto$)|(^0$)|(^90$)|(^180$)|(^270$)

Parameters:
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.


withRotate

public JobOutput withRotate(String 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: (^auto$)|(^0$)|(^90$)|(^180$)|(^270$)

Parameters:
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.

Returns:
A reference to this updated object so that method calls can be chained together.

getPresetId

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

Constraints:
Pattern: ^\d{13}-\w{6}$

Returns:
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.

setPresetId

public void setPresetId(String 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.

Constraints:
Pattern: ^\d{13}-\w{6}$

Parameters:
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.

withPresetId

public JobOutput withPresetId(String 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: ^\d{13}-\w{6}$

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getSegmentDuration

public String getSegmentDuration()
(Outputs in MPEG-TS format only.If you specify a preset in PresetId for which the value of Containeris 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})?$

Returns:
(Outputs in MPEG-TS format only.If you specify a preset in PresetId for which the value of Containeris 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.

setSegmentDuration

public void setSegmentDuration(String segmentDuration)
(Outputs in MPEG-TS format only.If you specify a preset in PresetId for which the value of Containeris 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})?$

Parameters:
segmentDuration - (Outputs in MPEG-TS format only.If you specify a preset in PresetId for which the value of Containeris 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.

withSegmentDuration

public JobOutput withSegmentDuration(String segmentDuration)
(Outputs in MPEG-TS format only.If you specify a preset in PresetId for which the value of Containeris 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})?$

Parameters:
segmentDuration - (Outputs in MPEG-TS format only.If you specify a preset in PresetId for which the value of Containeris 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 updated object so that method calls can be chained together.

getStatus

public String getStatus()
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: The value of Status is one of the following: Submitted, Progressing, Complete, Canceled, or Error.

Constraints:
Pattern: (^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)

Returns:
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.
  • When 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 remains Progressing until all of the outputs reach a terminal status, either Complete or Error.
  • When all of the outputs reach a terminal status, 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.
The value of Status is one of the following: Submitted, Progressing, Complete, Canceled, or Error.

setStatus

public void setStatus(String 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: The value of Status is one of the following: Submitted, Progressing, Complete, Canceled, or Error.

Constraints:
Pattern: (^Submitted$)|(^Progressing$)|(^Complete$)|(^Canceled$)|(^Error$)

Parameters:
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.
  • When 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 remains Progressing until all of the outputs reach a terminal status, either Complete or Error.
  • When all of the outputs reach a terminal status, 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.
The value of Status is one of the following: Submitted, Progressing, Complete, Canceled, or Error.

withStatus

public JobOutput withStatus(String 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: The value of 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$)

Parameters:
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.
  • When 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 remains Progressing until all of the outputs reach a terminal status, either Complete or Error.
  • When all of the outputs reach a terminal status, 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.
The value of Status is one of the following: Submitted, Progressing, Complete, Canceled, or Error.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatusDetail

public String getStatusDetail()
Information that further explains Status.

Constraints:
Length: 0 - 255

Returns:
Information that further explains Status.

setStatusDetail

public void setStatusDetail(String statusDetail)
Information that further explains Status.

Constraints:
Length: 0 - 255

Parameters:
statusDetail - Information that further explains Status.

withStatusDetail

public JobOutput withStatusDetail(String statusDetail)
Information that further explains Status.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 255

Parameters:
statusDetail - Information that further explains Status.
Returns:
A reference to this updated object so that method calls can be chained together.

getDuration

public Long getDuration()
Duration of the output file, in seconds.

Returns:
Duration of the output file, in seconds.

setDuration

public void setDuration(Long duration)
Duration of the output file, in seconds.

Parameters:
duration - Duration of the output file, in seconds.

withDuration

public JobOutput withDuration(Long duration)
Duration of the output file, in seconds.

Returns a reference to this object so that method calls can be chained together.

Parameters:
duration - Duration of the output file, in seconds.
Returns:
A reference to this updated object so that method calls can be chained together.

getWidth

public Integer getWidth()
Specifies the width of the output file in pixels.

Returns:
Specifies the width of the output file in pixels.

setWidth

public void setWidth(Integer width)
Specifies the width of the output file in pixels.

Parameters:
width - Specifies the width of the output file in pixels.

withWidth

public JobOutput withWidth(Integer width)
Specifies the width of the output file in pixels.

Returns a reference to this object so that method calls can be chained together.

Parameters:
width - Specifies the width of the output file in pixels.
Returns:
A reference to this updated object so that method calls can be chained together.

getHeight

public Integer getHeight()
Height of the output file, in pixels.

Returns:
Height of the output file, in pixels.

setHeight

public void setHeight(Integer height)
Height of the output file, in pixels.

Parameters:
height - Height of the output file, in pixels.

withHeight

public JobOutput withHeight(Integer height)
Height of the output file, in pixels.

Returns a reference to this object so that method calls can be chained together.

Parameters:
height - Height of the output file, in pixels.
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.