Class OverrideModel

java.lang.Object
com.azure.resourcemanager.resources.models.OverrideModel

public final class OverrideModel extends Object
The policy property value override.
  • Constructor Details

    • OverrideModel

      public OverrideModel()
      Creates an instance of OverrideModel class.
  • Method Details

    • kind

      public OverrideKind kind()
      Get the kind property: The override kind.
      Returns:
      the kind value.
    • withKind

      public OverrideModel withKind(OverrideKind kind)
      Set the kind property: The override kind.
      Parameters:
      kind - the kind value to set.
      Returns:
      the OverrideModel object itself.
    • value

      public String value()
      Get the value property: The value to override the policy property.
      Returns:
      the value value.
    • withValue

      public OverrideModel withValue(String value)
      Set the value property: The value to override the policy property.
      Parameters:
      value - the value value to set.
      Returns:
      the OverrideModel object itself.
    • selectors

      public List<Selector> selectors()
      Get the selectors property: The list of the selector expressions.
      Returns:
      the selectors value.
    • withSelectors

      public OverrideModel withSelectors(List<Selector> selectors)
      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.