public class ShotSegment
extends java.lang.Object
implements java.io.Serializable
Information about a shot detection segment detected in a video. For more information, see SegmentDetection.
| Constructor and Description |
|---|
ShotSegment() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Float |
getConfidence()
The confidence that Amazon Rekognition Video has in the accuracy of the
detected segment.
|
java.lang.Long |
getIndex()
An Identifier for a shot detection segment detected in a video.
|
int |
hashCode() |
void |
setConfidence(java.lang.Float confidence)
The confidence that Amazon Rekognition Video has in the accuracy of the
detected segment.
|
void |
setIndex(java.lang.Long index)
An Identifier for a shot detection segment detected in a video.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ShotSegment |
withConfidence(java.lang.Float confidence)
The confidence that Amazon Rekognition Video has in the accuracy of the
detected segment.
|
ShotSegment |
withIndex(java.lang.Long index)
An Identifier for a shot detection segment detected in a video.
|
public java.lang.Long getIndex()
An Identifier for a shot detection segment detected in a video.
Constraints:
Range: 0 -
An Identifier for a shot detection segment detected in a video.
public void setIndex(java.lang.Long index)
An Identifier for a shot detection segment detected in a video.
Constraints:
Range: 0 -
index - An Identifier for a shot detection segment detected in a video.
public ShotSegment withIndex(java.lang.Long index)
An Identifier for a shot detection segment detected in a video.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
index - An Identifier for a shot detection segment detected in a video.
public java.lang.Float getConfidence()
The confidence that Amazon Rekognition Video has in the accuracy of the detected segment.
Constraints:
Length: 50 - 100
The confidence that Amazon Rekognition Video has in the accuracy of the detected segment.
public void setConfidence(java.lang.Float confidence)
The confidence that Amazon Rekognition Video has in the accuracy of the detected segment.
Constraints:
Length: 50 - 100
confidence - The confidence that Amazon Rekognition Video has in the accuracy of the detected segment.
public ShotSegment withConfidence(java.lang.Float confidence)
The confidence that Amazon Rekognition Video has in the accuracy of the detected segment.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 100
confidence - The confidence that Amazon Rekognition Video has in the accuracy of the detected segment.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.