AlertsSummaryGroup Class
- java.
lang. Object - com.
azure. resourcemanager. alertsmanagement. models. AlertsSummaryGroup
- com.
Implements
public final class AlertsSummaryGroup
implements JsonSerializable<AlertsSummaryGroup>
Group the result set.
Constructor Summary
| Constructor | Description |
|---|---|
| AlertsSummaryGroup() |
Creates an instance of Alerts |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Alerts |
fromJson(JsonReader jsonReader)
Reads an instance of Alerts |
| String |
groupedby()
Get the groupedby property: Name of the field aggregated. |
| Long |
smartGroupsCount()
Get the smart |
|
Json |
toJson(JsonWriter jsonWriter) |
| Long |
total()
Get the total property: Total count of the result set. |
| void |
validate()
Validates the instance. |
|
List<Alerts |
values()
Get the values property: List of the items. |
|
Alerts |
withGroupedby(String groupedby)
Set the groupedby property: Name of the field aggregated. |
|
Alerts |
withSmartGroupsCount(Long smartGroupsCount)
Set the smart |
|
Alerts |
withTotal(Long total)
Set the total property: Total count of the result set. |
|
Alerts |
withValues(List<AlertsSummaryGroupItem> values)
Set the values property: List of the items. |
Methods inherited from java.lang.Object
Constructor Details
AlertsSummaryGroup
public AlertsSummaryGroup()
Creates an instance of AlertsSummaryGroup class.
Method Details
fromJson
public static AlertsSummaryGroup fromJson(JsonReader jsonReader)
Reads an instance of AlertsSummaryGroup from the JsonReader.
Parameters:
Returns:
Throws:
groupedby
public String groupedby()
Get the groupedby property: Name of the field aggregated.
Returns:
smartGroupsCount
public Long smartGroupsCount()
Get the smartGroupsCount property: Total count of the smart groups.
Returns:
toJson
total
public Long total()
Get the total property: Total count of the result set.
Returns:
validate
public void validate()
Validates the instance.
values
public List<AlertsSummaryGroupItem> values()
Get the values property: List of the items.
Returns:
withGroupedby
public AlertsSummaryGroup withGroupedby(String groupedby)
Set the groupedby property: Name of the field aggregated.
Parameters:
Returns:
withSmartGroupsCount
public AlertsSummaryGroup withSmartGroupsCount(Long smartGroupsCount)
Set the smartGroupsCount property: Total count of the smart groups.
Parameters:
Returns:
withTotal
public AlertsSummaryGroup withTotal(Long total)
Set the total property: Total count of the result set.
Parameters:
Returns:
withValues
public AlertsSummaryGroup withValues(List<AlertsSummaryGroupItem> values)
Set the values property: List of the items.
Parameters:
Returns: