public class TechnicalCueSegment
extends java.lang.Object
implements java.io.Serializable
Information about a technical cue segment. For more information, see SegmentDetection.
| Constructor and Description |
|---|
TechnicalCueSegment() |
| 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.String |
getType()
The type of the technical cue.
|
int |
hashCode() |
void |
setConfidence(java.lang.Float confidence)
The confidence that Amazon Rekognition Video has in the accuracy of the
detected segment.
|
void |
setType(java.lang.String type)
The type of the technical cue.
|
void |
setType(TechnicalCueType type)
The type of the technical cue.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TechnicalCueSegment |
withConfidence(java.lang.Float confidence)
The confidence that Amazon Rekognition Video has in the accuracy of the
detected segment.
|
TechnicalCueSegment |
withType(java.lang.String type)
The type of the technical cue.
|
TechnicalCueSegment |
withType(TechnicalCueType type)
The type of the technical cue.
|
public java.lang.String getType()
The type of the technical cue.
Constraints:
Allowed Values: ColorBars, EndCredits, BlackFrames
The type of the technical cue.
TechnicalCueTypepublic void setType(java.lang.String type)
The type of the technical cue.
Constraints:
Allowed Values: ColorBars, EndCredits, BlackFrames
type - The type of the technical cue.
TechnicalCueTypepublic TechnicalCueSegment withType(java.lang.String type)
The type of the technical cue.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ColorBars, EndCredits, BlackFrames
type - The type of the technical cue.
TechnicalCueTypepublic void setType(TechnicalCueType type)
The type of the technical cue.
Constraints:
Allowed Values: ColorBars, EndCredits, BlackFrames
type - The type of the technical cue.
TechnicalCueTypepublic TechnicalCueSegment withType(TechnicalCueType type)
The type of the technical cue.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ColorBars, EndCredits, BlackFrames
type - The type of the technical cue.
TechnicalCueTypepublic 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 TechnicalCueSegment 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.