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.
TechnicalCueType
public 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.
TechnicalCueType
public 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.
TechnicalCueType
public void setType(TechnicalCueType type)
The type of the technical cue.
Constraints:
Allowed Values: ColorBars, EndCredits, BlackFrames
type
- The type of the technical cue.
TechnicalCueType
public 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.
TechnicalCueType
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 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.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.