@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectEntitiesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DetectEntitiesRequest() |
| Modifier and Type | Method and Description |
|---|---|
DetectEntitiesRequest |
clone() |
boolean |
equals(Object obj) |
String |
getLanguageCode()
The RFC 5646 language code of the input text.
|
String |
getText()
A UTF-8 text string.
|
int |
hashCode() |
void |
setLanguageCode(String languageCode)
The RFC 5646 language code of the input text.
|
void |
setText(String text)
A UTF-8 text string.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DetectEntitiesRequest |
withLanguageCode(LanguageCode languageCode)
The RFC 5646 language code of the input text.
|
DetectEntitiesRequest |
withLanguageCode(String languageCode)
The RFC 5646 language code of the input text.
|
DetectEntitiesRequest |
withText(String text)
A UTF-8 text string.
|
addHandlerContext, copyBaseTo, 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 void setText(String text)
A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.
text - A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.public String getText()
A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.
public DetectEntitiesRequest withText(String text)
A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.
text - A UTF-8 text string. Each string must contain fewer that 5,000 bytes of UTF-8 encoded characters.public void setLanguageCode(String languageCode)
The RFC 5646 language code of the input text. If the request does not specify the language code, the service
detects the dominant language. If you specify a language code that the service does not support, it returns
UnsupportedLanguageException exception. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
languageCode - The RFC 5646 language code of the input text. If the request does not specify the language code, the
service detects the dominant language. If you specify a language code that the service does not support,
it returns UnsupportedLanguageException exception. For more information about RFC 5646, see
Tags for Identifying Languages on the IETF Tools
web site.LanguageCodepublic String getLanguageCode()
The RFC 5646 language code of the input text. If the request does not specify the language code, the service
detects the dominant language. If you specify a language code that the service does not support, it returns
UnsupportedLanguageException exception. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
UnsupportedLanguageException exception. For more information about RFC 5646, see
Tags for Identifying Languages on the IETF Tools
web site.LanguageCodepublic DetectEntitiesRequest withLanguageCode(String languageCode)
The RFC 5646 language code of the input text. If the request does not specify the language code, the service
detects the dominant language. If you specify a language code that the service does not support, it returns
UnsupportedLanguageException exception. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
languageCode - The RFC 5646 language code of the input text. If the request does not specify the language code, the
service detects the dominant language. If you specify a language code that the service does not support,
it returns UnsupportedLanguageException exception. For more information about RFC 5646, see
Tags for Identifying Languages on the IETF Tools
web site.LanguageCodepublic DetectEntitiesRequest withLanguageCode(LanguageCode languageCode)
The RFC 5646 language code of the input text. If the request does not specify the language code, the service
detects the dominant language. If you specify a language code that the service does not support, it returns
UnsupportedLanguageException exception. For more information about RFC 5646, see Tags for Identifying Languages on the IETF Tools web site.
languageCode - The RFC 5646 language code of the input text. If the request does not specify the language code, the
service detects the dominant language. If you specify a language code that the service does not support,
it returns UnsupportedLanguageException exception. For more information about RFC 5646, see
Tags for Identifying Languages on the IETF Tools
web site.LanguageCodepublic String toString()
toString in class ObjectObject.toString()public DetectEntitiesRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.