Class AlertsSummaryGroupItem
java.lang.Object
com.azure.resourcemanager.alertsmanagement.models.AlertsSummaryGroupItem
Alerts summary group item.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncount()
Get the count property: Count of the aggregated field.Get the groupedby property: Name of the field aggregated.name()
Get the name property: Value of the aggregated field.void
validate()
Validates the instance.values()
Get the values property: List of the items.Set the count property: Count of the aggregated field.withGroupedby
(String groupedby) Set the groupedby property: Name of the field aggregated.Set the name property: Value of the aggregated field.withValues
(List<AlertsSummaryGroupItem> values) Set the values property: List of the items.
-
Constructor Details
-
AlertsSummaryGroupItem
public AlertsSummaryGroupItem()
-
-
Method Details
-
name
Get the name property: Value of the aggregated field.- Returns:
- the name value.
-
withName
Set the name property: Value of the aggregated field.- Parameters:
name
- the name value to set.- Returns:
- the AlertsSummaryGroupItem object itself.
-
count
Get the count property: Count of the aggregated field.- Returns:
- the count value.
-
withCount
Set the count property: Count of the aggregated field.- Parameters:
count
- the count value to set.- Returns:
- the AlertsSummaryGroupItem 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 AlertsSummaryGroupItem 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 AlertsSummaryGroupItem object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-