ExpressRouteCircuitStatsInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. ExpressRouteCircuitStatsInner
- com.
Implements
public final class ExpressRouteCircuitStatsInner
implements JsonSerializable<ExpressRouteCircuitStatsInner>
Contains stats associated with the peering.
Constructor Summary
Constructor | Description |
---|---|
ExpressRouteCircuitStatsInner() |
Creates an instance of Express |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Express |
fromJson(JsonReader jsonReader)
Reads an instance of Express |
Long |
primarybytesIn()
Get the primarybytes |
Long |
primarybytesOut()
Get the primarybytes |
Long |
secondarybytesIn()
Get the secondarybytes |
Long |
secondarybytesOut()
Get the secondarybytes |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Express |
withPrimarybytesIn(Long primarybytesIn)
Set the primarybytes |
Express |
withPrimarybytesOut(Long primarybytesOut)
Set the primarybytes |
Express |
withSecondarybytesIn(Long secondarybytesIn)
Set the secondarybytes |
Express |
withSecondarybytesOut(Long secondarybytesOut)
Set the secondarybytes |
Methods inherited from java.lang.Object
Constructor Details
ExpressRouteCircuitStatsInner
public ExpressRouteCircuitStatsInner()
Creates an instance of ExpressRouteCircuitStatsInner class.
Method Details
fromJson
public static ExpressRouteCircuitStatsInner fromJson(JsonReader jsonReader)
Reads an instance of ExpressRouteCircuitStatsInner from the JsonReader.
Parameters:
Returns:
Throws:
primarybytesIn
public Long primarybytesIn()
Get the primarybytesIn property: The Primary BytesIn of the peering.
Returns:
primarybytesOut
public Long primarybytesOut()
Get the primarybytesOut property: The primary BytesOut of the peering.
Returns:
secondarybytesIn
public Long secondarybytesIn()
Get the secondarybytesIn property: The secondary BytesIn of the peering.
Returns:
secondarybytesOut
public Long secondarybytesOut()
Get the secondarybytesOut property: The secondary BytesOut of the peering.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPrimarybytesIn
public ExpressRouteCircuitStatsInner withPrimarybytesIn(Long primarybytesIn)
Set the primarybytesIn property: The Primary BytesIn of the peering.
Parameters:
Returns:
withPrimarybytesOut
public ExpressRouteCircuitStatsInner withPrimarybytesOut(Long primarybytesOut)
Set the primarybytesOut property: The primary BytesOut of the peering.
Parameters:
Returns:
withSecondarybytesIn
public ExpressRouteCircuitStatsInner withSecondarybytesIn(Long secondarybytesIn)
Set the secondarybytesIn property: The secondary BytesIn of the peering.
Parameters:
Returns:
withSecondarybytesOut
public ExpressRouteCircuitStatsInner withSecondarybytesOut(Long secondarybytesOut)
Set the secondarybytesOut property: The secondary BytesOut of the peering.
Parameters:
Returns:
Applies to
Azure SDK for Java