Interface DetectSyntaxRequest.Builder

    • Method Detail

      • text

        DetectSyntaxRequest.Builder text​(String text)

        A UTF-8 string. The maximum string size is 5 KB.

        Parameters:
        text - A UTF-8 string. The maximum string size is 5 KB.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • languageCode

        DetectSyntaxRequest.Builder languageCode​(String languageCode)

        The language code of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt").

        Parameters:
        languageCode - The language code of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt").
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SyntaxLanguageCode, SyntaxLanguageCode
      • languageCode

        DetectSyntaxRequest.Builder languageCode​(SyntaxLanguageCode languageCode)

        The language code of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt").

        Parameters:
        languageCode - The language code of the input documents. You can specify any of the following languages supported by Amazon Comprehend: German ("de"), English ("en"), Spanish ("es"), French ("fr"), Italian ("it"), or Portuguese ("pt").
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SyntaxLanguageCode, SyntaxLanguageCode