|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.cloudsearch.model.UpdateStopwordOptionsRequest
public class UpdateStopwordOptionsRequest
Container for the parameters to the UpdateStopwordOptions operation.
Configures stopwords for the search domain. Stopwords are used during indexing and when processing search requests. The maximum size of the stopwords dictionary is 10KB.
AmazonCloudSearch.updateStopwordOptions(UpdateStopwordOptionsRequest),
Serialized Form| Constructor Summary | |
|---|---|
UpdateStopwordOptionsRequest()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDomainName()
A string that represents the name of a domain. |
java.lang.String |
getStopwords()
Lists stopwords serialized as a JSON document. |
int |
hashCode()
|
void |
setDomainName(java.lang.String domainName)
A string that represents the name of a domain. |
void |
setStopwords(java.lang.String stopwords)
Lists stopwords serialized as a JSON document. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
UpdateStopwordOptionsRequest |
withDomainName(java.lang.String domainName)
A string that represents the name of a domain. |
UpdateStopwordOptionsRequest |
withStopwords(java.lang.String stopwords)
Lists stopwords serialized as a JSON document. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateStopwordOptionsRequest()
| Method Detail |
|---|
public 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 UpdateStopwordOptionsRequest 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 getStopwords()
{ "stopwords": ["a", "an", "the", "of"] }
{ "stopwords": ["a", "an", "the", "of"] }public void setStopwords(java.lang.String stopwords)
{ "stopwords": ["a", "an", "the", "of"] }
stopwords - Lists stopwords serialized as a JSON document. The document has a
single object with one property "stopwords" whose value is an array of
strings. The maximum size of a stopwords document is 10KB. Example:
{ "stopwords": ["a", "an", "the", "of"] }public UpdateStopwordOptionsRequest withStopwords(java.lang.String stopwords)
{ "stopwords": ["a", "an", "the", "of"] }
Returns a reference to this object so that method calls can be chained together.
stopwords - Lists stopwords serialized as a JSON document. The document has a
single object with one property "stopwords" whose value is an array of
strings. The maximum size of a stopwords document is 10KB. Example:
{ "stopwords": ["a", "an", "the", "of"] }
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||