Class InsightQueryItemPropertiesAdditionalQuery

java.lang.Object
com.azure.resourcemanager.securityinsights.models.InsightQueryItemPropertiesAdditionalQuery

public final class InsightQueryItemPropertiesAdditionalQuery extends Object
The activity query definitions.
  • Constructor Details

    • InsightQueryItemPropertiesAdditionalQuery

      public InsightQueryItemPropertiesAdditionalQuery()
  • Method Details

    • query

      public String query()
      Get the query property: The insight query.
      Returns:
      the query value.
    • withQuery

      Set the query property: The insight query.
      Parameters:
      query - the query value to set.
      Returns:
      the InsightQueryItemPropertiesAdditionalQuery object itself.
    • text

      public String text()
      Get the text property: The insight text.
      Returns:
      the text value.
    • withText

      Set the text property: The insight text.
      Parameters:
      text - the text value to set.
      Returns:
      the InsightQueryItemPropertiesAdditionalQuery object itself.
    • validate

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