Class AlertsSummaryGroup
java.lang.Object
com.azure.resourcemanager.alertsmanagement.models.AlertsSummaryGroup
Group the result set.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the groupedby property: Name of the field aggregated.Get the smartGroupsCount property: Total count of the smart groups.total()
Get the total property: Total count of the result set.void
validate()
Validates the instance.values()
Get the values property: List of the items.withGroupedby
(String groupedby) Set the groupedby property: Name of the field aggregated.withSmartGroupsCount
(Long smartGroupsCount) Set the smartGroupsCount property: Total count of the smart groups.Set the total property: Total count of the result set.withValues
(List<AlertsSummaryGroupItem> values) Set the values property: List of the items.
-
Constructor Details
-
AlertsSummaryGroup
public AlertsSummaryGroup()
-
-
Method Details
-
total
Get the total property: Total count of the result set.- Returns:
- the total value.
-
withTotal
Set the total property: Total count of the result set.- Parameters:
total
- the total value to set.- Returns:
- the AlertsSummaryGroup object itself.
-
smartGroupsCount
Get the smartGroupsCount property: Total count of the smart groups.- Returns:
- the smartGroupsCount value.
-
withSmartGroupsCount
Set the smartGroupsCount property: Total count of the smart groups.- Parameters:
smartGroupsCount
- the smartGroupsCount value to set.- Returns:
- the AlertsSummaryGroup object itself.
-
groupedby
Get the groupedby property: Name of the field aggregated.- Returns:
- the groupedby value.
-
withGroupedby
Set the groupedby property: Name of the field aggregated.- Parameters:
groupedby
- the groupedby value to set.- Returns:
- the AlertsSummaryGroup object itself.
-
values
Get the values property: List of the items.- Returns:
- the values value.
-
withValues
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.
-