Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elastictranscoder.model
Class Thumbnails

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

public class Thumbnails
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Thumbnails()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAspectRatio()
          The aspect ratio of thumbnails.
 String getFormat()
          The format of thumbnails, if any.
 String getInterval()
          The number of seconds between thumbnails.
 String getResolution()
          The width and height of thumbnail files in pixels.
 int hashCode()
           
 void setAspectRatio(String aspectRatio)
          The aspect ratio of thumbnails.
 void setFormat(String format)
          The format of thumbnails, if any.
 void setInterval(String interval)
          The number of seconds between thumbnails.
 void setResolution(String resolution)
          The width and height of thumbnail files in pixels.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Thumbnails withAspectRatio(String aspectRatio)
          The aspect ratio of thumbnails.
 Thumbnails withFormat(String format)
          The format of thumbnails, if any.
 Thumbnails withInterval(String interval)
          The number of seconds between thumbnails.
 Thumbnails withResolution(String resolution)
          The width and height of thumbnail files in pixels.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Thumbnails

public Thumbnails()
Method Detail

getFormat

public String getFormat()
The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

Constraints:
Pattern: (^jpg$)|(^png$)

Returns:
The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.


setFormat

public void setFormat(String format)
The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

Constraints:
Pattern: (^jpg$)|(^png$)

Parameters:
format - The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.


withFormat

public Thumbnails withFormat(String format)
The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

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

Constraints:
Pattern: (^jpg$)|(^png$)

Parameters:
format - The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

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

getInterval

public String getInterval()
The number of seconds between thumbnails. Specify an integer value.

Constraints:
Pattern: ^\d+$

Returns:
The number of seconds between thumbnails. Specify an integer value.

setInterval

public void setInterval(String interval)
The number of seconds between thumbnails. Specify an integer value.

Constraints:
Pattern: ^\d+$

Parameters:
interval - The number of seconds between thumbnails. Specify an integer value.

withInterval

public Thumbnails withInterval(String interval)
The number of seconds between thumbnails. Specify an integer value.

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

Constraints:
Pattern: ^\d+$

Parameters:
interval - The number of seconds between thumbnails. Specify an integer value.
Returns:
A reference to this updated object so that method calls can be chained together.

getResolution

public String getResolution()
The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.

Constraints:
Pattern: ^\d+x\d+$

Returns:
The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.

setResolution

public void setResolution(String resolution)
The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.

Constraints:
Pattern: ^\d+x\d+$

Parameters:
resolution - The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.

withResolution

public Thumbnails withResolution(String resolution)
The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.

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

Constraints:
Pattern: ^\d+x\d+$

Parameters:
resolution - The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.
Returns:
A reference to this updated object so that method calls can be chained together.

getAspectRatio

public String getAspectRatio()
The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

Constraints:
Pattern: (^auto$)|(^1:1$)|(^4:3$)|(^3:2$)|(^16:9$)

Returns:
The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.


setAspectRatio

public void setAspectRatio(String aspectRatio)
The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

Constraints:
Pattern: (^auto$)|(^1:1$)|(^4:3$)|(^3:2$)|(^16:9$)

Parameters:
aspectRatio - The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.


withAspectRatio

public Thumbnails withAspectRatio(String aspectRatio)
The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

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

Constraints:
Pattern: (^auto$)|(^1:1$)|(^4:3$)|(^3:2$)|(^16:9$)

Parameters:
aspectRatio - The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

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.