@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetectSyntaxRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DetectSyntaxRequest() |
| Modifier and Type | Method and Description |
|---|---|
DetectSyntaxRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getLanguageCode()
The language code of the input documents.
|
String |
getText()
A UTF-8 string.
|
int |
hashCode() |
void |
setLanguageCode(String languageCode)
The language code of the input documents.
|
void |
setText(String text)
A UTF-8 string.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DetectSyntaxRequest |
withLanguageCode(String languageCode)
The language code of the input documents.
|
DetectSyntaxRequest |
withLanguageCode(SyntaxLanguageCode languageCode)
The language code of the input documents.
|
DetectSyntaxRequest |
withText(String text)
A UTF-8 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, withSdkRequestTimeoutpublic void setText(String text)
A UTF-8 string. Each string must contain fewer that 5,000 bytes of UTF encoded characters.
text - A UTF-8 string. Each string must contain fewer that 5,000 bytes of UTF encoded characters.public String getText()
A UTF-8 string. Each string must contain fewer that 5,000 bytes of UTF encoded characters.
public DetectSyntaxRequest withText(String text)
A UTF-8 string. Each string must contain fewer that 5,000 bytes of UTF encoded characters.
text - A UTF-8 string. Each string must contain fewer that 5,000 bytes of UTF encoded characters.public void setLanguageCode(String languageCode)
The language code of the input documents. You can specify English ("en") or Spanish ("es").
languageCode - The language code of the input documents. You can specify English ("en") or Spanish ("es").SyntaxLanguageCodepublic String getLanguageCode()
The language code of the input documents. You can specify English ("en") or Spanish ("es").
SyntaxLanguageCodepublic DetectSyntaxRequest withLanguageCode(String languageCode)
The language code of the input documents. You can specify English ("en") or Spanish ("es").
languageCode - The language code of the input documents. You can specify English ("en") or Spanish ("es").SyntaxLanguageCodepublic DetectSyntaxRequest withLanguageCode(SyntaxLanguageCode languageCode)
The language code of the input documents. You can specify English ("en") or Spanish ("es").
languageCode - The language code of the input documents. You can specify English ("en") or Spanish ("es").SyntaxLanguageCodepublic String toString()
toString in class ObjectObject.toString()public DetectSyntaxRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.