Class IfNotExistsEvaluationDetails
- java.lang.Object
-
- com.azure.resourcemanager.policyinsights.models.IfNotExistsEvaluationDetails
-
public final class IfNotExistsEvaluationDetails extends Object
Evaluation details of IfNotExists effect.
-
-
Constructor Summary
Constructors Constructor Description IfNotExistsEvaluationDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
resourceId()
Get the resourceId property: ID of the last evaluated resource for IfNotExists effect.Integer
totalResources()
Get the totalResources property: Total number of resources to which the existence condition is applicable.void
validate()
Validates the instance.IfNotExistsEvaluationDetails
withResourceId(String resourceId)
Set the resourceId property: ID of the last evaluated resource for IfNotExists effect.IfNotExistsEvaluationDetails
withTotalResources(Integer totalResources)
Set the totalResources property: Total number of resources to which the existence condition is applicable.
-
-
-
Method Detail
-
resourceId
public String resourceId()
Get the resourceId property: ID of the last evaluated resource for IfNotExists effect.- Returns:
- the resourceId value.
-
withResourceId
public IfNotExistsEvaluationDetails withResourceId(String resourceId)
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
public Integer totalResources()
Get the totalResources property: Total number of resources to which the existence condition is applicable.- Returns:
- the totalResources value.
-
withTotalResources
public IfNotExistsEvaluationDetails withTotalResources(Integer totalResources)
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.
-
-