Class ExpressionRoot

java.lang.Object
com.azure.resourcemanager.appservice.models.Expression
com.azure.resourcemanager.appservice.models.ExpressionRoot

public final class ExpressionRoot extends Expression
The expression root.
  • Constructor Details

    • ExpressionRoot

      public ExpressionRoot()
  • Method Details

    • path

      public String path()
      Get the path property: The path.
      Returns:
      the path value.
    • withPath

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

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

      public ExpressionRoot withValue(Object value)
      Set the value property: Anything.
      Overrides:
      withValue in class Expression
      Parameters:
      value - the value value to set.
      Returns:
      the Expression object itself.
    • withSubexpressions

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

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

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