@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NonTalkTimeFilter extends Object implements Serializable, Cloneable, StructuredPojo
Flag the presence or absence of periods of silence in your Call Analytics transcription output.
Rules using NonTalkTimeFilter
are designed to match:
The presence of silence at specified periods throughout the call
The presence of speech at specified periods throughout the call
See Rule criteria for post-call categories for usage examples.
Constructor and Description |
---|
NonTalkTimeFilter() |
Modifier and Type | Method and Description |
---|---|
NonTalkTimeFilter |
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 a
period of silence.
|
Boolean |
getNegate()
Set to
TRUE to flag periods of speech. |
RelativeTimeRange |
getRelativeTimeRange()
Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for
a period of silence.
|
Long |
getThreshold()
Specify the duration, in milliseconds, of the period of silence that you want to flag.
|
int |
hashCode() |
Boolean |
isNegate()
Set to
TRUE to flag periods of speech. |
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 a
period of silence.
|
void |
setNegate(Boolean negate)
Set to
TRUE to flag periods of speech. |
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
a period of silence.
|
void |
setThreshold(Long threshold)
Specify the duration, in milliseconds, of the period of silence that you want to flag.
|
String |
toString()
Returns a string representation of this object.
|
NonTalkTimeFilter |
withAbsoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for a
period of silence.
|
NonTalkTimeFilter |
withNegate(Boolean negate)
Set to
TRUE to flag periods of speech. |
NonTalkTimeFilter |
withRelativeTimeRange(RelativeTimeRange relativeTimeRange)
Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for
a period of silence.
|
NonTalkTimeFilter |
withThreshold(Long threshold)
Specify the duration, in milliseconds, of the period of silence that you want to flag.
|
public void setThreshold(Long threshold)
Specify the duration, in milliseconds, of the period of silence that you want to flag. For example, you can flag a silent period that lasts 30,000 milliseconds.
threshold
- Specify the duration, in milliseconds, of the period of silence that you want to flag. For example, you
can flag a silent period that lasts 30,000 milliseconds.public Long getThreshold()
Specify the duration, in milliseconds, of the period of silence that you want to flag. For example, you can flag a silent period that lasts 30,000 milliseconds.
public NonTalkTimeFilter withThreshold(Long threshold)
Specify the duration, in milliseconds, of the period of silence that you want to flag. For example, you can flag a silent period that lasts 30,000 milliseconds.
threshold
- Specify the duration, in milliseconds, of the period of silence that you want to flag. For example, you
can flag a silent period that lasts 30,000 milliseconds.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 a period of silence. 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 a period of silence. 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 a period of silence. See for more detail.
public NonTalkTimeFilter withAbsoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for a period of silence. 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 a period of silence. 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 a period of silence. 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 a period of silence. 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 a period of silence. See for more detail.
public NonTalkTimeFilter withRelativeTimeRange(RelativeTimeRange relativeTimeRange)
Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for a period of silence. 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 a period of silence. See for more detail.public void setNegate(Boolean negate)
Set to TRUE
to flag periods of speech. Set to FALSE
to flag periods of silence
negate
- Set to TRUE
to flag periods of speech. Set to FALSE
to flag periods of silencepublic Boolean getNegate()
Set to TRUE
to flag periods of speech. Set to FALSE
to flag periods of silence
TRUE
to flag periods of speech. Set to FALSE
to flag periods of silencepublic NonTalkTimeFilter withNegate(Boolean negate)
Set to TRUE
to flag periods of speech. Set to FALSE
to flag periods of silence
negate
- Set to TRUE
to flag periods of speech. Set to FALSE
to flag periods of silencepublic Boolean isNegate()
Set to TRUE
to flag periods of speech. Set to FALSE
to flag periods of silence
TRUE
to flag periods of speech. Set to FALSE
to flag periods of silencepublic String toString()
toString
in class Object
Object.toString()
public NonTalkTimeFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.