Class EntityQueryItem
java.lang.Object
com.azure.resourcemanager.securityinsights.models.EntityQueryItem
- Direct Known Subclasses:
InsightQueryItem
An abstract Query item for entity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionid()
Get the id property: Query Template ARM ID.name()
Get the name property: Query Template ARM Name.type()
Get the type property: ARM Type.void
validate()
Validates the instance.Set the name property: Query Template ARM Name.Set the type property: ARM Type.
-
Constructor Details
-
EntityQueryItem
public EntityQueryItem()
-
-
Method Details
-
id
Get the id property: Query Template ARM ID.- Returns:
- the id value.
-
name
Get the name property: Query Template ARM Name.- Returns:
- the name value.
-
withName
Set the name property: Query Template ARM Name.- Parameters:
name
- the name value to set.- Returns:
- the EntityQueryItem object itself.
-
type
Get the type property: ARM Type.- Returns:
- the type value.
-
withType
Set the type property: ARM Type.- Parameters:
type
- the type value to set.- Returns:
- the EntityQueryItem object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-