Class SampleQueries
java.lang.Object
com.azure.resourcemanager.securityinsights.models.SampleQueries
- Direct Known Subclasses:
CodelessUiConnectorConfigPropertiesSampleQueriesItem
The sample queries for the connector.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The sample query description.query()
Get the query property: the sample query.void
validate()
Validates the instance.withDescription
(String description) Set the description property: The sample query description.Set the query property: the sample query.
-
Constructor Details
-
SampleQueries
public SampleQueries()
-
-
Method Details
-
description
Get the description property: The sample query description.- Returns:
- the description value.
-
withDescription
Set the description property: The sample query description.- Parameters:
description
- the description value to set.- Returns:
- the SampleQueries object itself.
-
query
Get the query property: the sample query.- Returns:
- the query value.
-
withQuery
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.
-