public class DetectedProperties extends Object implements Serializable, Cloneable
The detected properties of the input file. Elastic Transcoder identifies these values from the input file.
| Constructor and Description |
|---|
DetectedProperties() |
| Modifier and Type | Method and Description |
|---|---|
DetectedProperties |
clone() |
boolean |
equals(Object obj) |
Long |
getDurationMillis()
The detected duration of the input file, in milliseconds.
|
Long |
getFileSize()
The detected file size of the input file, in bytes.
|
String |
getFrameRate()
The detected frame rate of the input file, in frames per second.
|
Integer |
getHeight()
The detected height of the input file, in pixels.
|
Integer |
getWidth()
The detected width of the input file, in pixels.
|
int |
hashCode() |
void |
setDurationMillis(Long durationMillis)
The detected duration of the input file, in milliseconds.
|
void |
setFileSize(Long fileSize)
The detected file size of the input file, in bytes.
|
void |
setFrameRate(String frameRate)
The detected frame rate of the input file, in frames per second.
|
void |
setHeight(Integer height)
The detected height of the input file, in pixels.
|
void |
setWidth(Integer width)
The detected width of the input file, in pixels.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetectedProperties |
withDurationMillis(Long durationMillis)
The detected duration of the input file, in milliseconds.
|
DetectedProperties |
withFileSize(Long fileSize)
The detected file size of the input file, in bytes.
|
DetectedProperties |
withFrameRate(String frameRate)
The detected frame rate of the input file, in frames per second.
|
DetectedProperties |
withHeight(Integer height)
The detected height of the input file, in pixels.
|
DetectedProperties |
withWidth(Integer width)
The detected width of the input file, in pixels.
|
public Integer getWidth()
public void setWidth(Integer width)
width - The detected width of the input file, in pixels.public DetectedProperties withWidth(Integer width)
Returns a reference to this object so that method calls can be chained together.
width - The detected width of the input file, in pixels.public Integer getHeight()
public void setHeight(Integer height)
height - The detected height of the input file, in pixels.public DetectedProperties withHeight(Integer height)
Returns a reference to this object so that method calls can be chained together.
height - The detected height of the input file, in pixels.public String getFrameRate()
Constraints:
Pattern: ^\d{1,5}(\.\d{0,5})?$
public void setFrameRate(String frameRate)
Constraints:
Pattern: ^\d{1,5}(\.\d{0,5})?$
frameRate - The detected frame rate of the input file, in frames per second.public DetectedProperties withFrameRate(String frameRate)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^\d{1,5}(\.\d{0,5})?$
frameRate - The detected frame rate of the input file, in frames per second.public Long getFileSize()
public void setFileSize(Long fileSize)
fileSize - The detected file size of the input file, in bytes.public DetectedProperties withFileSize(Long fileSize)
Returns a reference to this object so that method calls can be chained together.
fileSize - The detected file size of the input file, in bytes.public Long getDurationMillis()
public void setDurationMillis(Long durationMillis)
durationMillis - The detected duration of the input file, in milliseconds.public DetectedProperties withDurationMillis(Long durationMillis)
Returns a reference to this object so that method calls can be chained together.
durationMillis - The detected duration of the input file, in milliseconds.public String toString()
toString in class ObjectObject.toString()public DetectedProperties clone()
Copyright © 2015. All rights reserved.