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