Class EntityQueryItem

java.lang.Object
com.azure.resourcemanager.securityinsights.models.EntityQueryItem
Direct Known Subclasses:
InsightQueryItem

public class EntityQueryItem extends Object
An abstract Query item for entity.
  • Constructor Details

    • EntityQueryItem

      public EntityQueryItem()
  • Method Details

    • id

      public String id()
      Get the id property: Query Template ARM ID.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: Query Template ARM Name.
      Returns:
      the name value.
    • withName

      public EntityQueryItem withName(String name)
      Set the name property: Query Template ARM Name.
      Parameters:
      name - the name value to set.
      Returns:
      the EntityQueryItem object itself.
    • type

      public String type()
      Get the type property: ARM Type.
      Returns:
      the type value.
    • withType

      public EntityQueryItem withType(String type)
      Set the type property: ARM Type.
      Parameters:
      type - the type value to set.
      Returns:
      the EntityQueryItem object itself.
    • validate

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