java.lang.Object
com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitStatsInner
-
Constructor Summary
Constructors
Creates an instance of ExpressRouteCircuitStatsInner class.
-
Method Summary
fromJson(com.azure.json.JsonReader jsonReader)
Reads an instance of ExpressRouteCircuitStatsInner from the JsonReader.
Get the primarybytesIn property: The Primary BytesIn of the peering.
Get the primarybytesOut property: The primary BytesOut of the peering.
Get the secondarybytesIn property: The secondary BytesIn of the peering.
Get the secondarybytesOut property: The secondary BytesOut of the peering.
com.azure.json.JsonWriter
toJson(com.azure.json.JsonWriter jsonWriter)
void
Set the primarybytesIn property: The Primary BytesIn of the peering.
Set the primarybytesOut property: The primary BytesOut of the peering.
Set the secondarybytesIn property: The secondary BytesIn of the peering.
Set the secondarybytesOut property: The secondary BytesOut of the peering.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ExpressRouteCircuitStatsInner
public ExpressRouteCircuitStatsInner()
Creates an instance of ExpressRouteCircuitStatsInner class.
-
Method Details
-
primarybytesIn
public Long primarybytesIn()
Get the primarybytesIn property: The Primary BytesIn of the peering.
- Returns:
- the primarybytesIn value.
-
withPrimarybytesIn
Set the primarybytesIn property: The Primary BytesIn of the peering.
- Parameters:
primarybytesIn - the primarybytesIn value to set.
- Returns:
- the ExpressRouteCircuitStatsInner object itself.
-
primarybytesOut
public Long primarybytesOut()
Get the primarybytesOut property: The primary BytesOut of the peering.
- Returns:
- the primarybytesOut value.
-
withPrimarybytesOut
Set the primarybytesOut property: The primary BytesOut of the peering.
- Parameters:
primarybytesOut - the primarybytesOut value to set.
- Returns:
- the ExpressRouteCircuitStatsInner object itself.
-
secondarybytesIn
public Long secondarybytesIn()
Get the secondarybytesIn property: The secondary BytesIn of the peering.
- Returns:
- the secondarybytesIn value.
-
withSecondarybytesIn
Set the secondarybytesIn property: The secondary BytesIn of the peering.
- Parameters:
secondarybytesIn - the secondarybytesIn value to set.
- Returns:
- the ExpressRouteCircuitStatsInner object itself.
-
secondarybytesOut
public Long secondarybytesOut()
Get the secondarybytesOut property: The secondary BytesOut of the peering.
- Returns:
- the secondarybytesOut value.
-
withSecondarybytesOut
Set the secondarybytesOut property: The secondary BytesOut of the peering.
- Parameters:
secondarybytesOut - the secondarybytesOut value to set.
- Returns:
- the ExpressRouteCircuitStatsInner object itself.
-
validate
public void validate()
Validates the instance.
- Throws:
IllegalArgumentException - thrown if the instance is not valid.
-
-
fromJson
Reads an instance of ExpressRouteCircuitStatsInner from the JsonReader.
- Parameters:
jsonReader - The JsonReader being read.
- Returns:
- An instance of ExpressRouteCircuitStatsInner if the JsonReader was pointing to an instance of it, or null
if it was pointing to JSON null.
- Throws:
IOException - If an error occurs while reading the ExpressRouteCircuitStatsInner.