@Deprecated public class DefineRankExpressionRequest extends AmazonWebServiceRequest implements Serializable
DefineRankExpression operation
.
Configures a RankExpression
for the search domain. Used to create new rank expressions and modify existing ones. If the expression
exists, the new configuration replaces the old one. You can configure a maximum of 50 rank expressions.
NOOP
Constructor and Description |
---|
DefineRankExpressionRequest()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Deprecated.
|
String |
getDomainName()
Deprecated.
A string that represents the name of a domain.
|
NamedRankExpression |
getRankExpression()
Deprecated.
A named expression that can be evaluated at search time and used for
ranking or thresholding in a search query.
|
int |
hashCode()
Deprecated.
|
void |
setDomainName(String domainName)
Deprecated.
A string that represents the name of a domain.
|
void |
setRankExpression(NamedRankExpression rankExpression)
Deprecated.
A named expression that can be evaluated at search time and used for
ranking or thresholding in a search query.
|
String |
toString()
Deprecated.
Returns a string representation of this object; useful for testing and
debugging.
|
DefineRankExpressionRequest |
withDomainName(String domainName)
Deprecated.
A string that represents the name of a domain.
|
DefineRankExpressionRequest |
withRankExpression(NamedRankExpression rankExpression)
Deprecated.
A named expression that can be evaluated at search time and used for
ranking or thresholding in a search query.
|
clone, copyBaseTo, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, 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 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 DefineRankExpressionRequest 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 NamedRankExpression getRankExpression()
public void setRankExpression(NamedRankExpression rankExpression)
rankExpression
- A named expression that can be evaluated at search time and used for
ranking or thresholding in a search query.public DefineRankExpressionRequest withRankExpression(NamedRankExpression rankExpression)
Returns a reference to this object so that method calls can be chained together.
rankExpression
- A named expression that can be evaluated at search time and used for
ranking or thresholding in a search query.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.