QueryCheck Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. QueryCheck
- com.
public final class QueryCheck
The rule query details.
Constructor Summary
Constructor | Description |
---|---|
QueryCheck() |
Creates an instance of Query |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
columnNames()
Get the column |
List<List<String>> |
expectedResult()
Get the expected |
String |
query()
Get the query property: The rule query. |
void |
validate()
Validates the instance. |
Query |
withColumnNames(List<String> columnNames)
Set the column |
Query |
withExpectedResult(List<List<String>> expectedResult)
Set the expected |
Query |
withQuery(String query)
Set the query property: The rule query. |
Methods inherited from java.lang.Object
Constructor Details
QueryCheck
public QueryCheck()
Creates an instance of QueryCheck class.
Method Details
columnNames
public List
Get the columnNames property: Column names of expected result.
Returns:
expectedResult
public List<>
Get the expectedResult property: Expected result.
Returns:
query
public String query()
Get the query property: The rule query.
Returns:
validate
public void validate()
Validates the instance.
withColumnNames
public QueryCheck withColumnNames(List
Set the columnNames property: Column names of expected result.
Parameters:
Returns:
withExpectedResult
public QueryCheck withExpectedResult(List<>
Set the expectedResult property: Expected result.
Parameters:
Returns:
withQuery
public QueryCheck withQuery(String query)
Set the query property: The rule query.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for