Class PolicyEvaluationDetails
- java.lang.Object
-
- com.azure.resourcemanager.policyinsights.models.PolicyEvaluationDetails
-
public final class PolicyEvaluationDetails extends Object
Policy evaluation details.
-
-
Constructor Summary
Constructors Constructor Description PolicyEvaluationDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ExpressionEvaluationDetails>
evaluatedExpressions()
Get the evaluatedExpressions property: Details of the evaluated expressions.IfNotExistsEvaluationDetails
ifNotExistsDetails()
Get the ifNotExistsDetails property: Evaluation details of IfNotExists effect.void
validate()
Validates the instance.PolicyEvaluationDetails
withEvaluatedExpressions(List<ExpressionEvaluationDetails> evaluatedExpressions)
Set the evaluatedExpressions property: Details of the evaluated expressions.PolicyEvaluationDetails
withIfNotExistsDetails(IfNotExistsEvaluationDetails ifNotExistsDetails)
Set the ifNotExistsDetails property: Evaluation details of IfNotExists effect.
-
-
-
Method Detail
-
evaluatedExpressions
public List<ExpressionEvaluationDetails> 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
public IfNotExistsEvaluationDetails 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.
-
-