Class CheckRestrictionsResultContentEvaluationResult
java.lang.Object
com.azure.resourcemanager.policyinsights.models.CheckRestrictionsResultContentEvaluationResult
Evaluation results for the provided partial resource content.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CheckRestrictionsResultContentEvaluationResult class. -
Method Summary
Modifier and TypeMethodDescriptionGet the policyEvaluations property: Policy evaluation results against the given resource content.void
validate()
Validates the instance.withPolicyEvaluations
(List<PolicyEvaluationResult> policyEvaluations) Set the policyEvaluations property: Policy evaluation results against the given resource content.
-
Constructor Details
-
CheckRestrictionsResultContentEvaluationResult
public CheckRestrictionsResultContentEvaluationResult()Creates an instance of CheckRestrictionsResultContentEvaluationResult class.
-
-
Method Details
-
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.
-