public class DefineExpressionRequest extends AmazonWebServiceRequest implements Serializable
DefineExpression operation
.
Configures an Expression
for the search domain. Used to
create new expressions and modify existing ones. If the expression
exists, the new configuration replaces the old one. For more
information, see
Configuring Expressions
in the Amazon CloudSearch Developer Guide .
NOOP
Constructor and Description |
---|
DefineExpressionRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDomainName()
A string that represents the name of a domain.
|
Expression |
getExpression()
A named expression that can be evaluated at search time.
|
int |
hashCode() |
void |
setDomainName(String domainName)
A string that represents the name of a domain.
|
void |
setExpression(Expression expression)
A named expression that can be evaluated at search time.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DefineExpressionRequest |
withDomainName(String domainName)
A string that represents the name of a domain.
|
DefineExpressionRequest |
withExpression(Expression expression)
A named expression that can be evaluated at search time.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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 DefineExpressionRequest 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 Expression getExpression()
public void setExpression(Expression expression)
expression
- A named expression that can be evaluated at search time. Can be used
to sort the search results, define other expressions, or return
computed information in the search results.public DefineExpressionRequest withExpression(Expression expression)
Returns a reference to this object so that method calls can be chained together.
expression
- A named expression that can be evaluated at search time. Can be used
to sort the search results, define other expressions, or return
computed information in the search results.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.