@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TranscriptFilter extends Object implements Serializable, Cloneable, StructuredPojo
Flag the presence or absence of specific words or phrases detected in your Call Analytics transcription output.
Rules using TranscriptFilter
are designed to match:
Custom words or phrases spoken by the agent, the customer, or both
Custom words or phrases not spoken by the agent, the customer, or either
Custom words or phrases that occur at a specific time frame
See Rule criteria for post-call categories and Rule criteria for streaming categories for usage examples.
Constructor and Description |
---|
TranscriptFilter() |
Modifier and Type | Method and Description |
---|---|
TranscriptFilter |
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
the specified key words or phrases.
|
Boolean |
getNegate()
Set to
TRUE to flag the absence of the phrase that you specified in your request. |
String |
getParticipantRole()
Specify the participant 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
the specified key words or phrases.
|
List<String> |
getTargets()
Specify the phrases that you want to flag.
|
String |
getTranscriptFilterType()
Flag the presence or absence of an exact match to the phrases that you specify.
|
int |
hashCode() |
Boolean |
isNegate()
Set to
TRUE to flag the absence of the phrase that you specified in your request. |
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
the specified key words or phrases.
|
void |
setNegate(Boolean negate)
Set to
TRUE to flag the absence of the phrase that you specified in your request. |
void |
setParticipantRole(String participantRole)
Specify the participant 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
the specified key words or phrases.
|
void |
setTargets(Collection<String> targets)
Specify the phrases that you want to flag.
|
void |
setTranscriptFilterType(String transcriptFilterType)
Flag the presence or absence of an exact match to the phrases that you specify.
|
String |
toString()
Returns a string representation of this object.
|
TranscriptFilter |
withAbsoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for
the specified key words or phrases.
|
TranscriptFilter |
withNegate(Boolean negate)
Set to
TRUE to flag the absence of the phrase that you specified in your request. |
TranscriptFilter |
withParticipantRole(ParticipantRole participantRole)
Specify the participant that you want to flag.
|
TranscriptFilter |
withParticipantRole(String participantRole)
Specify the participant that you want to flag.
|
TranscriptFilter |
withRelativeTimeRange(RelativeTimeRange relativeTimeRange)
Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for
the specified key words or phrases.
|
TranscriptFilter |
withTargets(Collection<String> targets)
Specify the phrases that you want to flag.
|
TranscriptFilter |
withTargets(String... targets)
Specify the phrases that you want to flag.
|
TranscriptFilter |
withTranscriptFilterType(String transcriptFilterType)
Flag the presence or absence of an exact match to the phrases that you specify.
|
TranscriptFilter |
withTranscriptFilterType(TranscriptFilterType transcriptFilterType)
Flag the presence or absence of an exact match to the phrases that you specify.
|
public void setTranscriptFilterType(String transcriptFilterType)
Flag the presence or absence of an exact match to the phrases that you specify. For example, if you specify the
phrase "speak to a manager" as your Targets
value, only that exact phrase is flagged.
Note that semantic matching is not supported. For example, if your customer says "speak to the manager", instead of "speak to a manager", your content is not flagged.
transcriptFilterType
- Flag the presence or absence of an exact match to the phrases that you specify. For example, if you
specify the phrase "speak to a manager" as your Targets
value, only that exact phrase is
flagged.
Note that semantic matching is not supported. For example, if your customer says "speak to the manager", instead of "speak to a manager", your content is not flagged.
TranscriptFilterType
public String getTranscriptFilterType()
Flag the presence or absence of an exact match to the phrases that you specify. For example, if you specify the
phrase "speak to a manager" as your Targets
value, only that exact phrase is flagged.
Note that semantic matching is not supported. For example, if your customer says "speak to the manager", instead of "speak to a manager", your content is not flagged.
Targets
value, only that exact phrase is
flagged.
Note that semantic matching is not supported. For example, if your customer says "speak to the manager", instead of "speak to a manager", your content is not flagged.
TranscriptFilterType
public TranscriptFilter withTranscriptFilterType(String transcriptFilterType)
Flag the presence or absence of an exact match to the phrases that you specify. For example, if you specify the
phrase "speak to a manager" as your Targets
value, only that exact phrase is flagged.
Note that semantic matching is not supported. For example, if your customer says "speak to the manager", instead of "speak to a manager", your content is not flagged.
transcriptFilterType
- Flag the presence or absence of an exact match to the phrases that you specify. For example, if you
specify the phrase "speak to a manager" as your Targets
value, only that exact phrase is
flagged.
Note that semantic matching is not supported. For example, if your customer says "speak to the manager", instead of "speak to a manager", your content is not flagged.
TranscriptFilterType
public TranscriptFilter withTranscriptFilterType(TranscriptFilterType transcriptFilterType)
Flag the presence or absence of an exact match to the phrases that you specify. For example, if you specify the
phrase "speak to a manager" as your Targets
value, only that exact phrase is flagged.
Note that semantic matching is not supported. For example, if your customer says "speak to the manager", instead of "speak to a manager", your content is not flagged.
transcriptFilterType
- Flag the presence or absence of an exact match to the phrases that you specify. For example, if you
specify the phrase "speak to a manager" as your Targets
value, only that exact phrase is
flagged.
Note that semantic matching is not supported. For example, if your customer says "speak to the manager", instead of "speak to a manager", your content is not flagged.
TranscriptFilterType
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 the specified key words or phrases. 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 the specified key words or phrases. 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 the specified key words or phrases. See for more detail.
public TranscriptFilter withAbsoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for the specified key words or phrases. 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 the specified key words or phrases. 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 the specified key words or phrases. 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 the specified key words or phrases. 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 the specified key words or phrases. See for more detail.
public TranscriptFilter withRelativeTimeRange(RelativeTimeRange relativeTimeRange)
Makes it possible to specify a time range (in percentage) in your media file, during which you want to search for the specified key words or phrases. 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 the specified key words or phrases. See for more detail.public void setParticipantRole(String participantRole)
Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying both participants.
participantRole
- Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying both
participants.ParticipantRole
public String getParticipantRole()
Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying both participants.
ParticipantRole
public TranscriptFilter withParticipantRole(String participantRole)
Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying both participants.
participantRole
- Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying both
participants.ParticipantRole
public TranscriptFilter withParticipantRole(ParticipantRole participantRole)
Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying both participants.
participantRole
- Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying both
participants.ParticipantRole
public void setNegate(Boolean negate)
Set to TRUE
to flag the absence of the phrase that you specified in your request. Set to
FALSE
to flag the presence of the phrase that you specified in your request.
negate
- Set to TRUE
to flag the absence of the phrase that you specified in your request. Set to
FALSE
to flag the presence of the phrase that you specified in your request.public Boolean getNegate()
Set to TRUE
to flag the absence of the phrase that you specified in your request. Set to
FALSE
to flag the presence of the phrase that you specified in your request.
TRUE
to flag the absence of the phrase that you specified in your request. Set to
FALSE
to flag the presence of the phrase that you specified in your request.public TranscriptFilter withNegate(Boolean negate)
Set to TRUE
to flag the absence of the phrase that you specified in your request. Set to
FALSE
to flag the presence of the phrase that you specified in your request.
negate
- Set to TRUE
to flag the absence of the phrase that you specified in your request. Set to
FALSE
to flag the presence of the phrase that you specified in your request.public Boolean isNegate()
Set to TRUE
to flag the absence of the phrase that you specified in your request. Set to
FALSE
to flag the presence of the phrase that you specified in your request.
TRUE
to flag the absence of the phrase that you specified in your request. Set to
FALSE
to flag the presence of the phrase that you specified in your request.public List<String> getTargets()
Specify the phrases that you want to flag.
public void setTargets(Collection<String> targets)
Specify the phrases that you want to flag.
targets
- Specify the phrases that you want to flag.public TranscriptFilter withTargets(String... targets)
Specify the phrases that you want to flag.
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection)
or withTargets(java.util.Collection)
if you want to override
the existing values.
targets
- Specify the phrases that you want to flag.public TranscriptFilter withTargets(Collection<String> targets)
Specify the phrases that you want to flag.
targets
- Specify the phrases that you want to flag.public String toString()
toString
in class Object
Object.toString()
public TranscriptFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.