Class PolicyEvaluationDetails

java.lang.Object
com.azure.resourcemanager.policyinsights.models.PolicyEvaluationDetails

public final class PolicyEvaluationDetails extends Object
Policy evaluation details.
  • Constructor Details

    • PolicyEvaluationDetails

      public PolicyEvaluationDetails()
      Creates an instance of PolicyEvaluationDetails class.
  • Method Details

    • 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.