Class DetectedProperties
- All Implemented Interfaces:
Serializable, Cloneable
The detected properties of the input file. Elastic Transcoder identifies these values from the input file.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe detected duration of the input file, in milliseconds.The detected file size of the input file, in bytes.The detected frame rate of the input file, in frames per second.The detected height of the input file, in pixels.getWidth()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.voidThe detected height of the input file, in pixels.voidThe detected width of the input file, in pixels.toString()Returns a string representation of this object; useful for testing and debugging.withDurationMillis(Long durationMillis) The detected duration of the input file, in milliseconds.withFileSize(Long fileSize) The detected file size of the input file, in bytes.withFrameRate(String frameRate) The detected frame rate of the input file, in frames per second.withHeight(Integer height) The detected height of the input file, in pixels.The detected width of the input file, in pixels.
-
Constructor Details
-
DetectedProperties
public DetectedProperties()
-
-
Method Details
-
setWidth
The detected width of the input file, in pixels.
- Parameters:
width- The detected width of the input file, in pixels.
-
getWidth
The detected width of the input file, in pixels.
- Returns:
- The detected width of the input file, in pixels.
-
withWidth
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
The detected height of the input file, in pixels.
- Parameters:
height- The detected height of the input file, in pixels.
-
getHeight
The detected height of the input file, in pixels.
- Returns:
- The detected height of the input file, in pixels.
-
withHeight
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
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
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
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
The detected file size of the input file, in bytes.
- Parameters:
fileSize- The detected file size of the input file, in bytes.
-
getFileSize
The detected file size of the input file, in bytes.
- Returns:
- The detected file size of the input file, in bytes.
-
withFileSize
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
The detected duration of the input file, in milliseconds.
- Parameters:
durationMillis- The detected duration of the input file, in milliseconds.
-
getDurationMillis
The detected duration of the input file, in milliseconds.
- Returns:
- The detected duration of the input file, in milliseconds.
-
withDurationMillis
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
-
equals
-
hashCode
-
clone
-