ComponentExpressionEvaluationDetails Class
- java.
lang. Object - com.
azure. resourcemanager. policyinsights. models. ComponentExpressionEvaluationDetails
- com.
Implements
public final class ComponentExpressionEvaluationDetails
implements JsonSerializable<ComponentExpressionEvaluationDetails>
Evaluation details of policy language expressions.
Constructor Summary
| Constructor | Description |
|---|---|
| ComponentExpressionEvaluationDetails() |
Creates an instance of Component |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
expression()
Get the expression property: Expression evaluated. |
| String |
expressionKind()
Get the expression |
| Object |
expressionValue()
Get the expression |
|
static
Component |
fromJson(JsonReader jsonReader)
Reads an instance of Component |
| String |
operator()
Get the operator property: Operator to compare the expression value and the target value. |
| String |
path()
Get the path property: Property path if the expression is a field or an alias. |
| String |
result()
Get the result property: Evaluation result. |
| Object |
targetValue()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Component |
withResult(String result)
Set the result property: Evaluation result. |
Methods inherited from java.lang.Object
Constructor Details
ComponentExpressionEvaluationDetails
public ComponentExpressionEvaluationDetails()
Creates an instance of ComponentExpressionEvaluationDetails class.
Method Details
expression
public String expression()
Get the expression property: Expression evaluated.
Returns:
expressionKind
public String expressionKind()
Get the expressionKind property: The kind of expression that was evaluated.
Returns:
expressionValue
public Object expressionValue()
Get the expressionValue property: Value of the expression.
Returns:
fromJson
public static ComponentExpressionEvaluationDetails fromJson(JsonReader jsonReader)
Reads an instance of ComponentExpressionEvaluationDetails from the JsonReader.
Parameters:
Returns:
Throws:
operator
public String operator()
Get the operator property: Operator to compare the expression value and the target value.
Returns:
path
public String path()
Get the path property: Property path if the expression is a field or an alias.
Returns:
result
public String result()
Get the result property: Evaluation result.
Returns:
targetValue
public Object targetValue()
Get the targetValue property: Target value to be compared with the expression value.
Returns:
toJson
validate
public void validate()
Validates the instance.
withResult
public ComponentExpressionEvaluationDetails withResult(String result)
Set the result property: Evaluation result.
Parameters:
Returns: