Interface SentimentFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SentimentFilter.Builder,
,SentimentFilter> SdkBuilder<SentimentFilter.Builder,
,SentimentFilter> SdkPojo
- Enclosing class:
SentimentFilter
-
Method Summary
Modifier and TypeMethodDescriptiondefault SentimentFilter.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 sentiments.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 sentiments.Set toTRUE
to flag the sentiments that you didn't include 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 SentimentFilter.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 sentiments.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 sentiments.sentiments
(Collection<SentimentValue> sentiments) Specify the sentiments that you want to flag.sentiments
(SentimentValue... sentiments) Specify the sentiments that you want to flag.sentimentsWithStrings
(String... sentiments) Specify the sentiments that you want to flag.sentimentsWithStrings
(Collection<String> sentiments) Specify the sentiments that you want to flag.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
-
sentimentsWithStrings
Specify the sentiments that you want to flag.
- Parameters:
sentiments
- Specify the sentiments that you want to flag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sentimentsWithStrings
Specify the sentiments that you want to flag.
- Parameters:
sentiments
- Specify the sentiments that you want to flag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sentiments
Specify the sentiments that you want to flag.
- Parameters:
sentiments
- Specify the sentiments that you want to flag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sentiments
Specify the sentiments that you want to flag.
- Parameters:
sentiments
- Specify the sentiments that you want to flag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
absoluteTimeRange
Makes it possible to specify a time range (in milliseconds) in your audio, during which you want to search for the specified sentiments. 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 sentiments. See for more detail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
absoluteTimeRange
default SentimentFilter.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 sentiments. 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 sentiments. 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 sentiments. See for more detail.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relativeTimeRange
default SentimentFilter.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 sentiments. 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 sentiments that you didn't include in your request. Set toFALSE
to flag the sentiments that you specified in your request.- Parameters:
negate
- Set toTRUE
to flag the sentiments that you didn't include in your request. Set toFALSE
to flag the sentiments that you specified in your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-