@Generated(value="software.amazon.awssdk:codegen") public final class SegmentDetection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SegmentDetection.Builder,SegmentDetection>
A technical cue or shot detection segment detected in a video. An array of SegmentDetection objects
containing all segments detected in a stored video is returned by GetSegmentDetection.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SegmentDetection.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SegmentDetection.Builder |
builder() |
Long |
durationMillis()
The duration of the detected segment in milliseconds.
|
String |
durationSMPTE()
The duration of the timecode for the detected segment in SMPTE format.
|
String |
endTimecodeSMPTE()
The frame-accurate SMPTE timecode, from the start of a video, for the end of a detected segment.
|
Long |
endTimestampMillis()
The end time of the detected segment, in milliseconds, from the start of the video.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SegmentDetection.Builder> |
serializableBuilderClass() |
ShotSegment |
shotSegment()
If the segment is a shot detection, contains information about the shot detection.
|
String |
startTimecodeSMPTE()
The frame-accurate SMPTE timecode, from the start of a video, for the start of a detected segment.
|
Long |
startTimestampMillis()
The start time of the detected segment in milliseconds from the start of the video.
|
TechnicalCueSegment |
technicalCueSegment()
If the segment is a technical cue, contains information about the technical cue.
|
SegmentDetection.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
SegmentType |
type()
The type of the segment.
|
String |
typeAsString()
The type of the segment.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic SegmentType type()
The type of the segment. Valid values are TECHNICAL_CUE and SHOT.
If the service returns an enum value that is not available in the current SDK version, type will return
SegmentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
TECHNICAL_CUE and SHOT.SegmentTypepublic String typeAsString()
The type of the segment. Valid values are TECHNICAL_CUE and SHOT.
If the service returns an enum value that is not available in the current SDK version, type will return
SegmentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
TECHNICAL_CUE and SHOT.SegmentTypepublic Long startTimestampMillis()
The start time of the detected segment in milliseconds from the start of the video.
public Long endTimestampMillis()
The end time of the detected segment, in milliseconds, from the start of the video.
public Long durationMillis()
The duration of the detected segment in milliseconds.
public String startTimecodeSMPTE()
The frame-accurate SMPTE timecode, from the start of a video, for the start of a detected segment.
StartTimecode is in HH:MM:SS:fr format (and ;fr for drop frame-rates).
StartTimecode is in HH:MM:SS:fr format (and ;fr for drop frame-rates).public String endTimecodeSMPTE()
The frame-accurate SMPTE timecode, from the start of a video, for the end of a detected segment.
EndTimecode is in HH:MM:SS:fr format (and ;fr for drop frame-rates).
EndTimecode is in HH:MM:SS:fr format (and ;fr for drop frame-rates).public String durationSMPTE()
The duration of the timecode for the detected segment in SMPTE format.
public TechnicalCueSegment technicalCueSegment()
If the segment is a technical cue, contains information about the technical cue.
public ShotSegment shotSegment()
If the segment is a shot detection, contains information about the shot detection.
public SegmentDetection.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SegmentDetection.Builder,SegmentDetection>public static SegmentDetection.Builder builder()
public static Class<? extends SegmentDetection.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.