public class UpdateStemmingOptionsRequest extends AmazonWebServiceRequest implements java.io.Serializable
UpdateStemmingOptions operation.
Configures a stemming dictionary for the search domain. The stemming dictionary is used during indexing and when processing search requests. The maximum size of the stemming dictionary is 500KB.
| コンストラクタと説明 |
|---|
UpdateStemmingOptionsRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDomainName()
A string that represents the name of a domain.
|
java.lang.String |
getStems()
Maps terms to their stems, serialized as a JSON document.
|
int |
hashCode() |
void |
setDomainName(java.lang.String domainName)
A string that represents the name of a domain.
|
void |
setStems(java.lang.String stems)
Maps terms to their stems, serialized as a JSON document.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateStemmingOptionsRequest |
withDomainName(java.lang.String domainName)
A string that represents the name of a domain.
|
UpdateStemmingOptionsRequest |
withStems(java.lang.String stems)
Maps terms to their stems, serialized as a JSON document.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getDomainName()
Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+
public void setDomainName(java.lang.String domainName)
Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+
domainName - A string that represents the name of a domain. Domain names must be
unique across the domains owned by an account within an AWS region.
Domain names must start with a letter or number and can contain the
following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase
letters and underscores are not allowed.public UpdateStemmingOptionsRequest withDomainName(java.lang.String domainName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+
domainName - A string that represents the name of a domain. Domain names must be
unique across the domains owned by an account within an AWS region.
Domain names must start with a letter or number and can contain the
following characters: a-z (lowercase), 0-9, and - (hyphen). Uppercase
letters and underscores are not allowed.public java.lang.String getStems()
{ "stems": {"people": "person", "walking":
"walk"} }{ "stems": {"people": "person", "walking":
"walk"} }public void setStems(java.lang.String stems)
{ "stems": {"people": "person", "walking":
"walk"} }stems - Maps terms to their stems, serialized as a JSON document. The document
has a single object with one property "stems" whose value is an object
mapping terms to their stems. The maximum size of a stemming document
is 500KB. Example: { "stems": {"people": "person", "walking":
"walk"} }public UpdateStemmingOptionsRequest withStems(java.lang.String stems)
{ "stems": {"people": "person", "walking":
"walk"} }
Returns a reference to this object so that method calls can be chained together.
stems - Maps terms to their stems, serialized as a JSON document. The document
has a single object with one property "stems" whose value is an object
mapping terms to their stems. The maximum size of a stemming document
is 500KB. Example: { "stems": {"people": "person", "walking":
"walk"} }public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object