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 Expressionclone()booleanequals(Object obj)StringgetExpressionName()StringgetExpressionValue()inthashCode()voidsetExpressionName(String expressionName)voidsetExpressionValue(String expressionValue)StringtoString()Returns a string representation of this object; useful for testing and debugging.ExpressionwithExpressionName(String expressionName)ExpressionwithExpressionValue(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public Expression clone()
-
-