Class GetInsightsResultsMetadata

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

public final class GetInsightsResultsMetadata extends Object
Get Insights result metadata.
  • Constructor Details

    • GetInsightsResultsMetadata

      public GetInsightsResultsMetadata()
  • Method Details

    • totalCount

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

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

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

      Set the errors property: information about the failed queries.
      Parameters:
      errors - the errors value to set.
      Returns:
      the GetInsightsResultsMetadata object itself.
    • validate

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