Class InsightQueryItem
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.EntityQueryItem
-
- com.azure.resourcemanager.securityinsights.models.InsightQueryItem
-
public final class InsightQueryItem extends EntityQueryItem
Represents Insight Query.
-
-
Constructor Summary
Constructors Constructor Description InsightQueryItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InsightQueryItemProperties
properties()
Get the properties property: Properties bag for InsightQueryItem.void
validate()
Validates the instance.InsightQueryItem
withName(String name)
Set the name property: Query Template ARM Name.InsightQueryItem
withProperties(InsightQueryItemProperties properties)
Set the properties property: Properties bag for InsightQueryItem.InsightQueryItem
withType(String type)
Set the type property: ARM Type.-
Methods inherited from class com.azure.resourcemanager.securityinsights.models.EntityQueryItem
id, name, type
-
-
-
-
Method Detail
-
properties
public InsightQueryItemProperties properties()
Get the properties property: Properties bag for InsightQueryItem.- Returns:
- the properties value.
-
withProperties
public InsightQueryItem withProperties(InsightQueryItemProperties properties)
Set the properties property: Properties bag for InsightQueryItem.- Parameters:
properties
- the properties value to set.- Returns:
- the InsightQueryItem object itself.
-
withName
public InsightQueryItem withName(String name)
Set the name property: Query Template ARM Name.- Overrides:
withName
in classEntityQueryItem
- Parameters:
name
- the name value to set.- Returns:
- the EntityQueryItem object itself.
-
withType
public InsightQueryItem withType(String type)
Set the type property: ARM Type.- Overrides:
withType
in classEntityQueryItem
- Parameters:
type
- the type value to set.- Returns:
- the EntityQueryItem object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classEntityQueryItem
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-