Class QueryCheck

java.lang.Object
com.azure.resourcemanager.security.models.QueryCheck

public final class QueryCheck extends Object
The rule query details.
  • Constructor Details

    • QueryCheck

      public QueryCheck()
  • Method Details

    • query

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

      public QueryCheck withQuery(String query)
      Set the query property: The rule query.
      Parameters:
      query - the query value to set.
      Returns:
      the QueryCheck object itself.
    • expectedResult

      public List<List<String>> expectedResult()
      Get the expectedResult property: Expected result.
      Returns:
      the expectedResult value.
    • withExpectedResult

      public QueryCheck withExpectedResult(List<List<String>> expectedResult)
      Set the expectedResult property: Expected result.
      Parameters:
      expectedResult - the expectedResult value to set.
      Returns:
      the QueryCheck object itself.
    • columnNames

      public List<String> columnNames()
      Get the columnNames property: Column names of expected result.
      Returns:
      the columnNames value.
    • withColumnNames

      public QueryCheck withColumnNames(List<String> columnNames)
      Set the columnNames property: Column names of expected result.
      Parameters:
      columnNames - the columnNames value to set.
      Returns:
      the QueryCheck object itself.
    • validate

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