Interface NonTalkTimeFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NonTalkTimeFilter.Builder,
,NonTalkTimeFilter> SdkBuilder<NonTalkTimeFilter.Builder,
,NonTalkTimeFilter> SdkPojo
- Enclosing class:
NonTalkTimeFilter
-
Method Summary
Modifier and TypeMethodDescriptiondefault NonTalkTimeFilter.Builder
absoluteTimeRange
(Consumer<AbsoluteTimeRange.Builder> absoluteTimeRange) Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for a period of silence.absoluteTimeRange
(AbsoluteTimeRange absoluteTimeRange) Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for a period of silence.Set toTRUE
to flag periods of speech.default NonTalkTimeFilter.Builder
relativeTimeRange
(Consumer<RelativeTimeRange.Builder> relativeTimeRange) Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for a period of silence.relativeTimeRange
(RelativeTimeRange relativeTimeRange) Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for a period of silence.Specify the duration, in milliseconds, of the period of silence that you want to flag.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
threshold
Specify the duration, in milliseconds, of the period of silence that you want to flag. For example, you can flag a silent period that lasts 30,000 milliseconds.
- Parameters:
threshold
- Specify the duration, in milliseconds, of the period of silence that you want to flag. For example, you can flag a silent period that lasts 30,000 milliseconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
absoluteTimeRange
Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for a period of silence. See for more detail.
- Parameters:
absoluteTimeRange
- Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for a period of silence. See for more detail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
absoluteTimeRange
default NonTalkTimeFilter.Builder absoluteTimeRange(Consumer<AbsoluteTimeRange.Builder> absoluteTimeRange) Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for a period of silence. See for more detail.
This is a convenience method that creates an instance of theAbsoluteTimeRange.Builder
avoiding the need to create one manually viaAbsoluteTimeRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toabsoluteTimeRange(AbsoluteTimeRange)
.- Parameters:
absoluteTimeRange
- a consumer that will call methods onAbsoluteTimeRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
relativeTimeRange
Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for a period of silence. See for more detail.
- Parameters:
relativeTimeRange
- Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for a period of silence. See for more detail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relativeTimeRange
default NonTalkTimeFilter.Builder relativeTimeRange(Consumer<RelativeTimeRange.Builder> relativeTimeRange) Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for a period of silence. See for more detail.
This is a convenience method that creates an instance of theRelativeTimeRange.Builder
avoiding the need to create one manually viaRelativeTimeRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torelativeTimeRange(RelativeTimeRange)
.- Parameters:
relativeTimeRange
- a consumer that will call methods onRelativeTimeRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
negate
Set to
TRUE
to flag periods of speech. Set toFALSE
to flag periods of silence- Parameters:
negate
- Set toTRUE
to flag periods of speech. Set toFALSE
to flag periods of silence- Returns:
- Returns a reference to this object so that method calls can be chained together.
-