public class DefineIndexFieldRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DefineIndexField operation
.
Configures an IndexField
for the search domain. Used to
create new fields and modify existing ones. You must specify the name
of the domain you are configuring and an index field configuration.
The index field configuration specifies a unique name, the index field
type, and the options you want to configure for the field. The options
you can specify depend on the IndexFieldType
. If the
field exists, the new configuration replaces the old one. For more
information, see
Configuring Index Fields
in the Amazon CloudSearch Developer Guide .
NOOP
Constructor and Description |
---|
DefineIndexFieldRequest() |
Modifier and Type | Method and Description |
---|---|
DefineIndexFieldRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getDomainName()
A string that represents the name of a domain.
|
IndexField |
getIndexField()
The index field and field options you want to configure.
|
int |
hashCode() |
void |
setDomainName(String domainName)
A string that represents the name of a domain.
|
void |
setIndexField(IndexField indexField)
The index field and field options you want to configure.
|
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)
The index field and field options you want to configure.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 are unique
across the domains owned by an account within an AWS region. Domain
names start with a letter or number and can contain the following
characters: a-z (lowercase), 0-9, and - (hyphen).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 are unique
across the domains owned by an account within an AWS region. Domain
names start with a letter or number and can contain the following
characters: a-z (lowercase), 0-9, and - (hyphen).public IndexField getIndexField()
public void setIndexField(IndexField indexField)
indexField
- The index field and field options you want to configure.public DefineIndexFieldRequest withIndexField(IndexField indexField)
Returns a reference to this object so that method calls can be chained together.
indexField
- The index field and field options you want to configure.public String toString()
toString
in class Object
Object.toString()
public DefineIndexFieldRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.