Class IncidentEntitiesResultsMetadata
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.IncidentEntitiesResultsMetadata
-
public final class IncidentEntitiesResultsMetadata extends Object
Information of a specific aggregation in the incident related entities result.
-
-
Constructor Summary
Constructors Constructor Description IncidentEntitiesResultsMetadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
count()
Get the count property: Total number of aggregations of the given kind in the incident related entities result.EntityKind
entityKind()
Get the entityKind property: The kind of the aggregated entity.void
validate()
Validates the instance.IncidentEntitiesResultsMetadata
withCount(int count)
Set the count property: Total number of aggregations of the given kind in the incident related entities result.IncidentEntitiesResultsMetadata
withEntityKind(EntityKind entityKind)
Set the entityKind property: The kind of the aggregated entity.
-
-
-
Method Detail
-
count
public int count()
Get the count property: Total number of aggregations of the given kind in the incident related entities result.- Returns:
- the count value.
-
withCount
public IncidentEntitiesResultsMetadata withCount(int count)
Set the count property: Total number of aggregations of the given kind in the incident related entities result.- Parameters:
count
- the count value to set.- Returns:
- the IncidentEntitiesResultsMetadata object itself.
-
entityKind
public EntityKind entityKind()
Get the entityKind property: The kind of the aggregated entity.- Returns:
- the entityKind value.
-
withEntityKind
public IncidentEntitiesResultsMetadata withEntityKind(EntityKind entityKind)
Set the entityKind property: The kind of the aggregated entity.- Parameters:
entityKind
- the entityKind value to set.- Returns:
- the IncidentEntitiesResultsMetadata object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-