ExpressionEvaluationDetails Class
- java.
lang. Object - com.
azure. resourcemanager. policyinsights. models. ExpressionEvaluationDetails
- com.
public final class ExpressionEvaluationDetails
Evaluation details of policy language expressions.
Constructor Summary
Constructor | Description |
---|---|
ExpressionEvaluationDetails() |
Creates an instance of Expression |
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 |
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 |
void |
validate()
Validates the instance. |
Expression |
withExpression(String expression)
Set the expression property: Expression evaluated. |
Expression |
withExpressionValue(Object expressionValue)
Set the expression |
Expression |
withOperator(String operator)
Set the operator property: Operator to compare the expression value and the target value. |
Expression |
withPath(String path)
Set the path property: Property path if the expression is a field or an alias. |
Expression |
withResult(String result)
Set the result property: Evaluation result. |
Expression |
withTargetValue(Object targetValue)
Set the target |
Methods inherited from java.lang.Object
Constructor Details
ExpressionEvaluationDetails
public ExpressionEvaluationDetails()
Creates an instance of ExpressionEvaluationDetails 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:
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:
validate
public void validate()
Validates the instance.
withExpression
public ExpressionEvaluationDetails withExpression(String expression)
Set the expression property: Expression evaluated.
Parameters:
Returns:
withExpressionValue
public ExpressionEvaluationDetails withExpressionValue(Object expressionValue)
Set the expressionValue property: Value of the expression.
Parameters:
Returns:
withOperator
public ExpressionEvaluationDetails withOperator(String operator)
Set the operator property: Operator to compare the expression value and the target value.
Parameters:
Returns:
withPath
public ExpressionEvaluationDetails withPath(String path)
Set the path property: Property path if the expression is a field or an alias.
Parameters:
Returns:
withResult
public ExpressionEvaluationDetails withResult(String result)
Set the result property: Evaluation result.
Parameters:
Returns:
withTargetValue
public ExpressionEvaluationDetails withTargetValue(Object targetValue)
Set the targetValue property: Target value to be compared with the expression value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for