@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InterruptionFilter extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
InterruptionFilter() |
Modifier and Type | Method and Description |
---|---|
InterruptionFilter |
clone() |
boolean |
equals(Object obj) |
AbsoluteTimeRange |
getAbsoluteTimeRange()
Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for an
interruption.
|
Boolean |
getNegate()
Set to
TRUE to flag speech that does not contain interruptions. |
String |
getParticipantRole()
Specify the interrupter that you want to flag.
|
RelativeTimeRange |
getRelativeTimeRange()
Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for
an interruption.
|
Long |
getThreshold()
Specify the duration of the interruptions in milliseconds.
|
int |
hashCode() |
Boolean |
isNegate()
Set to
TRUE to flag speech that does not contain interruptions. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAbsoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for an
interruption.
|
void |
setNegate(Boolean negate)
Set to
TRUE to flag speech that does not contain interruptions. |
void |
setParticipantRole(String participantRole)
Specify the interrupter that you want to flag.
|
void |
setRelativeTimeRange(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.
|
void |
setThreshold(Long threshold)
Specify the duration of the interruptions in milliseconds.
|
String |
toString()
Returns a string representation of this object.
|
InterruptionFilter |
withAbsoluteTimeRange(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 |
withNegate(Boolean negate)
Set to
TRUE to flag speech that does not contain interruptions. |
InterruptionFilter |
withParticipantRole(ParticipantRole participantRole)
Specify the interrupter that you want to flag.
|
InterruptionFilter |
withParticipantRole(String participantRole)
Specify the interrupter that you want to flag.
|
InterruptionFilter |
withRelativeTimeRange(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 |
withThreshold(Long threshold)
Specify the duration of the interruptions in milliseconds.
|
public void setThreshold(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.
threshold
- Specify the duration of the interruptions in milliseconds. For example, you can flag speech that contains
more than 10,000 milliseconds of interruptions.public Long getThreshold()
Specify the duration of the interruptions in milliseconds. For example, you can flag speech that contains more than 10,000 milliseconds of interruptions.
public InterruptionFilter withThreshold(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.
threshold
- Specify the duration of the interruptions in milliseconds. For example, you can flag speech that contains
more than 10,000 milliseconds of interruptions.public void setParticipantRole(String participantRole)
Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.
participantRole
- Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both
participants.ParticipantRole
public String getParticipantRole()
Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.
ParticipantRole
public InterruptionFilter withParticipantRole(String participantRole)
Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.
participantRole
- Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both
participants.ParticipantRole
public InterruptionFilter withParticipantRole(ParticipantRole participantRole)
Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both participants.
participantRole
- Specify the interrupter that you want to flag. Omitting this parameter is equivalent to specifying both
participants.ParticipantRole
public void setAbsoluteTimeRange(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.
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.public AbsoluteTimeRange getAbsoluteTimeRange()
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.
public InterruptionFilter withAbsoluteTimeRange(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.
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.public void setRelativeTimeRange(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.
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.public RelativeTimeRange getRelativeTimeRange()
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.
public InterruptionFilter withRelativeTimeRange(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.
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.public void setNegate(Boolean negate)
Set to TRUE
to flag speech that does not contain interruptions. Set to FALSE
to flag
speech that contains interruptions.
negate
- Set to TRUE
to flag speech that does not contain interruptions. Set to FALSE
to
flag speech that contains interruptions.public Boolean getNegate()
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 withNegate(Boolean negate)
Set to TRUE
to flag speech that does not contain interruptions. Set to FALSE
to flag
speech that contains interruptions.
negate
- Set to TRUE
to flag speech that does not contain interruptions. Set to FALSE
to
flag speech that contains interruptions.public Boolean isNegate()
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 String toString()
toString
in class Object
Object.toString()
public InterruptionFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.