@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TranscriptFilter extends Object implements Serializable, Cloneable, StructuredPojo
Matches the output of the transcription to either the specific phrases that you specify, or the intent of the phrases that you specify.
| Constructor and Description |
|---|
TranscriptFilter() |
| Modifier and Type | Method and Description |
|---|---|
TranscriptFilter |
clone() |
boolean |
equals(Object obj) |
AbsoluteTimeRange |
getAbsoluteTimeRange()
A time range, set in seconds, between two points in the call.
|
Boolean |
getNegate()
If
TRUE, the rule that you specify is applied to everything except for the phrases that you specify. |
String |
getParticipantRole()
Determines whether the customer or the agent is speaking the phrases that you've specified.
|
RelativeTimeRange |
getRelativeTimeRange()
An object that allows percentages to specify the proportion of the call where you would like to apply a filter.
|
List<String> |
getTargets()
The phrases that you're specifying for the transcript filter to match.
|
String |
getTranscriptFilterType()
Matches the phrase to the transcription output in a word for word fashion.
|
int |
hashCode() |
Boolean |
isNegate()
If
TRUE, the rule that you specify is applied to everything except for the phrases that you specify. |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAbsoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
A time range, set in seconds, between two points in the call.
|
void |
setNegate(Boolean negate)
If
TRUE, the rule that you specify is applied to everything except for the phrases that you specify. |
void |
setParticipantRole(String participantRole)
Determines whether the customer or the agent is speaking the phrases that you've specified.
|
void |
setRelativeTimeRange(RelativeTimeRange relativeTimeRange)
An object that allows percentages to specify the proportion of the call where you would like to apply a filter.
|
void |
setTargets(Collection<String> targets)
The phrases that you're specifying for the transcript filter to match.
|
void |
setTranscriptFilterType(String transcriptFilterType)
Matches the phrase to the transcription output in a word for word fashion.
|
String |
toString()
Returns a string representation of this object.
|
TranscriptFilter |
withAbsoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
A time range, set in seconds, between two points in the call.
|
TranscriptFilter |
withNegate(Boolean negate)
If
TRUE, the rule that you specify is applied to everything except for the phrases that you specify. |
TranscriptFilter |
withParticipantRole(ParticipantRole participantRole)
Determines whether the customer or the agent is speaking the phrases that you've specified.
|
TranscriptFilter |
withParticipantRole(String participantRole)
Determines whether the customer or the agent is speaking the phrases that you've specified.
|
TranscriptFilter |
withRelativeTimeRange(RelativeTimeRange relativeTimeRange)
An object that allows percentages to specify the proportion of the call where you would like to apply a filter.
|
TranscriptFilter |
withTargets(Collection<String> targets)
The phrases that you're specifying for the transcript filter to match.
|
TranscriptFilter |
withTargets(String... targets)
The phrases that you're specifying for the transcript filter to match.
|
TranscriptFilter |
withTranscriptFilterType(String transcriptFilterType)
Matches the phrase to the transcription output in a word for word fashion.
|
TranscriptFilter |
withTranscriptFilterType(TranscriptFilterType transcriptFilterType)
Matches the phrase to the transcription output in a word for word fashion.
|
public void setTranscriptFilterType(String transcriptFilterType)
Matches the phrase to the transcription output in a word for word fashion. For example, if you specify the phrase "I want to speak to the manager." Amazon Transcribe attempts to match that specific phrase to the transcription.
transcriptFilterType - Matches the phrase to the transcription output in a word for word fashion. For example, if you specify the
phrase "I want to speak to the manager." Amazon Transcribe attempts to match that specific phrase to the
transcription.TranscriptFilterTypepublic String getTranscriptFilterType()
Matches the phrase to the transcription output in a word for word fashion. For example, if you specify the phrase "I want to speak to the manager." Amazon Transcribe attempts to match that specific phrase to the transcription.
TranscriptFilterTypepublic TranscriptFilter withTranscriptFilterType(String transcriptFilterType)
Matches the phrase to the transcription output in a word for word fashion. For example, if you specify the phrase "I want to speak to the manager." Amazon Transcribe attempts to match that specific phrase to the transcription.
transcriptFilterType - Matches the phrase to the transcription output in a word for word fashion. For example, if you specify the
phrase "I want to speak to the manager." Amazon Transcribe attempts to match that specific phrase to the
transcription.TranscriptFilterTypepublic TranscriptFilter withTranscriptFilterType(TranscriptFilterType transcriptFilterType)
Matches the phrase to the transcription output in a word for word fashion. For example, if you specify the phrase "I want to speak to the manager." Amazon Transcribe attempts to match that specific phrase to the transcription.
transcriptFilterType - Matches the phrase to the transcription output in a word for word fashion. For example, if you specify the
phrase "I want to speak to the manager." Amazon Transcribe attempts to match that specific phrase to the
transcription.TranscriptFilterTypepublic void setAbsoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
A time range, set in seconds, between two points in the call.
absoluteTimeRange - A time range, set in seconds, between two points in the call.public AbsoluteTimeRange getAbsoluteTimeRange()
A time range, set in seconds, between two points in the call.
public TranscriptFilter withAbsoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
A time range, set in seconds, between two points in the call.
absoluteTimeRange - A time range, set in seconds, between two points in the call.public void setRelativeTimeRange(RelativeTimeRange relativeTimeRange)
An object that allows percentages to specify the proportion of the call where you would like to apply a filter. For example, you can specify the first half of the call. You can also specify the period of time between halfway through to three-quarters of the way through the call. Because the length of conversation can vary between calls, you can apply relative time ranges across all calls.
relativeTimeRange - An object that allows percentages to specify the proportion of the call where you would like to apply a
filter. For example, you can specify the first half of the call. You can also specify the period of time
between halfway through to three-quarters of the way through the call. Because the length of conversation
can vary between calls, you can apply relative time ranges across all calls.public RelativeTimeRange getRelativeTimeRange()
An object that allows percentages to specify the proportion of the call where you would like to apply a filter. For example, you can specify the first half of the call. You can also specify the period of time between halfway through to three-quarters of the way through the call. Because the length of conversation can vary between calls, you can apply relative time ranges across all calls.
public TranscriptFilter withRelativeTimeRange(RelativeTimeRange relativeTimeRange)
An object that allows percentages to specify the proportion of the call where you would like to apply a filter. For example, you can specify the first half of the call. You can also specify the period of time between halfway through to three-quarters of the way through the call. Because the length of conversation can vary between calls, you can apply relative time ranges across all calls.
relativeTimeRange - An object that allows percentages to specify the proportion of the call where you would like to apply a
filter. For example, you can specify the first half of the call. You can also specify the period of time
between halfway through to three-quarters of the way through the call. Because the length of conversation
can vary between calls, you can apply relative time ranges across all calls.public void setParticipantRole(String participantRole)
Determines whether the customer or the agent is speaking the phrases that you've specified.
participantRole - Determines whether the customer or the agent is speaking the phrases that you've specified.ParticipantRolepublic String getParticipantRole()
Determines whether the customer or the agent is speaking the phrases that you've specified.
ParticipantRolepublic TranscriptFilter withParticipantRole(String participantRole)
Determines whether the customer or the agent is speaking the phrases that you've specified.
participantRole - Determines whether the customer or the agent is speaking the phrases that you've specified.ParticipantRolepublic TranscriptFilter withParticipantRole(ParticipantRole participantRole)
Determines whether the customer or the agent is speaking the phrases that you've specified.
participantRole - Determines whether the customer or the agent is speaking the phrases that you've specified.ParticipantRolepublic void setNegate(Boolean negate)
If TRUE, the rule that you specify is applied to everything except for the phrases that you specify.
negate - If TRUE, the rule that you specify is applied to everything except for the phrases that you
specify.public Boolean getNegate()
If TRUE, the rule that you specify is applied to everything except for the phrases that you specify.
TRUE, the rule that you specify is applied to everything except for the phrases that you
specify.public TranscriptFilter withNegate(Boolean negate)
If TRUE, the rule that you specify is applied to everything except for the phrases that you specify.
negate - If TRUE, the rule that you specify is applied to everything except for the phrases that you
specify.public Boolean isNegate()
If TRUE, the rule that you specify is applied to everything except for the phrases that you specify.
TRUE, the rule that you specify is applied to everything except for the phrases that you
specify.public List<String> getTargets()
The phrases that you're specifying for the transcript filter to match.
public void setTargets(Collection<String> targets)
The phrases that you're specifying for the transcript filter to match.
targets - The phrases that you're specifying for the transcript filter to match.public TranscriptFilter withTargets(String... targets)
The phrases that you're specifying for the transcript filter to match.
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 - The phrases that you're specifying for the transcript filter to match.public TranscriptFilter withTargets(Collection<String> targets)
The phrases that you're specifying for the transcript filter to match.
targets - The phrases that you're specifying for the transcript filter to match.public String toString()
toString in class ObjectObject.toString()public TranscriptFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.