@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDetectSyntaxRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
BatchDetectSyntaxRequest() |
| Modifier and Type | Method and Description |
|---|---|
BatchDetectSyntaxRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getLanguageCode()
The language of the input documents.
|
List<String> |
getTextList()
A list containing the text of the input documents.
|
int |
hashCode() |
void |
setLanguageCode(String languageCode)
The language of the input documents.
|
void |
setTextList(Collection<String> textList)
A list containing the text of the input documents.
|
String |
toString()
Returns a string representation of this object.
|
BatchDetectSyntaxRequest |
withLanguageCode(String languageCode)
The language of the input documents.
|
BatchDetectSyntaxRequest |
withLanguageCode(SyntaxLanguageCode languageCode)
The language of the input documents.
|
BatchDetectSyntaxRequest |
withTextList(Collection<String> textList)
A list containing the text of the input documents.
|
BatchDetectSyntaxRequest |
withTextList(String... textList)
A list containing the text of the input documents.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic List<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.
public void setTextList(Collection<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(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.
NOTE: This method appends the values to the existing list (if any). Use
setTextList(java.util.Collection) or withTextList(java.util.Collection) if you want to override
the existing values.
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(Collection<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 void setLanguageCode(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.
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.SyntaxLanguageCodepublic 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.
SyntaxLanguageCodepublic BatchDetectSyntaxRequest withLanguageCode(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.
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.SyntaxLanguageCodepublic 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.
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.SyntaxLanguageCodepublic String toString()
toString in class ObjectObject.toString()public BatchDetectSyntaxRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()