Class InsightQueryItemPropertiesAdditionalQuery
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.InsightQueryItemPropertiesAdditionalQuery
-
public final class InsightQueryItemPropertiesAdditionalQuery extends Object
The activity query definitions.
-
-
Constructor Summary
Constructors Constructor Description InsightQueryItemPropertiesAdditionalQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
query()
Get the query property: The insight query.String
text()
Get the text property: The insight text.void
validate()
Validates the instance.InsightQueryItemPropertiesAdditionalQuery
withQuery(String query)
Set the query property: The insight query.InsightQueryItemPropertiesAdditionalQuery
withText(String text)
Set the text property: The insight text.
-
-
-
Method Detail
-
query
public String query()
Get the query property: The insight query.- Returns:
- the query value.
-
withQuery
public InsightQueryItemPropertiesAdditionalQuery withQuery(String query)
Set the query property: The insight query.- Parameters:
query
- the query value to set.- Returns:
- the InsightQueryItemPropertiesAdditionalQuery object itself.
-
text
public String text()
Get the text property: The insight text.- Returns:
- the text value.
-
withText
public InsightQueryItemPropertiesAdditionalQuery withText(String text)
Set the text property: The insight text.- Parameters:
text
- the text value to set.- Returns:
- the InsightQueryItemPropertiesAdditionalQuery object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-