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
InterruptionFilterare 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInterruptionFilter.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AbsoluteTimeRangeabsoluteTimeRange()Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for an interruption.static InterruptionFilter.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Booleannegate()Set toTRUEto flag speech that does not contain interruptions.ParticipantRoleparticipantRole()Specify the interrupter that you want to flag.StringparticipantRoleAsString()Specify the interrupter that you want to flag.RelativeTimeRangerelativeTimeRange()Makes it possible 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()Longthreshold()Specify the duration of the interruptions in milliseconds.InterruptionFilter.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
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,
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:
ParticipantRole
-
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,
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:
ParticipantRole
-
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
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
public InterruptionFilter.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InterruptionFilter.Builder,InterruptionFilter>
-
builder
public static InterruptionFilter.Builder builder()
-
serializableBuilderClass
public static Class<? extends InterruptionFilter.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-