Class CheckRestrictionsResultContentEvaluationResult
- java.lang.Object
-
- com.azure.resourcemanager.policyinsights.models.CheckRestrictionsResultContentEvaluationResult
-
public final class CheckRestrictionsResultContentEvaluationResult extends Object
Evaluation results for the provided partial resource content.
-
-
Constructor Summary
Constructors Constructor Description CheckRestrictionsResultContentEvaluationResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PolicyEvaluationResult>
policyEvaluations()
Get the policyEvaluations property: Policy evaluation results against the given resource content.void
validate()
Validates the instance.CheckRestrictionsResultContentEvaluationResult
withPolicyEvaluations(List<PolicyEvaluationResult> policyEvaluations)
Set the policyEvaluations property: Policy evaluation results against the given resource content.
-
-
-
Method Detail
-
policyEvaluations
public List<PolicyEvaluationResult> policyEvaluations()
Get the policyEvaluations property: Policy evaluation results against the given resource content. This will indicate if the partial content that was provided will be denied as-is.- Returns:
- the policyEvaluations value.
-
withPolicyEvaluations
public CheckRestrictionsResultContentEvaluationResult withPolicyEvaluations(List<PolicyEvaluationResult> policyEvaluations)
Set the policyEvaluations property: Policy evaluation results against the given resource content. This will indicate if the partial content that was provided will be denied as-is.- Parameters:
policyEvaluations
- the policyEvaluations value to set.- Returns:
- the CheckRestrictionsResultContentEvaluationResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-