Class IfNotExistsEvaluationDetails
java.lang.Object
com.azure.resourcemanager.policyinsights.models.IfNotExistsEvaluationDetails
Evaluation details of IfNotExists effect.
-
Constructor Summary
ConstructorDescriptionCreates an instance of IfNotExistsEvaluationDetails class. -
Method Summary
Modifier and TypeMethodDescriptionGet the resourceId property: ID of the last evaluated resource for IfNotExists effect.Get the totalResources property: Total number of resources to which the existence condition is applicable.void
validate()
Validates the instance.withResourceId
(String resourceId) Set the resourceId property: ID of the last evaluated resource for IfNotExists effect.withTotalResources
(Integer totalResources) Set the totalResources property: Total number of resources to which the existence condition is applicable.
-
Constructor Details
-
IfNotExistsEvaluationDetails
public IfNotExistsEvaluationDetails()Creates an instance of IfNotExistsEvaluationDetails class.
-
-
Method Details
-
resourceId
Get the resourceId property: ID of the last evaluated resource for IfNotExists effect.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: ID of the last evaluated resource for IfNotExists effect.- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the IfNotExistsEvaluationDetails object itself.
-
totalResources
Get the totalResources property: Total number of resources to which the existence condition is applicable.- Returns:
- the totalResources value.
-
withTotalResources
Set the totalResources property: Total number of resources to which the existence condition is applicable.- Parameters:
totalResources
- the totalResources value to set.- Returns:
- the IfNotExistsEvaluationDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-