Class TimelineAggregation

java.lang.Object
com.azure.resourcemanager.securityinsights.models.TimelineAggregation

public final class TimelineAggregation extends Object
timeline aggregation information per kind.
  • Constructor Details

    • TimelineAggregation

      public TimelineAggregation()
  • Method Details

    • 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.