Interface InterruptionFilter.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InterruptionFilter.Builder,,InterruptionFilter> SdkBuilder<InterruptionFilter.Builder,,InterruptionFilter> SdkPojo
- Enclosing class:
- InterruptionFilter
-
Method Summary
Modifier and TypeMethodDescriptiondefault InterruptionFilter.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 an interruption.absoluteTimeRange(AbsoluteTimeRange absoluteTimeRange) Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for an interruption.Set toTRUEto flag speech that does not contain interruptions.participantRole(String participantRole) Specify the interrupter that you want to flag.participantRole(ParticipantRole participantRole) Specify the interrupter that you want to flag.default InterruptionFilter.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 an interruption.relativeTimeRange(RelativeTimeRange relativeTimeRange) Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for an interruption.Specify the duration of the interruptions in milliseconds.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 of the interruptions in milliseconds. For example, you can flag speech that contains more than 10,000 milliseconds of interruptions.
- Parameters:
threshold- Specify the duration of the interruptions in milliseconds. For example, you can flag speech that contains more than 10,000 milliseconds of interruptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
participantRole
Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.
- Parameters:
participantRole- Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
participantRole
Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.
- Parameters:
participantRole- Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
absoluteTimeRange
Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for an interruption. 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 an interruption. See for more detail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
absoluteTimeRange
default InterruptionFilter.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 an interruption. 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 an interruption. 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 an interruption. See for more detail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relativeTimeRange
default InterruptionFilter.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 an interruption. 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 speech that does not contain interruptions. Set toFALSEto flag speech that contains interruptions.- Parameters:
negate- Set toTRUEto flag speech that does not contain interruptions. Set toFALSEto flag speech that contains interruptions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-