@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 usage examples.
| Constructor and Description |
|---|
NonTalkTimeFilter() |
| Modifier and Type | Method and Description |
|---|---|
NonTalkTimeFilter |
clone() |
boolean |
equals(Object obj) |
AbsoluteTimeRange |
getAbsoluteTimeRange()
Allows you 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()
Allows you 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 you want to flag.
|
int |
hashCode() |
Boolean |
isNegate()
Set to
TRUE to flag periods of speech. |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAbsoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
Allows you 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)
Allows you 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 you want to flag.
|
String |
toString()
Returns a string representation of this object.
|
NonTalkTimeFilter |
withAbsoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
Allows you 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)
Allows you 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 you want to flag.
|
public void setThreshold(Long threshold)
Specify the duration, in milliseconds, of the period of silence you want to flag. For example, you can flag a silent period that lasts 30000 milliseconds.
threshold - Specify the duration, in milliseconds, of the period of silence you want to flag. For example, you can
flag a silent period that lasts 30000 milliseconds.public Long getThreshold()
Specify the duration, in milliseconds, of the period of silence you want to flag. For example, you can flag a silent period that lasts 30000 milliseconds.
public NonTalkTimeFilter withThreshold(Long threshold)
Specify the duration, in milliseconds, of the period of silence you want to flag. For example, you can flag a silent period that lasts 30000 milliseconds.
threshold - Specify the duration, in milliseconds, of the period of silence you want to flag. For example, you can
flag a silent period that lasts 30000 milliseconds.public void setAbsoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
Allows you 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 - Allows you 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()
Allows you 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)
Allows you 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 - Allows you 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)
Allows you 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 - Allows you 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()
Allows you 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)
Allows you 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 - Allows you 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 ObjectObject.toString()public NonTalkTimeFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.