Class EvaluatePoliciesProperties
java.lang.Object
com.azure.resourcemanager.devtestlabs.models.EvaluatePoliciesProperties
Properties for evaluating a policy set.
-
Constructor Summary
ConstructorDescriptionCreates an instance of EvaluatePoliciesProperties class. -
Method Summary
Modifier and TypeMethodDescriptionfactData()
Get the factData property: The fact data.factName()
Get the factName property: The fact name.Get the userObjectId property: The user for which policies will be evaluated.void
validate()
Validates the instance.Get the valueOffset property: The value offset.withFactData
(String factData) Set the factData property: The fact data.withFactName
(String factName) Set the factName property: The fact name.withUserObjectId
(String userObjectId) Set the userObjectId property: The user for which policies will be evaluated.withValueOffset
(String valueOffset) Set the valueOffset property: The value offset.
-
Constructor Details
-
EvaluatePoliciesProperties
public EvaluatePoliciesProperties()Creates an instance of EvaluatePoliciesProperties class.
-
-
Method Details
-
factName
Get the factName property: The fact name.- Returns:
- the factName value.
-
withFactName
Set the factName property: The fact name.- Parameters:
factName
- the factName value to set.- Returns:
- the EvaluatePoliciesProperties object itself.
-
factData
Get the factData property: The fact data.- Returns:
- the factData value.
-
withFactData
Set the factData property: The fact data.- Parameters:
factData
- the factData value to set.- Returns:
- the EvaluatePoliciesProperties object itself.
-
valueOffset
Get the valueOffset property: The value offset.- Returns:
- the valueOffset value.
-
withValueOffset
Set the valueOffset property: The value offset.- Parameters:
valueOffset
- the valueOffset value to set.- Returns:
- the EvaluatePoliciesProperties object itself.
-
userObjectId
Get the userObjectId property: The user for which policies will be evaluated.- Returns:
- the userObjectId value.
-
withUserObjectId
Set the userObjectId property: The user for which policies will be evaluated.- Parameters:
userObjectId
- the userObjectId value to set.- Returns:
- the EvaluatePoliciesProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-