@Generated(value="software.amazon.awssdk:codegen") public final class InterruptionFilter extends Object implements SdkPojo, Serializable, 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 usage examples.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InterruptionFilter.Builder |
| Modifier and Type | Method and Description |
|---|---|
AbsoluteTimeRange |
absoluteTimeRange()
Allows you to specify a time range (in milliseconds) in your audio, during which you want to search for an
interruption.
|
static InterruptionFilter.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
negate()
Set to
TRUE to flag speech that does not contain interruptions. |
ParticipantRole |
participantRole()
Specify the interrupter you want to flag.
|
String |
participantRoleAsString()
Specify the interrupter you want to flag.
|
RelativeTimeRange |
relativeTimeRange()
Allows you to specify a time range (in percentage) in your media file, during which you want to search for an
interruption.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InterruptionFilter.Builder> |
serializableBuilderClass() |
Long |
threshold()
Specify the duration of the interruptions in milliseconds.
|
InterruptionFilter.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Long threshold()
Specify the duration of the interruptions in milliseconds. For example, you can flag speech that contains more than 10000 milliseconds of interruptions.
public final ParticipantRole participantRole()
Specify the interrupter 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, participantRole
will return ParticipantRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from participantRoleAsString().
ParticipantRolepublic final String participantRoleAsString()
Specify the interrupter 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, participantRole
will return ParticipantRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from participantRoleAsString().
ParticipantRolepublic final AbsoluteTimeRange absoluteTimeRange()
Allows you to specify a time range (in milliseconds) in your audio, during which you want to search for an interruption. See for more detail.
public final RelativeTimeRange relativeTimeRange()
Allows you to specify a time range (in percentage) in your media file, during which you want to search for an interruption. See for more detail.
public final Boolean negate()
Set to TRUE to flag speech that does not contain interruptions. Set to FALSE to flag
speech that contains interruptions.
TRUE to flag speech that does not contain interruptions. Set to FALSE to
flag speech that contains interruptions.public InterruptionFilter.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InterruptionFilter.Builder,InterruptionFilter>public static InterruptionFilter.Builder builder()
public static Class<? extends InterruptionFilter.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.