Class OverrideModel
java.lang.Object
com.azure.resourcemanager.resources.models.OverrideModel
The policy property value override.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionkind()Get the kind property: The override kind.Get the selectors property: The list of the selector expressions.voidvalidate()Validates the instance.value()Get the value property: The value to override the policy property.withKind(OverrideKind kind) Set the kind property: The override kind.withSelectors(List<Selector> selectors) Set the selectors property: The list of the selector expressions.Set the value property: The value to override the policy property.
-
Constructor Details
-
OverrideModel
public OverrideModel()Creates an instance of OverrideModel class.
-
-
Method Details
-
kind
Get the kind property: The override kind.- Returns:
- the kind value.
-
withKind
Set the kind property: The override kind.- Parameters:
kind- the kind value to set.- Returns:
- the OverrideModel object itself.
-
value
Get the value property: The value to override the policy property.- Returns:
- the value value.
-
withValue
Set the value property: The value to override the policy property.- Parameters:
value- the value value to set.- Returns:
- the OverrideModel object itself.
-
selectors
Get the selectors property: The list of the selector expressions.- Returns:
- the selectors value.
-
withSelectors
Set the selectors property: The list of the selector expressions.- Parameters:
selectors- the selectors value to set.- Returns:
- the OverrideModel object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-