@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.
|
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, withSdkRequestTimeout
public void setText(String text)
A UTF-8 string. The maximum string size is 5 KB.
text
- A UTF-8 string. The maximum string size is 5 KB.public String getText()
A UTF-8 string. The maximum string size is 5 KB.
public DetectSyntaxRequest withText(String text)
A UTF-8 string. The maximum string size is 5 KB.
text
- A UTF-8 string. The maximum string size is 5 KB.public void setLanguageCode(String languageCode)
The language code 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").
languageCode
- The language code 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").SyntaxLanguageCode
public String getLanguageCode()
The language code 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").
SyntaxLanguageCode
public DetectSyntaxRequest withLanguageCode(String languageCode)
The language code 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").
languageCode
- The language code 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").SyntaxLanguageCode
public DetectSyntaxRequest withLanguageCode(SyntaxLanguageCode languageCode)
The language code 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").
languageCode
- The language code 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").SyntaxLanguageCode
public String toString()
toString
in class Object
Object.toString()
public DetectSyntaxRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()