Interface DominantLanguage.Builder

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

public static interface DominantLanguage.Builder extends SdkPojo, CopyableBuilder<DominantLanguage.Builder,DominantLanguage>
  • Method Details

    • languageCode

      DominantLanguage.Builder languageCode(String languageCode)

      The RFC 5646 language code for the dominant language. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.

      Parameters:
      languageCode - The RFC 5646 language code for the dominant language. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • score

      The level of confidence that Amazon Comprehend has in the accuracy of the detection.

      Parameters:
      score - The level of confidence that Amazon Comprehend has in the accuracy of the detection.
      Returns:
      Returns a reference to this object so that method calls can be chained together.