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

public final class Selector extends Object
The selector expression.
  • Constructor Details

    • Selector

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

    • kind

      public SelectorKind kind()
      Get the kind property: The selector kind.
      Returns:
      the kind value.
    • withKind

      public Selector withKind(SelectorKind kind)
      Set the kind property: The selector kind.
      Parameters:
      kind - the kind value to set.
      Returns:
      the Selector object itself.
    • in

      public List<String> in()
      Get the in property: The list of values to filter in.
      Returns:
      the in value.
    • withIn

      public Selector withIn(List<String> in)
      Set the in property: The list of values to filter in.
      Parameters:
      in - the in value to set.
      Returns:
      the Selector object itself.
    • notIn

      public List<String> notIn()
      Get the notIn property: The list of values to filter out.
      Returns:
      the notIn value.
    • withNotIn

      public Selector withNotIn(List<String> notIn)
      Set the notIn property: The list of values to filter out.
      Parameters:
      notIn - the notIn value to set.
      Returns:
      the Selector object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.