PeeringStats Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. PeeringStats
- com.
Implements
public final class PeeringStats
implements JsonSerializable<PeeringStats>
Statistical information for a peering connection.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Peering |
fromJson(JsonReader jsonReader)
Reads an instance of Peering |
| List<Metric> |
metrics()
Get the metrics property: The collection of peering metrics. |
|
Offset |
timestamp()
Get the timestamp property: The timestamp when these statistics were captured. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static PeeringStats fromJson(JsonReader jsonReader)
Reads an instance of PeeringStats from the JsonReader.
Parameters:
Returns:
Throws:
metrics
public List<Metric> metrics()
Get the metrics property: The collection of peering metrics.
Returns:
timestamp
public OffsetDateTime timestamp()
Get the timestamp property: The timestamp when these statistics were captured.
Returns:
toJson
validate
public void validate()
Validates the instance.