public class BatchDetectSyntaxRequest extends AmazonWebServiceRequest implements java.io.Serializable
Inspects the text of a batch of documents for the syntax and part of speech of the words in the document and returns information about them. For more information, see how-syntax.
Constructor and Description |
---|
BatchDetectSyntaxRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getLanguageCode()
The language of the input documents.
|
java.util.List<java.lang.String> |
getTextList()
A list containing the text of the input documents.
|
int |
hashCode() |
void |
setLanguageCode(java.lang.String languageCode)
The language of the input documents.
|
void |
setLanguageCode(SyntaxLanguageCode languageCode)
The language of the input documents.
|
void |
setTextList(java.util.Collection<java.lang.String> textList)
A list containing the text of the input documents.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchDetectSyntaxRequest |
withLanguageCode(java.lang.String languageCode)
The language of the input documents.
|
BatchDetectSyntaxRequest |
withLanguageCode(SyntaxLanguageCode languageCode)
The language of the input documents.
|
BatchDetectSyntaxRequest |
withTextList(java.util.Collection<java.lang.String> textList)
A list containing the text of the input documents.
|
BatchDetectSyntaxRequest |
withTextList(java.lang.String... textList)
A list containing the text of the input documents.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.util.List<java.lang.String> getTextList()
A list containing the text of the input documents. The list can contain a maximum of 25 documents. Each document must contain fewer that 5,000 bytes of UTF-8 encoded characters.
A list containing the text of the input documents. The list can contain a maximum of 25 documents. Each document must contain fewer that 5,000 bytes of UTF-8 encoded characters.
public void setTextList(java.util.Collection<java.lang.String> textList)
A list containing the text of the input documents. The list can contain a maximum of 25 documents. Each document must contain fewer that 5,000 bytes of UTF-8 encoded characters.
textList
- A list containing the text of the input documents. The list can contain a maximum of 25 documents. Each document must contain fewer that 5,000 bytes of UTF-8 encoded characters.
public BatchDetectSyntaxRequest withTextList(java.lang.String... textList)
A list containing the text of the input documents. The list can contain a maximum of 25 documents. Each document must contain fewer that 5,000 bytes of UTF-8 encoded characters.
Returns a reference to this object so that method calls can be chained together.
textList
- A list containing the text of the input documents. The list can contain a maximum of 25 documents. Each document must contain fewer that 5,000 bytes of UTF-8 encoded characters.
public BatchDetectSyntaxRequest withTextList(java.util.Collection<java.lang.String> textList)
A list containing the text of the input documents. The list can contain a maximum of 25 documents. Each document must contain fewer that 5,000 bytes of UTF-8 encoded characters.
Returns a reference to this object so that method calls can be chained together.
textList
- A list containing the text of the input documents. The list can contain a maximum of 25 documents. Each document must contain fewer that 5,000 bytes of UTF-8 encoded characters.
public java.lang.String getLanguageCode()
The language 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"). All documents must be in the same language.
Constraints:
Allowed Values: en, es, fr, de, it, pt
The language 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"). All documents must be in the same language.
SyntaxLanguageCode
public void setLanguageCode(java.lang.String languageCode)
The language 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"). All documents must be in the same language.
Constraints:
Allowed Values: en, es, fr, de, it, pt
languageCode
- The language 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"). All documents must be in the same language.
SyntaxLanguageCode
public BatchDetectSyntaxRequest withLanguageCode(java.lang.String languageCode)
The language 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"). All documents must be in the same language.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: en, es, fr, de, it, pt
languageCode
- The language 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"). All documents must be in the same language.
SyntaxLanguageCode
public void setLanguageCode(SyntaxLanguageCode languageCode)
The language 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"). All documents must be in the same language.
Constraints:
Allowed Values: en, es, fr, de, it, pt
languageCode
- The language 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"). All documents must be in the same language.
SyntaxLanguageCode
public BatchDetectSyntaxRequest withLanguageCode(SyntaxLanguageCode languageCode)
The language 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"). All documents must be in the same language.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: en, es, fr, de, it, pt
languageCode
- The language 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"). All documents must be in the same language.
SyntaxLanguageCode
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.