Class AlertsSummaryGroupItem

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

public final class AlertsSummaryGroupItem extends Object
Alerts summary group item.
  • Constructor Details

    • AlertsSummaryGroupItem

      public AlertsSummaryGroupItem()
  • Method Details

    • name

      public String name()
      Get the name property: Value of the aggregated field.
      Returns:
      the name value.
    • withName

      public AlertsSummaryGroupItem withName(String name)
      Set the name property: Value of the aggregated field.
      Parameters:
      name - the name value to set.
      Returns:
      the AlertsSummaryGroupItem object itself.
    • count

      public Long count()
      Get the count property: Count of the aggregated field.
      Returns:
      the count value.
    • withCount

      public AlertsSummaryGroupItem withCount(Long count)
      Set the count property: Count of the aggregated field.
      Parameters:
      count - the count value to set.
      Returns:
      the AlertsSummaryGroupItem object itself.
    • groupedby

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

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

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

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

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