Class DetectedProperties
- java.lang.Object
-
- com.amazonaws.services.elastictranscoder.model.DetectedProperties
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DetectedProperties extends Object implements Serializable, Cloneable
The detected properties of the input file. Elastic Transcoder identifies these values from the input file.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DetectedProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DetectedPropertiesclone()booleanequals(Object obj)LonggetDurationMillis()The detected duration of the input file, in milliseconds.LonggetFileSize()The detected file size of the input file, in bytes.StringgetFrameRate()The detected frame rate of the input file, in frames per second.IntegergetHeight()The detected height of the input file, in pixels.IntegergetWidth()The detected width of the input file, in pixels.inthashCode()voidsetDurationMillis(Long durationMillis)The detected duration of the input file, in milliseconds.voidsetFileSize(Long fileSize)The detected file size of the input file, in bytes.voidsetFrameRate(String frameRate)The detected frame rate of the input file, in frames per second.voidsetHeight(Integer height)The detected height of the input file, in pixels.voidsetWidth(Integer width)The detected width of the input file, in pixels.StringtoString()Returns a string representation of this object; useful for testing and debugging.DetectedPropertieswithDurationMillis(Long durationMillis)The detected duration of the input file, in milliseconds.DetectedPropertieswithFileSize(Long fileSize)The detected file size of the input file, in bytes.DetectedPropertieswithFrameRate(String frameRate)The detected frame rate of the input file, in frames per second.DetectedPropertieswithHeight(Integer height)The detected height of the input file, in pixels.DetectedPropertieswithWidth(Integer width)The detected width of the input file, in pixels.
-
-
-
Method Detail
-
setWidth
public void setWidth(Integer width)
The detected width of the input file, in pixels.
- Parameters:
width- The detected width of the input file, in pixels.
-
getWidth
public Integer getWidth()
The detected width of the input file, in pixels.
- Returns:
- The detected width of the input file, in pixels.
-
withWidth
public DetectedProperties withWidth(Integer width)
The detected width of the input file, in pixels.
- Parameters:
width- The detected width of the input file, in pixels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setHeight
public void setHeight(Integer height)
The detected height of the input file, in pixels.
- Parameters:
height- The detected height of the input file, in pixels.
-
getHeight
public Integer getHeight()
The detected height of the input file, in pixels.
- Returns:
- The detected height of the input file, in pixels.
-
withHeight
public DetectedProperties withHeight(Integer height)
The detected height of the input file, in pixels.
- Parameters:
height- The detected height of the input file, in pixels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFrameRate
public void setFrameRate(String frameRate)
The detected frame rate of the input file, in frames per second.
- Parameters:
frameRate- The detected frame rate of the input file, in frames per second.
-
getFrameRate
public String getFrameRate()
The detected frame rate of the input file, in frames per second.
- Returns:
- The detected frame rate of the input file, in frames per second.
-
withFrameRate
public DetectedProperties withFrameRate(String frameRate)
The detected frame rate of the input file, in frames per second.
- Parameters:
frameRate- The detected frame rate of the input file, in frames per second.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFileSize
public void setFileSize(Long fileSize)
The detected file size of the input file, in bytes.
- Parameters:
fileSize- The detected file size of the input file, in bytes.
-
getFileSize
public Long getFileSize()
The detected file size of the input file, in bytes.
- Returns:
- The detected file size of the input file, in bytes.
-
withFileSize
public DetectedProperties withFileSize(Long fileSize)
The detected file size of the input file, in bytes.
- Parameters:
fileSize- The detected file size of the input file, in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDurationMillis
public void setDurationMillis(Long durationMillis)
The detected duration of the input file, in milliseconds.
- Parameters:
durationMillis- The detected duration of the input file, in milliseconds.
-
getDurationMillis
public Long getDurationMillis()
The detected duration of the input file, in milliseconds.
- Returns:
- The detected duration of the input file, in milliseconds.
-
withDurationMillis
public DetectedProperties withDurationMillis(Long durationMillis)
The detected duration of the input file, in milliseconds.
- Parameters:
durationMillis- The detected duration of the input file, in milliseconds.- Returns:
- Returns a reference to this 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DetectedProperties clone()
-
-