Class IncidentEntitiesResultsMetadata
java.lang.Object
com.azure.resourcemanager.securityinsights.models.IncidentEntitiesResultsMetadata
Information of a specific aggregation in the incident related entities result.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
count()
Get the count property: Total number of aggregations of the given kind in the incident related entities result.Get the entityKind property: The kind of the aggregated entity.void
validate()
Validates the instance.withCount
(int count) Set the count property: Total number of aggregations of the given kind in the incident related entities result.withEntityKind
(EntityKind entityKind) Set the entityKind property: The kind of the aggregated entity.
-
Constructor Details
-
IncidentEntitiesResultsMetadata
public IncidentEntitiesResultsMetadata()
-
-
Method Details
-
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
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
Get the entityKind property: The kind of the aggregated entity.- Returns:
- the entityKind value.
-
withEntityKind
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.
-