public class DetectedProperties
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The detected properties of the input file. Elastic Transcoder identifies these values from the input file.
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
durationMillis
The detected duration of the input file, in milliseconds.
|
private java.lang.Long |
fileSize
The detected file size of the input file, in bytes.
|
private java.lang.String |
frameRate
The detected frame rate of the input file, in frames per second.
|
private java.lang.Integer |
height
The detected height of the input file, in pixels.
|
private java.lang.Integer |
width
The detected width of the input file, in pixels.
|
Constructor and Description |
---|
DetectedProperties() |
Modifier and Type | Method and Description |
---|---|
DetectedProperties |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getDurationMillis()
The detected duration of the input file, in milliseconds.
|
java.lang.Long |
getFileSize()
The detected file size of the input file, in bytes.
|
java.lang.String |
getFrameRate()
The detected frame rate of the input file, in frames per second.
|
java.lang.Integer |
getHeight()
The detected height of the input file, in pixels.
|
java.lang.Integer |
getWidth()
The detected width of the input file, in pixels.
|
int |
hashCode() |
void |
setDurationMillis(java.lang.Long durationMillis)
The detected duration of the input file, in milliseconds.
|
void |
setFileSize(java.lang.Long fileSize)
The detected file size of the input file, in bytes.
|
void |
setFrameRate(java.lang.String frameRate)
The detected frame rate of the input file, in frames per second.
|
void |
setHeight(java.lang.Integer height)
The detected height of the input file, in pixels.
|
void |
setWidth(java.lang.Integer width)
The detected width of the input file, in pixels.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetectedProperties |
withDurationMillis(java.lang.Long durationMillis)
The detected duration of the input file, in milliseconds.
|
DetectedProperties |
withFileSize(java.lang.Long fileSize)
The detected file size of the input file, in bytes.
|
DetectedProperties |
withFrameRate(java.lang.String frameRate)
The detected frame rate of the input file, in frames per second.
|
DetectedProperties |
withHeight(java.lang.Integer height)
The detected height of the input file, in pixels.
|
DetectedProperties |
withWidth(java.lang.Integer width)
The detected width of the input file, in pixels.
|
private java.lang.Integer width
The detected width of the input file, in pixels.
private java.lang.Integer height
The detected height of the input file, in pixels.
private java.lang.String frameRate
The detected frame rate of the input file, in frames per second.
private java.lang.Long fileSize
The detected file size of the input file, in bytes.
private java.lang.Long durationMillis
The detected duration of the input file, in milliseconds.
public void setWidth(java.lang.Integer width)
The detected width of the input file, in pixels.
width
- The detected width of the input file, in pixels.public java.lang.Integer getWidth()
The detected width of the input file, in pixels.
public DetectedProperties withWidth(java.lang.Integer width)
The detected width of the input file, in pixels.
width
- The detected width of the input file, in pixels.public void setHeight(java.lang.Integer height)
The detected height of the input file, in pixels.
height
- The detected height of the input file, in pixels.public java.lang.Integer getHeight()
The detected height of the input file, in pixels.
public DetectedProperties withHeight(java.lang.Integer height)
The detected height of the input file, in pixels.
height
- The detected height of the input file, in pixels.public void setFrameRate(java.lang.String frameRate)
The detected frame rate of the input file, in frames per second.
frameRate
- The detected frame rate of the input file, in frames per second.public java.lang.String getFrameRate()
The detected frame rate of the input file, in frames per second.
public DetectedProperties withFrameRate(java.lang.String frameRate)
The detected frame rate of the input file, in frames per second.
frameRate
- The detected frame rate of the input file, in frames per second.public void setFileSize(java.lang.Long fileSize)
The detected file size of the input file, in bytes.
fileSize
- The detected file size of the input file, in bytes.public java.lang.Long getFileSize()
The detected file size of the input file, in bytes.
public DetectedProperties withFileSize(java.lang.Long fileSize)
The detected file size of the input file, in bytes.
fileSize
- The detected file size of the input file, in bytes.public void setDurationMillis(java.lang.Long durationMillis)
The detected duration of the input file, in milliseconds.
durationMillis
- The detected duration of the input file, in milliseconds.public java.lang.Long getDurationMillis()
The detected duration of the input file, in milliseconds.
public DetectedProperties withDurationMillis(java.lang.Long durationMillis)
The detected duration of the input file, in milliseconds.
durationMillis
- The detected duration of the input file, in milliseconds.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DetectedProperties clone()
clone
in class java.lang.Object