public final class ExpressionRoot extends Expression
Constructor and Description |
---|
ExpressionRoot() |
Modifier and Type | Method and Description |
---|---|
String |
path()
Get the path property: The path.
|
void |
validate()
Validates the instance.
|
ExpressionRoot |
withError(AzureResourceErrorInfo error)
Set the error property: The azure resource error info.
|
ExpressionRoot |
withPath(String path)
Set the path property: The path.
|
ExpressionRoot |
withSubexpressions(List<Expression> subexpressions)
Set the subexpressions property: The sub expressions.
|
ExpressionRoot |
withText(String text)
Set the text property: The text.
|
ExpressionRoot |
withValue(Object value)
Set the value property: Any object.
|
error, subexpressions, text, value
public String path()
public ExpressionRoot withPath(String path)
path
- the path value to set.public ExpressionRoot withText(String text)
withText
in class Expression
text
- the text value to set.public ExpressionRoot withValue(Object value)
withValue
in class Expression
value
- the value value to set.public ExpressionRoot withSubexpressions(List<Expression> subexpressions)
withSubexpressions
in class Expression
subexpressions
- the subexpressions value to set.public ExpressionRoot withError(AzureResourceErrorInfo error)
withError
in class Expression
error
- the error value to set.public void validate()
validate
in class Expression
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.