Class InterruptionFilter
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InterruptionFilter.Builder,InterruptionFilter>
Flag the presence or absence of interruptions in your Call Analytics transcription output.
Rules using InterruptionFilter are designed to match:
-
Instances where an agent interrupts a customer
-
Instances where a customer interrupts an agent
-
Either participant interrupting the other
-
A lack of interruptions
See Rule criteria for post-call categories for usage examples.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AbsoluteTimeRangeMakes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for an interruption.static InterruptionFilter.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Booleannegate()Set toTRUEto flag speech that does not contain interruptions.final ParticipantRoleSpecify the interrupter that you want to flag.final StringSpecify the interrupter that you want to flag.final RelativeTimeRangeMakes it possible to specify a time range (in percentage) in your media file, during which you want to search for an interruption.static Class<? extends InterruptionFilter.Builder>final LongSpecify the duration of the interruptions in milliseconds.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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.
- Returns:
- Specify the duration of the interruptions in milliseconds. For example, you can flag speech that contains more than 10,000 milliseconds of interruptions.
-
participantRole
Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.
If the service returns an enum value that is not available in the current SDK version,
participantRolewill returnParticipantRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparticipantRoleAsString().- Returns:
- Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.
- See Also:
-
participantRoleAsString
Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.
If the service returns an enum value that is not available in the current SDK version,
participantRolewill returnParticipantRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromparticipantRoleAsString().- Returns:
- Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.
- 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.
- Returns:
- 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.
-
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:
- 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.
-
negate
Set to
TRUEto flag speech that does not contain interruptions. Set toFALSEto flag speech that contains interruptions.- Returns:
- Set to
TRUEto flag speech that does not contain interruptions. Set toFALSEto flag speech that contains interruptions.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<InterruptionFilter.Builder,InterruptionFilter>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-