@Deprecated public class UpdateDefaultSearchFieldRequest extends AmazonWebServiceRequest implements Serializable
UpdateDefaultSearchField operation
.
Configures the default search field for the search domain. The default search field is the text field that is searched when a search request does not specify which fields to search. By default, it is configured to include the contents of all of the domain's text fields.
NOOP
Constructor and Description |
---|
UpdateDefaultSearchFieldRequest()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Deprecated.
|
String |
getDefaultSearchField()
Deprecated.
The text field to search if the search request does not specify which
field to search.
|
String |
getDomainName()
Deprecated.
A string that represents the name of a domain.
|
int |
hashCode()
Deprecated.
|
void |
setDefaultSearchField(String defaultSearchField)
Deprecated.
The text field to search if the search request does not specify which
field to search.
|
void |
setDomainName(String domainName)
Deprecated.
A string that represents the name of a domain.
|
String |
toString()
Deprecated.
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateDefaultSearchFieldRequest |
withDefaultSearchField(String defaultSearchField)
Deprecated.
The text field to search if the search request does not specify which
field to search.
|
UpdateDefaultSearchFieldRequest |
withDomainName(String domainName)
Deprecated.
A string that represents the name of a domain.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public UpdateDefaultSearchFieldRequest()
public String getDomainName()
Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+
public void setDomainName(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 UpdateDefaultSearchFieldRequest withDomainName(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 String getDefaultSearchField()
q
parameter, or if a match
expression specified with the bq
parameter does not
constrain the search to a particular field. The default is an empty
string, which automatically searches all text fields.q
parameter, or if a match
expression specified with the bq
parameter does not
constrain the search to a particular field. The default is an empty
string, which automatically searches all text fields.public void setDefaultSearchField(String defaultSearchField)
q
parameter, or if a match
expression specified with the bq
parameter does not
constrain the search to a particular field. The default is an empty
string, which automatically searches all text fields.defaultSearchField
- The text field to search if the search request does not specify which
field to search. The default search field is used when search terms
are specified with the q
parameter, or if a match
expression specified with the bq
parameter does not
constrain the search to a particular field. The default is an empty
string, which automatically searches all text fields.public UpdateDefaultSearchFieldRequest withDefaultSearchField(String defaultSearchField)
q
parameter, or if a match
expression specified with the bq
parameter does not
constrain the search to a particular field. The default is an empty
string, which automatically searches all text fields.
Returns a reference to this object so that method calls can be chained together.
defaultSearchField
- The text field to search if the search request does not specify which
field to search. The default search field is used when search terms
are specified with the q
parameter, or if a match
expression specified with the bq
parameter does not
constrain the search to a particular field. The default is an empty
string, which automatically searches all text fields.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.