public static interface SentimentFilter.Builder extends SdkPojo, CopyableBuilder<SentimentFilter.Builder,SentimentFilter>
| Modifier and Type | Method and Description |
|---|---|
SentimentFilter.Builder |
absoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
Allows you to specify a time range (in milliseconds) in your audio, during which you want to search for the
specified sentiments.
|
default SentimentFilter.Builder |
absoluteTimeRange(Consumer<AbsoluteTimeRange.Builder> absoluteTimeRange)
Allows you to specify a time range (in milliseconds) in your audio, during which you want to search for the
specified sentiments.
|
SentimentFilter.Builder |
negate(Boolean negate)
Set to
TRUE to flag the sentiments you didn't include in your request. |
SentimentFilter.Builder |
participantRole(ParticipantRole participantRole)
Specify the participant you want to flag.
|
SentimentFilter.Builder |
participantRole(String participantRole)
Specify the participant you want to flag.
|
default SentimentFilter.Builder |
relativeTimeRange(Consumer<RelativeTimeRange.Builder> relativeTimeRange)
Allows you to specify a time range (in percentage) in your media file, during which you want to search for
the specified sentiments.
|
SentimentFilter.Builder |
relativeTimeRange(RelativeTimeRange relativeTimeRange)
Allows you to specify a time range (in percentage) in your media file, during which you want to search for
the specified sentiments.
|
SentimentFilter.Builder |
sentiments(Collection<SentimentValue> sentiments)
Specify the sentiments you want to flag.
|
SentimentFilter.Builder |
sentiments(SentimentValue... sentiments)
Specify the sentiments you want to flag.
|
SentimentFilter.Builder |
sentimentsWithStrings(Collection<String> sentiments)
Specify the sentiments you want to flag.
|
SentimentFilter.Builder |
sentimentsWithStrings(String... sentiments)
Specify the sentiments you want to flag.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSentimentFilter.Builder sentimentsWithStrings(Collection<String> sentiments)
Specify the sentiments you want to flag.
sentiments - Specify the sentiments you want to flag.SentimentFilter.Builder sentimentsWithStrings(String... sentiments)
Specify the sentiments you want to flag.
sentiments - Specify the sentiments you want to flag.SentimentFilter.Builder sentiments(Collection<SentimentValue> sentiments)
Specify the sentiments you want to flag.
sentiments - Specify the sentiments you want to flag.SentimentFilter.Builder sentiments(SentimentValue... sentiments)
Specify the sentiments you want to flag.
sentiments - Specify the sentiments you want to flag.SentimentFilter.Builder absoluteTimeRange(AbsoluteTimeRange absoluteTimeRange)
Allows you to specify a time range (in milliseconds) in your audio, during which you want to search for the specified sentiments. See for more detail.
absoluteTimeRange - Allows you to specify a time range (in milliseconds) in your audio, during which you want to search
for the specified sentiments. See for more detail.default SentimentFilter.Builder absoluteTimeRange(Consumer<AbsoluteTimeRange.Builder> absoluteTimeRange)
Allows you 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 via AbsoluteTimeRange.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to absoluteTimeRange(AbsoluteTimeRange).
absoluteTimeRange - a consumer that will call methods on AbsoluteTimeRange.BuilderabsoluteTimeRange(AbsoluteTimeRange)SentimentFilter.Builder relativeTimeRange(RelativeTimeRange relativeTimeRange)
Allows you 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.
relativeTimeRange - Allows you 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.default SentimentFilter.Builder relativeTimeRange(Consumer<RelativeTimeRange.Builder> relativeTimeRange)
Allows you 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 via RelativeTimeRange.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to relativeTimeRange(RelativeTimeRange).
relativeTimeRange - a consumer that will call methods on RelativeTimeRange.BuilderrelativeTimeRange(RelativeTimeRange)SentimentFilter.Builder participantRole(String participantRole)
Specify the participant you want to flag. Omitting this parameter is equivalent to specifying both participants.
participantRole - Specify the participant you want to flag. Omitting this parameter is equivalent to specifying both
participants.ParticipantRole,
ParticipantRoleSentimentFilter.Builder participantRole(ParticipantRole participantRole)
Specify the participant you want to flag. Omitting this parameter is equivalent to specifying both participants.
participantRole - Specify the participant you want to flag. Omitting this parameter is equivalent to specifying both
participants.ParticipantRole,
ParticipantRoleSentimentFilter.Builder negate(Boolean negate)
Set to TRUE to flag the sentiments you didn't include in your request. Set to FALSE
to flag the sentiments you specified in your request.
negate - Set to TRUE to flag the sentiments you didn't include in your request. Set to
FALSE to flag the sentiments you specified in your request.Copyright © 2022. All rights reserved.