Interface SentimentFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SentimentFilter.Builder,SentimentFilter>,SdkBuilder<SentimentFilter.Builder,SentimentFilter>,SdkPojo
- Enclosing class:
- SentimentFilter
public static interface SentimentFilter.Builder extends SdkPojo, CopyableBuilder<SentimentFilter.Builder,SentimentFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SentimentFilter.BuilderabsoluteTimeRange(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.SentimentFilter.BuilderabsoluteTimeRange(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.SentimentFilter.Buildernegate(Boolean negate)Set toTRUEto flag the sentiments that you didn't include in your request.SentimentFilter.BuilderparticipantRole(String participantRole)Specify the participant that you want to flag.SentimentFilter.BuilderparticipantRole(ParticipantRole participantRole)Specify the participant that you want to flag.default SentimentFilter.BuilderrelativeTimeRange(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.SentimentFilter.BuilderrelativeTimeRange(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.SentimentFilter.Buildersentiments(Collection<SentimentValue> sentiments)Specify the sentiments that you want to flag.SentimentFilter.Buildersentiments(SentimentValue... sentiments)Specify the sentiments that you want to flag.SentimentFilter.BuildersentimentsWithStrings(String... sentiments)Specify the sentiments that you want to flag.SentimentFilter.BuildersentimentsWithStrings(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 Detail
-
sentimentsWithStrings
SentimentFilter.Builder sentimentsWithStrings(Collection<String> 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.
-
sentimentsWithStrings
SentimentFilter.Builder sentimentsWithStrings(String... 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
SentimentFilter.Builder sentiments(Collection<SentimentValue> 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
SentimentFilter.Builder sentiments(SentimentValue... 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
SentimentFilter.Builder 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. 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.Builderavoiding the need to create one manually viaAbsoluteTimeRange.builder().When the
Consumercompletes,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:
absoluteTimeRange(AbsoluteTimeRange)
-
relativeTimeRange
SentimentFilter.Builder 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. 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.Builderavoiding the need to create one manually viaRelativeTimeRange.builder().When the
Consumercompletes,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:
relativeTimeRange(RelativeTimeRange)
-
participantRole
SentimentFilter.Builder participantRole(String 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,ParticipantRole
-
participantRole
SentimentFilter.Builder participantRole(ParticipantRole 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,ParticipantRole
-
negate
SentimentFilter.Builder negate(Boolean negate)
Set to
TRUEto flag the sentiments that you didn't include in your request. Set toFALSEto flag the sentiments that you specified in your request.- Parameters:
negate- Set toTRUEto flag the sentiments that you didn't include in your request. Set toFALSEto flag the sentiments that you specified in your request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-