ComponentPolicyEvaluationDetails Class
- java.
lang. Object - com.
azure. resourcemanager. policyinsights. models. ComponentPolicyEvaluationDetails
- com.
Implements
public final class ComponentPolicyEvaluationDetails
implements JsonSerializable<ComponentPolicyEvaluationDetails>
Policy evaluation details.
Constructor Summary
| Constructor | Description |
|---|---|
| ComponentPolicyEvaluationDetails() |
Creates an instance of Component |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Component |
evaluatedExpressions()
Get the evaluated |
|
static
Component |
fromJson(JsonReader jsonReader)
Reads an instance of Component |
| String |
reason()
Get the reason property: Additional textual reason for the evaluation outcome. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Component |
withReason(String reason)
Set the reason property: Additional textual reason for the evaluation outcome. |
Methods inherited from java.lang.Object
Constructor Details
ComponentPolicyEvaluationDetails
public ComponentPolicyEvaluationDetails()
Creates an instance of ComponentPolicyEvaluationDetails class.
Method Details
evaluatedExpressions
public List<ComponentExpressionEvaluationDetails> evaluatedExpressions()
Get the evaluatedExpressions property: Details of the evaluated expressions.
Returns:
fromJson
public static ComponentPolicyEvaluationDetails fromJson(JsonReader jsonReader)
Reads an instance of ComponentPolicyEvaluationDetails from the JsonReader.
Parameters:
Returns:
Throws:
reason
public String reason()
Get the reason property: Additional textual reason for the evaluation outcome.
Returns:
toJson
validate
public void validate()
Validates the instance.
withReason
public ComponentPolicyEvaluationDetails withReason(String reason)
Set the reason property: Additional textual reason for the evaluation outcome.
Parameters:
Returns: