Class InsightQueryItem

java.lang.Object
com.azure.resourcemanager.securityinsights.models.EntityQueryItem
com.azure.resourcemanager.securityinsights.models.InsightQueryItem

public final class InsightQueryItem extends EntityQueryItem
Represents Insight Query.
  • Constructor Details

    • InsightQueryItem

      public InsightQueryItem()
  • Method Details

    • properties

      public InsightQueryItemProperties properties()
      Get the properties property: Properties bag for InsightQueryItem.
      Returns:
      the properties value.
    • withProperties

      public InsightQueryItem withProperties(InsightQueryItemProperties properties)
      Set the properties property: Properties bag for InsightQueryItem.
      Parameters:
      properties - the properties value to set.
      Returns:
      the InsightQueryItem object itself.
    • withName

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

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

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