Class PolicyEvaluationDetails
java.lang.Object
com.azure.resourcemanager.policyinsights.models.PolicyEvaluationDetails
Policy evaluation details.
-
Constructor Summary
ConstructorDescriptionCreates an instance of PolicyEvaluationDetails class. -
Method Summary
Modifier and TypeMethodDescriptionGet the evaluatedExpressions property: Details of the evaluated expressions.Get the ifNotExistsDetails property: Evaluation details of IfNotExists effect.void
validate()
Validates the instance.withEvaluatedExpressions
(List<ExpressionEvaluationDetails> evaluatedExpressions) Set the evaluatedExpressions property: Details of the evaluated expressions.withIfNotExistsDetails
(IfNotExistsEvaluationDetails ifNotExistsDetails) Set the ifNotExistsDetails property: Evaluation details of IfNotExists effect.
-
Constructor Details
-
PolicyEvaluationDetails
public PolicyEvaluationDetails()Creates an instance of PolicyEvaluationDetails class.
-
-
Method Details
-
evaluatedExpressions
Get the evaluatedExpressions property: Details of the evaluated expressions.- Returns:
- the evaluatedExpressions value.
-
withEvaluatedExpressions
public PolicyEvaluationDetails withEvaluatedExpressions(List<ExpressionEvaluationDetails> evaluatedExpressions) Set the evaluatedExpressions property: Details of the evaluated expressions.- Parameters:
evaluatedExpressions
- the evaluatedExpressions value to set.- Returns:
- the PolicyEvaluationDetails object itself.
-
ifNotExistsDetails
Get the ifNotExistsDetails property: Evaluation details of IfNotExists effect.- Returns:
- the ifNotExistsDetails value.
-
withIfNotExistsDetails
public PolicyEvaluationDetails withIfNotExistsDetails(IfNotExistsEvaluationDetails ifNotExistsDetails) Set the ifNotExistsDetails property: Evaluation details of IfNotExists effect.- Parameters:
ifNotExistsDetails
- the ifNotExistsDetails value to set.- Returns:
- the PolicyEvaluationDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-