Class TimelineResultsMetadata

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

public final class TimelineResultsMetadata extends Object
Expansion result metadata.
  • Constructor Details

    • TimelineResultsMetadata

      public TimelineResultsMetadata()
  • Method Details

    • totalCount

      public int totalCount()
      Get the totalCount property: the total items found for the timeline request.
      Returns:
      the totalCount value.
    • withTotalCount

      public TimelineResultsMetadata withTotalCount(int totalCount)
      Set the totalCount property: the total items found for the timeline request.
      Parameters:
      totalCount - the totalCount value to set.
      Returns:
      the TimelineResultsMetadata object itself.
    • aggregations

      public List<TimelineAggregation> aggregations()
      Get the aggregations property: timeline aggregation per kind.
      Returns:
      the aggregations value.
    • withAggregations

      public TimelineResultsMetadata withAggregations(List<TimelineAggregation> aggregations)
      Set the aggregations property: timeline aggregation per kind.
      Parameters:
      aggregations - the aggregations value to set.
      Returns:
      the TimelineResultsMetadata object itself.
    • errors

      public List<TimelineError> errors()
      Get the errors property: information about the failure queries.
      Returns:
      the errors value.
    • withErrors

      public TimelineResultsMetadata withErrors(List<TimelineError> errors)
      Set the errors property: information about the failure queries.
      Parameters:
      errors - the errors value to set.
      Returns:
      the TimelineResultsMetadata object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.