Interface InterruptionFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InterruptionFilter.Builder,InterruptionFilter>,SdkBuilder<InterruptionFilter.Builder,InterruptionFilter>,SdkPojo
- Enclosing class:
- InterruptionFilter
public static interface InterruptionFilter.Builder extends SdkPojo, CopyableBuilder<InterruptionFilter.Builder,InterruptionFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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.InterruptionFilter.BuilderabsoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for an interruption.InterruptionFilter.Buildernegate(Boolean negate)Set toTRUEto flag speech that does not contain interruptions.InterruptionFilter.BuilderparticipantRole(String participantRole)Specify the interrupter that you want to flag.InterruptionFilter.BuilderparticipantRole(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.InterruptionFilter.BuilderrelativeTimeRange(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.InterruptionFilter.Builderthreshold(Long threshold)Specify the duration of the interruptions in milliseconds.-
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
InterruptionFilter.Builder threshold(Long 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
InterruptionFilter.Builder participantRole(String 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,ParticipantRole
-
participantRole
InterruptionFilter.Builder participantRole(ParticipantRole 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,ParticipantRole
-
absoluteTimeRange
InterruptionFilter.Builder 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. 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:
absoluteTimeRange(AbsoluteTimeRange)
-
relativeTimeRange
InterruptionFilter.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 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:
relativeTimeRange(RelativeTimeRange)
-
negate
InterruptionFilter.Builder negate(Boolean 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.
-
-