Class InterruptionFilter

java.lang.Object
software.amazon.awssdk.services.transcribe.model.InterruptionFilter
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<InterruptionFilter.Builder,InterruptionFilter>

@Generated("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 post-call categories for usage examples.

See Also:
  • Method Details

    • threshold

      public final 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.

      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

      public final ParticipantRole 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, participantRole will return ParticipantRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from participantRoleAsString().

      Returns:
      Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.
      See Also:
    • participantRoleAsString

      public final String 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, participantRole will return ParticipantRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from participantRoleAsString().

      Returns:
      Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.
      See Also:
    • absoluteTimeRange

      public final 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.

      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

      public final 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.

      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

      public final Boolean negate()

      Set to TRUE to flag speech that does not contain interruptions. Set to FALSE to flag speech that contains interruptions.

      Returns:
      Set to TRUE to flag speech that does not contain interruptions. Set to FALSE to flag speech that contains interruptions.
    • toBuilder

      public InterruptionFilter.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<InterruptionFilter.Builder,InterruptionFilter>
    • builder

      public static InterruptionFilter.Builder builder()
    • serializableBuilderClass

      public static Class<? extends InterruptionFilter.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo