Class EntityQueryItem
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.EntityQueryItem
-
- Direct Known Subclasses:
InsightQueryItem
public class EntityQueryItem extends Object
An abstract Query item for entity.
-
-
Constructor Summary
Constructors Constructor Description EntityQueryItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
id()
Get the id property: Query Template ARM ID.String
name()
Get the name property: Query Template ARM Name.String
type()
Get the type property: ARM Type.void
validate()
Validates the instance.EntityQueryItem
withName(String name)
Set the name property: Query Template ARM Name.EntityQueryItem
withType(String type)
Set the type property: ARM Type.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Query Template ARM ID.- Returns:
- the id value.
-
name
public String name()
Get the name property: Query Template ARM Name.- Returns:
- the name value.
-
withName
public EntityQueryItem withName(String name)
Set the name property: Query Template ARM Name.- Parameters:
name
- the name value to set.- Returns:
- the EntityQueryItem object itself.
-
type
public String type()
Get the type property: ARM Type.- Returns:
- the type value.
-
withType
public EntityQueryItem withType(String type)
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.
-
-