@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TextDetectionResult extends Object implements Serializable, Cloneable, StructuredPojo
Information about text detected in a video. Incudes the detected text, the time in milliseconds from the start of the video that the text was detected, and where it was detected on the screen.
Constructor and Description |
---|
TextDetectionResult() |
Modifier and Type | Method and Description |
---|---|
TextDetectionResult |
clone() |
boolean |
equals(Object obj) |
TextDetection |
getTextDetection()
Details about text detected in a video.
|
Long |
getTimestamp()
The time, in milliseconds from the start of the video, that the text was detected.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTextDetection(TextDetection textDetection)
Details about text detected in a video.
|
void |
setTimestamp(Long timestamp)
The time, in milliseconds from the start of the video, that the text was detected.
|
String |
toString()
Returns a string representation of this object.
|
TextDetectionResult |
withTextDetection(TextDetection textDetection)
Details about text detected in a video.
|
TextDetectionResult |
withTimestamp(Long timestamp)
The time, in milliseconds from the start of the video, that the text was detected.
|
public void setTimestamp(Long timestamp)
The time, in milliseconds from the start of the video, that the text was detected.
timestamp
- The time, in milliseconds from the start of the video, that the text was detected.public Long getTimestamp()
The time, in milliseconds from the start of the video, that the text was detected.
public TextDetectionResult withTimestamp(Long timestamp)
The time, in milliseconds from the start of the video, that the text was detected.
timestamp
- The time, in milliseconds from the start of the video, that the text was detected.public void setTextDetection(TextDetection textDetection)
Details about text detected in a video.
textDetection
- Details about text detected in a video.public TextDetection getTextDetection()
Details about text detected in a video.
public TextDetectionResult withTextDetection(TextDetection textDetection)
Details about text detected in a video.
textDetection
- Details about text detected in a video.public String toString()
toString
in class Object
Object.toString()
public TextDetectionResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.