ExpressRouteCircuitStatsInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitStatsInner

Implements

public final class ExpressRouteCircuitStatsInner
implements JsonSerializable<ExpressRouteCircuitStatsInner>

Contains stats associated with the peering.

Constructor Summary

Constructor Description
ExpressRouteCircuitStatsInner()

Creates an instance of ExpressRouteCircuitStatsInner class.

Method Summary

Modifier and Type Method and Description
static ExpressRouteCircuitStatsInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteCircuitStatsInner from the JsonReader.

Long primarybytesIn()

Get the primarybytesIn property: The Primary BytesIn of the peering.

Long primarybytesOut()

Get the primarybytesOut property: The primary BytesOut of the peering.

Long secondarybytesIn()

Get the secondarybytesIn property: The secondary BytesIn of the peering.

Long secondarybytesOut()

Get the secondarybytesOut property: The secondary BytesOut of the peering.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ExpressRouteCircuitStatsInner withPrimarybytesIn(Long primarybytesIn)

Set the primarybytesIn property: The Primary BytesIn of the peering.

ExpressRouteCircuitStatsInner withPrimarybytesOut(Long primarybytesOut)

Set the primarybytesOut property: The primary BytesOut of the peering.

ExpressRouteCircuitStatsInner withSecondarybytesIn(Long secondarybytesIn)

Set the secondarybytesIn property: The secondary BytesIn of the peering.

ExpressRouteCircuitStatsInner withSecondarybytesOut(Long secondarybytesOut)

Set the secondarybytesOut property: The secondary BytesOut of the peering.

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:

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.

primarybytesIn

public Long primarybytesIn()

Get the primarybytesIn property: The Primary BytesIn of the peering.

Returns:

the primarybytesIn value.

primarybytesOut

public Long primarybytesOut()

Get the primarybytesOut property: The primary BytesOut of the peering.

Returns:

the primarybytesOut value.

secondarybytesIn

public Long secondarybytesIn()

Get the secondarybytesIn property: The secondary BytesIn of the peering.

Returns:

the secondarybytesIn value.

secondarybytesOut

public Long secondarybytesOut()

Get the secondarybytesOut property: The secondary BytesOut of the peering.

Returns:

the secondarybytesOut value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withPrimarybytesIn

public ExpressRouteCircuitStatsInner withPrimarybytesIn(Long primarybytesIn)

Set the primarybytesIn property: The Primary BytesIn of the peering.

Parameters:

primarybytesIn - the primarybytesIn value to set.

Returns:

the ExpressRouteCircuitStatsInner object itself.

withPrimarybytesOut

public ExpressRouteCircuitStatsInner withPrimarybytesOut(Long primarybytesOut)

Set the primarybytesOut property: The primary BytesOut of the peering.

Parameters:

primarybytesOut - the primarybytesOut value to set.

Returns:

the ExpressRouteCircuitStatsInner object itself.

withSecondarybytesIn

public ExpressRouteCircuitStatsInner withSecondarybytesIn(Long secondarybytesIn)

Set the secondarybytesIn property: The secondary BytesIn of the peering.

Parameters:

secondarybytesIn - the secondarybytesIn value to set.

Returns:

the ExpressRouteCircuitStatsInner object itself.

withSecondarybytesOut

public ExpressRouteCircuitStatsInner withSecondarybytesOut(Long secondarybytesOut)

Set the secondarybytesOut property: The secondary BytesOut of the peering.

Parameters:

secondarybytesOut - the secondarybytesOut value to set.

Returns:

the ExpressRouteCircuitStatsInner object itself.

Applies to