Class CodelessUiConnectorConfigPropertiesSampleQueriesItem
java.lang.Object
com.azure.resourcemanager.securityinsights.models.SampleQueries
com.azure.resourcemanager.securityinsights.models.CodelessUiConnectorConfigPropertiesSampleQueriesItem
The CodelessUiConnectorConfigPropertiesSampleQueriesItem model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.withDescription
(String description) Set the description property: The sample query description.Set the query property: the sample query.Methods inherited from class com.azure.resourcemanager.securityinsights.models.SampleQueries
description, query
-
Constructor Details
-
CodelessUiConnectorConfigPropertiesSampleQueriesItem
public CodelessUiConnectorConfigPropertiesSampleQueriesItem()
-
-
Method Details
-
withDescription
Set the description property: The sample query description.- Overrides:
withDescription
in classSampleQueries
- Parameters:
description
- the description value to set.- Returns:
- the SampleQueries object itself.
-
withQuery
Set the query property: the sample query.- Overrides:
withQuery
in classSampleQueries
- Parameters:
query
- the query value to set.- Returns:
- the SampleQueries object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classSampleQueries
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-