Interface Emotion.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Emotion.Builder,Emotion>,SdkBuilder<Emotion.Builder,Emotion>,SdkPojo
- Enclosing class:
- Emotion
public static interface Emotion.Builder extends SdkPojo, CopyableBuilder<Emotion.Builder,Emotion>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Emotion.Builderconfidence(Float confidence)Level of confidence in the determination.Emotion.Buildertype(String type)Type of emotion detected.Emotion.Buildertype(EmotionName type)Type of emotion detected.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
type
Emotion.Builder type(String type)
Type of emotion detected.
- Parameters:
type- Type of emotion detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EmotionName,EmotionName
-
type
Emotion.Builder type(EmotionName type)
Type of emotion detected.
- Parameters:
type- Type of emotion detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EmotionName,EmotionName
-
confidence
Emotion.Builder confidence(Float confidence)
Level of confidence in the determination.
- Parameters:
confidence- Level of confidence in the determination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-