|
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.DefineIndexFieldRequest
public class DefineIndexFieldRequest
Container for the parameters to the DefineIndexField operation
.
Configures an IndexField
for the search domain. Used to create new fields and modify existing ones. If the field exists, the new
configuration replaces the old one. You can configure a maximum of 200 index fields.
AmazonCloudSearch.defineIndexField(DefineIndexFieldRequest)
Constructor Summary | |
---|---|
DefineIndexFieldRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDomainName()
A string that represents the name of a domain. |
IndexField |
getIndexField()
Defines a field in the index, including its name, type, and the source of its data. |
int |
hashCode()
|
void |
setDomainName(String domainName)
A string that represents the name of a domain. |
void |
setIndexField(IndexField indexField)
Defines a field in the index, including its name, type, and the source of its data. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DefineIndexFieldRequest |
withDomainName(String domainName)
A string that represents the name of a domain. |
DefineIndexFieldRequest |
withIndexField(IndexField indexField)
Defines a field in the index, including its name, type, and the source of its data. |
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 DefineIndexFieldRequest()
Method Detail |
---|
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 DefineIndexFieldRequest 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 IndexField getIndexField()
IndexFieldType
indicates which of the
options will be present. It is invalid to specify options for a type
other than the IndexFieldType
.
IndexFieldType
indicates which of the
options will be present. It is invalid to specify options for a type
other than the IndexFieldType
.public void setIndexField(IndexField indexField)
IndexFieldType
indicates which of the
options will be present. It is invalid to specify options for a type
other than the IndexFieldType
.
indexField
- Defines a field in the index, including its name, type, and the source
of its data. The IndexFieldType
indicates which of the
options will be present. It is invalid to specify options for a type
other than the IndexFieldType
.public DefineIndexFieldRequest withIndexField(IndexField indexField)
IndexFieldType
indicates which of the
options will be present. It is invalid to specify options for a type
other than the IndexFieldType
.
Returns a reference to this object so that method calls can be chained together.
indexField
- Defines a field in the index, including its name, type, and the source
of its data. The IndexFieldType
indicates which of the
options will be present. It is invalid to specify options for a type
other than the IndexFieldType
.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |