Interface Emotion.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Emotion.Builder,Emotion>, SdkBuilder<Emotion.Builder,Emotion>, SdkPojo
Enclosing class:
Emotion

@Mutable @NotThreadSafe public static interface Emotion.Builder extends SdkPojo, CopyableBuilder<Emotion.Builder,Emotion>
  • Method Details

    • 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:
    • 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:
    • 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.