Interface TranscriptFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TranscriptFilter.Builder,
,TranscriptFilter> SdkBuilder<TranscriptFilter.Builder,
,TranscriptFilter> SdkPojo
- Enclosing class:
TranscriptFilter
-
Method Summary
Modifier and TypeMethodDescriptiondefault TranscriptFilter.Builder
absoluteTimeRange
(Consumer<AbsoluteTimeRange.Builder> 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.absoluteTimeRange
(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.Set toTRUE
to flag the absence of the phrase that you specified in your request.participantRole
(String participantRole) Specify the participant that you want to flag.participantRole
(ParticipantRole participantRole) Specify the participant that you want to flag.default TranscriptFilter.Builder
relativeTimeRange
(Consumer<RelativeTimeRange.Builder> 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.relativeTimeRange
(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.Specify the phrases that you want to flag.targets
(Collection<String> targets) Specify the phrases that you want to flag.transcriptFilterType
(String transcriptFilterType) Flag the presence or absence of an exact match to the phrases that you specify.transcriptFilterType
(TranscriptFilterType transcriptFilterType) Flag the presence or absence of an exact match to the phrases that you specify.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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 yourTargets
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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 yourTargets
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
absoluteTimeRange
default TranscriptFilter.Builder absoluteTimeRange(Consumer<AbsoluteTimeRange.Builder> 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.
This is a convenience method that creates an instance of theAbsoluteTimeRange.Builder
avoiding the need to create one manually viaAbsoluteTimeRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toabsoluteTimeRange(AbsoluteTimeRange)
.- Parameters:
absoluteTimeRange
- a consumer that will call methods onAbsoluteTimeRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relativeTimeRange
default TranscriptFilter.Builder relativeTimeRange(Consumer<RelativeTimeRange.Builder> 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.
This is a convenience method that creates an instance of theRelativeTimeRange.Builder
avoiding the need to create one manually viaRelativeTimeRange.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torelativeTimeRange(RelativeTimeRange)
.- Parameters:
relativeTimeRange
- a consumer that will call methods onRelativeTimeRange.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
participantRole
Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying both participants.
- Parameters:
participantRole
- Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying both participants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
participantRole
Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying both participants.
- Parameters:
participantRole
- Specify the participant that you want to flag. Omitting this parameter is equivalent to specifying both participants.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
negate
Set to
TRUE
to flag the absence of the phrase that you specified in your request. Set toFALSE
to flag the presence of the phrase that you specified in your request.- Parameters:
negate
- Set toTRUE
to flag the absence of the phrase that you specified in your request. Set toFALSE
to flag the presence of the phrase that you specified in your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
Specify the phrases that you want to flag.
- Parameters:
targets
- Specify the phrases that you want to flag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
Specify the phrases that you want to flag.
- Parameters:
targets
- Specify the phrases that you want to flag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-