java.lang.Object
com.azure.resourcemanager.appservice.models.Expression
Direct Known Subclasses:
ExpressionRoot

public class Expression extends Object
The expression.
  • Constructor Details

    • Expression

      public Expression()
  • Method Details

    • text

      public String text()
      Get the text property: The text.
      Returns:
      the text value.
    • withText

      public Expression withText(String text)
      Set the text property: The text.
      Parameters:
      text - the text value to set.
      Returns:
      the Expression object itself.
    • value

      public Object value()
      Get the value property: Anything.
      Returns:
      the value value.
    • withValue

      public Expression withValue(Object value)
      Set the value property: Anything.
      Parameters:
      value - the value value to set.
      Returns:
      the Expression object itself.
    • subexpressions

      public List<Expression> subexpressions()
      Get the subexpressions property: The sub expressions.
      Returns:
      the subexpressions value.
    • withSubexpressions

      public Expression withSubexpressions(List<Expression> subexpressions)
      Set the subexpressions property: The sub expressions.
      Parameters:
      subexpressions - the subexpressions value to set.
      Returns:
      the Expression object itself.
    • error

      public AzureResourceErrorInfo error()
      Get the error property: The azure resource error info.
      Returns:
      the error value.
    • withError

      public Expression withError(AzureResourceErrorInfo error)
      Set the error property: The azure resource error info.
      Parameters:
      error - the error value to set.
      Returns:
      the Expression object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.