public class UpdateDefaultSearchFieldRequest extends AmazonWebServiceRequest implements Serializable
UpdateDefaultSearchField operation
.
Configures the default search field for the search domain. The default search field is used 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.
Constructor and Description |
---|
UpdateDefaultSearchFieldRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDefaultSearchField()
The
IndexField to use for search requests issued with the
q parameter. |
String |
getDomainName()
A string that represents the name of a domain.
|
int |
hashCode() |
void |
setDefaultSearchField(String defaultSearchField)
The
IndexField to use for search requests issued with the
q parameter. |
void |
setDomainName(String domainName)
A string that represents the name of a domain.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateDefaultSearchFieldRequest |
withDefaultSearchField(String defaultSearchField)
The
IndexField to use for search requests issued with the
q parameter. |
UpdateDefaultSearchFieldRequest |
withDomainName(String domainName)
A string that represents the name of a domain.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
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()
IndexField
to use for search requests issued with the
q
parameter. The default is an empty string, which
automatically searches all text fields.IndexField
to use for search requests issued with the
q
parameter. The default is an empty string, which
automatically searches all text fields.public void setDefaultSearchField(String defaultSearchField)
IndexField
to use for search requests issued with the
q
parameter. The default is an empty string, which
automatically searches all text fields.defaultSearchField
- The IndexField
to use for search requests issued with the
q
parameter. The default is an empty string, which
automatically searches all text fields.public UpdateDefaultSearchFieldRequest withDefaultSearchField(String defaultSearchField)
IndexField
to use for search requests issued with the
q
parameter. 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 IndexField
to use for search requests issued with the
q
parameter. The default is an empty string, which
automatically searches all text fields.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.