public static interface SegmentDetection.Builder extends SdkPojo, CopyableBuilder<SegmentDetection.Builder,SegmentDetection>
| Modifier and Type | Method and Description |
|---|---|
SegmentDetection.Builder |
durationFrames(Long durationFrames)
The duration of a video segment, expressed in frames.
|
SegmentDetection.Builder |
durationMillis(Long durationMillis)
The duration of the detected segment in milliseconds.
|
SegmentDetection.Builder |
durationSMPTE(String durationSMPTE)
The duration of the timecode for the detected segment in SMPTE format.
|
SegmentDetection.Builder |
endFrameNumber(Long endFrameNumber)
The frame number at the end of a video segment, using a frame index that starts with 0.
|
SegmentDetection.Builder |
endTimecodeSMPTE(String endTimecodeSMPTE)
The frame-accurate SMPTE timecode, from the start of a video, for the end of a detected segment.
|
SegmentDetection.Builder |
endTimestampMillis(Long endTimestampMillis)
The end time of the detected segment, in milliseconds, from the start of the video.
|
default SegmentDetection.Builder |
shotSegment(Consumer<ShotSegment.Builder> shotSegment)
If the segment is a shot detection, contains information about the shot detection.
|
SegmentDetection.Builder |
shotSegment(ShotSegment shotSegment)
If the segment is a shot detection, contains information about the shot detection.
|
SegmentDetection.Builder |
startFrameNumber(Long startFrameNumber)
The frame number of the start of a video segment, using a frame index that starts with 0.
|
SegmentDetection.Builder |
startTimecodeSMPTE(String startTimecodeSMPTE)
The frame-accurate SMPTE timecode, from the start of a video, for the start of a detected segment.
|
SegmentDetection.Builder |
startTimestampMillis(Long startTimestampMillis)
The start time of the detected segment in milliseconds from the start of the video.
|
default SegmentDetection.Builder |
technicalCueSegment(Consumer<TechnicalCueSegment.Builder> technicalCueSegment)
If the segment is a technical cue, contains information about the technical cue.
|
SegmentDetection.Builder |
technicalCueSegment(TechnicalCueSegment technicalCueSegment)
If the segment is a technical cue, contains information about the technical cue.
|
SegmentDetection.Builder |
type(SegmentType type)
The type of the segment.
|
SegmentDetection.Builder |
type(String type)
The type of the segment.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSegmentDetection.Builder type(String type)
The type of the segment. Valid values are TECHNICAL_CUE and SHOT.
type - The type of the segment. Valid values are TECHNICAL_CUE and SHOT.SegmentType,
SegmentTypeSegmentDetection.Builder type(SegmentType type)
The type of the segment. Valid values are TECHNICAL_CUE and SHOT.
type - The type of the segment. Valid values are TECHNICAL_CUE and SHOT.SegmentType,
SegmentTypeSegmentDetection.Builder startTimestampMillis(Long startTimestampMillis)
The start time of the detected segment in milliseconds from the start of the video. This value is rounded down. For example, if the actual timestamp is 100.6667 milliseconds, Amazon Rekognition Video returns a value of 100 millis.
startTimestampMillis - The start time of the detected segment in milliseconds from the start of the video. This value is
rounded down. For example, if the actual timestamp is 100.6667 milliseconds, Amazon Rekognition Video
returns a value of 100 millis.SegmentDetection.Builder endTimestampMillis(Long endTimestampMillis)
The end time of the detected segment, in milliseconds, from the start of the video. This value is rounded down.
endTimestampMillis - The end time of the detected segment, in milliseconds, from the start of the video. This value is
rounded down.SegmentDetection.Builder durationMillis(Long durationMillis)
The duration of the detected segment in milliseconds.
durationMillis - The duration of the detected segment in milliseconds.SegmentDetection.Builder startTimecodeSMPTE(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).
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).SegmentDetection.Builder endTimecodeSMPTE(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).
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).SegmentDetection.Builder durationSMPTE(String durationSMPTE)
The duration of the timecode for the detected segment in SMPTE format.
durationSMPTE - The duration of the timecode for the detected segment in SMPTE format.SegmentDetection.Builder technicalCueSegment(TechnicalCueSegment technicalCueSegment)
If the segment is a technical cue, contains information about the technical cue.
technicalCueSegment - If the segment is a technical cue, contains information about the technical cue.default SegmentDetection.Builder technicalCueSegment(Consumer<TechnicalCueSegment.Builder> technicalCueSegment)
If the segment is a technical cue, contains information about the technical cue.
This is a convenience that creates an instance of theTechnicalCueSegment.Builder avoiding the need
to create one manually via TechnicalCueSegment.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to technicalCueSegment(TechnicalCueSegment).technicalCueSegment - a consumer that will call methods on TechnicalCueSegment.BuildertechnicalCueSegment(TechnicalCueSegment)SegmentDetection.Builder shotSegment(ShotSegment shotSegment)
If the segment is a shot detection, contains information about the shot detection.
shotSegment - If the segment is a shot detection, contains information about the shot detection.default SegmentDetection.Builder shotSegment(Consumer<ShotSegment.Builder> shotSegment)
If the segment is a shot detection, contains information about the shot detection.
This is a convenience that creates an instance of theShotSegment.Builder avoiding the need to create
one manually via ShotSegment.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to shotSegment(ShotSegment).shotSegment - a consumer that will call methods on ShotSegment.BuildershotSegment(ShotSegment)SegmentDetection.Builder startFrameNumber(Long startFrameNumber)
The frame number of the start of a video segment, using a frame index that starts with 0.
startFrameNumber - The frame number of the start of a video segment, using a frame index that starts with 0.SegmentDetection.Builder endFrameNumber(Long endFrameNumber)
The frame number at the end of a video segment, using a frame index that starts with 0.
endFrameNumber - The frame number at the end of a video segment, using a frame index that starts with 0.SegmentDetection.Builder durationFrames(Long durationFrames)
The duration of a video segment, expressed in frames.
durationFrames - The duration of a video segment, expressed in frames.Copyright © 2021. All rights reserved.