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:
  • Constructor Details

    • Expression

      public Expression()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Expression clone()
      Overrides:
      clone in class Object