Class AlertsSummaryGroup

java.lang.Object
com.azure.resourcemanager.alertsmanagement.models.AlertsSummaryGroup

public final class AlertsSummaryGroup extends Object
Group the result set.
  • Constructor Details

    • AlertsSummaryGroup

      public AlertsSummaryGroup()
  • Method Details

    • total

      public Long total()
      Get the total property: Total count of the result set.
      Returns:
      the total value.
    • withTotal

      public AlertsSummaryGroup withTotal(Long total)
      Set the total property: Total count of the result set.
      Parameters:
      total - the total value to set.
      Returns:
      the AlertsSummaryGroup object itself.
    • smartGroupsCount

      public Long smartGroupsCount()
      Get the smartGroupsCount property: Total count of the smart groups.
      Returns:
      the smartGroupsCount value.
    • withSmartGroupsCount

      public AlertsSummaryGroup withSmartGroupsCount(Long smartGroupsCount)
      Set the smartGroupsCount property: Total count of the smart groups.
      Parameters:
      smartGroupsCount - the smartGroupsCount value to set.
      Returns:
      the AlertsSummaryGroup object itself.
    • groupedby

      public String groupedby()
      Get the groupedby property: Name of the field aggregated.
      Returns:
      the groupedby value.
    • withGroupedby

      public AlertsSummaryGroup withGroupedby(String groupedby)
      Set the groupedby property: Name of the field aggregated.
      Parameters:
      groupedby - the groupedby value to set.
      Returns:
      the AlertsSummaryGroup object itself.
    • values

      public List<AlertsSummaryGroupItem> values()
      Get the values property: List of the items.
      Returns:
      the values value.
    • withValues

      public AlertsSummaryGroup withValues(List<AlertsSummaryGroupItem> values)
      Set the values property: List of the items.
      Parameters:
      values - the values value to set.
      Returns:
      the AlertsSummaryGroup object itself.
    • validate

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