Class TimelineAggregation
- java.lang.Object
-
- com.azure.resourcemanager.securityinsights.models.TimelineAggregation
-
public final class TimelineAggregation extends Object
timeline aggregation information per kind.
-
-
Constructor Summary
Constructors Constructor Description TimelineAggregation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
count()
Get the count property: the total items found for a kind.EntityTimelineKind
kind()
Get the kind property: the query kind.void
validate()
Validates the instance.TimelineAggregation
withCount(int count)
Set the count property: the total items found for a kind.TimelineAggregation
withKind(EntityTimelineKind kind)
Set the kind property: the query kind.
-
-
-
Method Detail
-
count
public int count()
Get the count property: the total items found for a kind.- Returns:
- the count value.
-
withCount
public TimelineAggregation withCount(int count)
Set the count property: the total items found for a kind.- Parameters:
count
- the count value to set.- Returns:
- the TimelineAggregation object itself.
-
kind
public EntityTimelineKind kind()
Get the kind property: the query kind.- Returns:
- the kind value.
-
withKind
public TimelineAggregation withKind(EntityTimelineKind kind)
Set the kind property: the query kind.- Parameters:
kind
- the kind value to set.- Returns:
- the TimelineAggregation object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-