java.lang.Object
com.azure.resourcemanager.securityinsights.models.SampleQueries
Direct Known Subclasses:
CodelessUiConnectorConfigPropertiesSampleQueriesItem

public class SampleQueries extends Object
The sample queries for the connector.
  • Constructor Details

    • SampleQueries

      public SampleQueries()
  • Method Details

    • description

      public String description()
      Get the description property: The sample query description.
      Returns:
      the description value.
    • withDescription

      public SampleQueries withDescription(String description)
      Set the description property: The sample query description.
      Parameters:
      description - the description value to set.
      Returns:
      the SampleQueries object itself.
    • query

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

      public SampleQueries withQuery(String query)
      Set the query property: the sample query.
      Parameters:
      query - the query value to set.
      Returns:
      the SampleQueries object itself.
    • validate

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