Class Expression
java.lang.Object
com.azure.resourcemanager.appservice.models.Expression
- Direct Known Subclasses:
ExpressionRoot
The expression.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionerror()
Get the error property: The azure resource error info.Get the subexpressions property: The sub expressions.text()
Get the text property: The text.void
validate()
Validates the instance.value()
Get the value property: Anything.withError
(AzureResourceErrorInfo error) Set the error property: The azure resource error info.withSubexpressions
(List<Expression> subexpressions) Set the subexpressions property: The sub expressions.Set the text property: The text.Set the value property: Anything.
-
Constructor Details
-
Expression
public Expression()
-
-
Method Details
-
text
Get the text property: The text.- Returns:
- the text value.
-
withText
Set the text property: The text.- Parameters:
text
- the text value to set.- Returns:
- the Expression object itself.
-
value
Get the value property: Anything.- Returns:
- the value value.
-
withValue
Set the value property: Anything.- Parameters:
value
- the value value to set.- Returns:
- the Expression object itself.
-
subexpressions
Get the subexpressions property: The sub expressions.- Returns:
- the subexpressions value.
-
withSubexpressions
Set the subexpressions property: The sub expressions.- Parameters:
subexpressions
- the subexpressions value to set.- Returns:
- the Expression object itself.
-
error
Get the error property: The azure resource error info.- Returns:
- the error value.
-
withError
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.
-