Class Expression
- java.lang.Object
-
- com.amazonaws.services.cloudsearchv2.model.Expression
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class Expression extends Object implements Serializable, Cloneable
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.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Expression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Expression
clone()
boolean
equals(Object obj)
String
getExpressionName()
String
getExpressionValue()
int
hashCode()
void
setExpressionName(String expressionName)
void
setExpressionValue(String expressionValue)
String
toString()
Returns a string representation of this object; useful for testing and debugging.Expression
withExpressionName(String expressionName)
Expression
withExpressionValue(String expressionValue)
-
-
-
Method Detail
-
setExpressionName
public void setExpressionName(String expressionName)
- Parameters:
expressionName
-
-
getExpressionName
public String getExpressionName()
- Returns:
-
withExpressionName
public Expression withExpressionName(String expressionName)
- Parameters:
expressionName
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExpressionValue
public void setExpressionValue(String expressionValue)
- Parameters:
expressionValue
-
-
getExpressionValue
public String getExpressionValue()
- Returns:
-
withExpressionValue
public Expression withExpressionValue(String expressionValue)
- Parameters:
expressionValue
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public Expression clone()
-
-