Interface NonTalkTimeFilter.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NonTalkTimeFilter.Builder,,NonTalkTimeFilter> SdkBuilder<NonTalkTimeFilter.Builder,,NonTalkTimeFilter> SdkPojo
- Enclosing class:
- NonTalkTimeFilter
-
Method Summary
Modifier and TypeMethodDescriptiondefault NonTalkTimeFilter.BuilderabsoluteTimeRange(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 toTRUEto flag periods of speech.default NonTalkTimeFilter.BuilderrelativeTimeRange(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaAbsoluteTimeRange.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRelativeTimeRange.builder().When the
Consumercompletes,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
TRUEto flag periods of speech. Set toFALSEto flag periods of silence- Parameters:
negate- Set toTRUEto flag periods of speech. Set toFALSEto flag periods of silence- Returns:
- Returns a reference to this object so that method calls can be chained together.
-