@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutLexiconRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutLexiconRequest() |
Modifier and Type | Method and Description |
---|---|
PutLexiconRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContent()
Content of the PLS lexicon as string data.
|
String |
getName()
Name of the lexicon.
|
int |
hashCode() |
void |
setContent(String content)
Content of the PLS lexicon as string data.
|
void |
setName(String name)
Name of the lexicon.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutLexiconRequest |
withContent(String content)
Content of the PLS lexicon as string data.
|
PutLexiconRequest |
withName(String name)
Name of the lexicon.
|
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 setName(String name)
Name of the lexicon. The name must follow the regular express format [0-9A-Za-z]{1,20}. That is, the name is a case-sensitive alphanumeric string up to 20 characters long.
name
- Name of the lexicon. The name must follow the regular express format [0-9A-Za-z]{1,20}. That is, the name
is a case-sensitive alphanumeric string up to 20 characters long.public String getName()
Name of the lexicon. The name must follow the regular express format [0-9A-Za-z]{1,20}. That is, the name is a case-sensitive alphanumeric string up to 20 characters long.
public PutLexiconRequest withName(String name)
Name of the lexicon. The name must follow the regular express format [0-9A-Za-z]{1,20}. That is, the name is a case-sensitive alphanumeric string up to 20 characters long.
name
- Name of the lexicon. The name must follow the regular express format [0-9A-Za-z]{1,20}. That is, the name
is a case-sensitive alphanumeric string up to 20 characters long.public void setContent(String content)
Content of the PLS lexicon as string data.
content
- Content of the PLS lexicon as string data.public String getContent()
Content of the PLS lexicon as string data.
public PutLexiconRequest withContent(String content)
Content of the PLS lexicon as string data.
content
- Content of the PLS lexicon as string data.public String toString()
toString
in class Object
Object.toString()
public PutLexiconRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.