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