SmartGroupAggregatedProperty Class
- java.
lang. Object - com.
azure. resourcemanager. alertsmanagement. models. SmartGroupAggregatedProperty
- com.
Implements
public final class SmartGroupAggregatedProperty
implements JsonSerializable<SmartGroupAggregatedProperty>
Aggregated property of each type.
Constructor Summary
| Constructor | Description |
|---|---|
| SmartGroupAggregatedProperty() |
Creates an instance of Smart |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Long |
count()
Get the count property: Total number of items of type. |
|
static
Smart |
fromJson(JsonReader jsonReader)
Reads an instance of Smart |
| String |
name()
Get the name property: Name of the type. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Smart |
withCount(Long count)
Set the count property: Total number of items of type. |
|
Smart |
withName(String name)
Set the name property: Name of the type. |
Methods inherited from java.lang.Object
Constructor Details
SmartGroupAggregatedProperty
public SmartGroupAggregatedProperty()
Creates an instance of SmartGroupAggregatedProperty class.
Method Details
count
public Long count()
Get the count property: Total number of items of type.
Returns:
fromJson
public static SmartGroupAggregatedProperty fromJson(JsonReader jsonReader)
Reads an instance of SmartGroupAggregatedProperty from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Name of the type.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCount
public SmartGroupAggregatedProperty withCount(Long count)
Set the count property: Total number of items of type.
Parameters:
Returns:
withName
public SmartGroupAggregatedProperty withName(String name)
Set the name property: Name of the type.
Parameters:
Returns: