Class SampleQueries
- 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 Summary
Constructors Constructor Description SampleQueries()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
description()
Get the description property: The sample query description.String
query()
Get the query property: the sample query.void
validate()
Validates the instance.SampleQueries
withDescription(String description)
Set the description property: The sample query description.SampleQueries
withQuery(String query)
Set the query property: the sample query.
-
-
-
Method Detail
-
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.
-
-