Interface NonTalkTimeFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NonTalkTimeFilter.Builder,NonTalkTimeFilter>,SdkBuilder<NonTalkTimeFilter.Builder,NonTalkTimeFilter>,SdkPojo
- Enclosing class:
- NonTalkTimeFilter
public static interface NonTalkTimeFilter.Builder extends SdkPojo, CopyableBuilder<NonTalkTimeFilter.Builder,NonTalkTimeFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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.NonTalkTimeFilter.BuilderabsoluteTimeRange(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.NonTalkTimeFilter.Buildernegate(Boolean negate)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.NonTalkTimeFilter.BuilderrelativeTimeRange(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.NonTalkTimeFilter.Builderthreshold(Long threshold)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 Detail
-
threshold
NonTalkTimeFilter.Builder threshold(Long 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
NonTalkTimeFilter.Builder 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. 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:
absoluteTimeRange(AbsoluteTimeRange)
-
relativeTimeRange
NonTalkTimeFilter.Builder 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. 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:
relativeTimeRange(RelativeTimeRange)
-
negate
NonTalkTimeFilter.Builder negate(Boolean 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.
-
-