@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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, withSdkRequestTimeout
public 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.LanguageCode
public 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.LanguageCode
public 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.LanguageCode
public 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.LanguageCode
public String toString()
toString
in class Object
Object.toString()
public DetectEntitiesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.