JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.comprehend.model

Class DetectSyntaxRequest

    • Constructor Detail

      • DetectSyntaxRequest

        public DetectSyntaxRequest()
    • Method Detail

      • setText

        public void setText(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.
      • getText

        public String getText()

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

        Returns:
        A UTF-8 string. The maximum string size is 5 KB.
      • withText

        public DetectSyntaxRequest withText(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.
      • setLanguageCode

        public void setLanguageCode(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").
        See Also:
        SyntaxLanguageCode
      • getLanguageCode

        public String getLanguageCode()

        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:
        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").
        See Also:
        SyntaxLanguageCode
      • withLanguageCode

        public DetectSyntaxRequest withLanguageCode(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
      • withLanguageCode

        public DetectSyntaxRequest withLanguageCode(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
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /