ExpressionRoot Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. Expression - com.
azure. resourcemanager. appservice. models. ExpressionRoot
- com.
- com.
public final class ExpressionRoot
extends Expression
The expression root.
Constructor Summary
Constructor | Description |
---|---|
ExpressionRoot() |
Creates an instance of Expression |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Expression |
fromJson(JsonReader jsonReader)
Reads an instance of Expression |
String |
path()
Get the path property: The path. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Expression |
withError(AzureResourceErrorInfo error)
Set the error property: The azure resource error info. |
Expression |
withPath(String path)
Set the path property: The path. |
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: Anything. |
Methods inherited from Expression
Methods inherited from java.lang.Object
Constructor Details
ExpressionRoot
public ExpressionRoot()
Creates an instance of ExpressionRoot class.
Method Details
fromJson
public static ExpressionRoot fromJson(JsonReader jsonReader)
Reads an instance of ExpressionRoot from the JsonReader.
Parameters:
Returns:
Throws:
path
public String path()
Get the path property: The path.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ExpressionRoot.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
ExpressionRoot.validate()withError
public ExpressionRoot withError(AzureResourceErrorInfo error)
Set the error property: The azure resource error info.
Overrides:
ExpressionRoot.withError(AzureResourceErrorInfo error)Parameters:
withPath
public ExpressionRoot withPath(String path)
Set the path property: The path.
Parameters:
Returns:
withSubexpressions
public ExpressionRoot withSubexpressions(List
Set the subexpressions property: The sub expressions.
Overrides:
ExpressionRoot.withSubexpressions(List<Expression> subexpressions)Parameters:
withText
public ExpressionRoot withText(String text)
Set the text property: The text.
Overrides:
ExpressionRoot.withText(String text)Parameters:
withValue
public ExpressionRoot withValue(Object value)
Set the value property: Anything.
Overrides:
ExpressionRoot.withValue(Object value)Parameters:
Applies to
Azure SDK for Java