Class ContainerNetworkInterfaceStatistics
java.lang.Object
com.azure.resourcemanager.appservice.models.ContainerNetworkInterfaceStatistics
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ContainerNetworkInterfaceStatistics>
public final class ContainerNetworkInterfaceStatistics
extends Object
implements com.azure.json.JsonSerializable<ContainerNetworkInterfaceStatistics>
The ContainerNetworkInterfaceStatistics model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ContainerNetworkInterfaceStatistics class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ContainerNetworkInterfaceStatistics from the JsonReader.rxBytes()Get the rxBytes property: The rxBytes property.Get the rxDropped property: The rxDropped property.rxErrors()Get the rxErrors property: The rxErrors property.Get the rxPackets property: The rxPackets property.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) txBytes()Get the txBytes property: The txBytes property.Get the txDropped property: The txDropped property.txErrors()Get the txErrors property: The txErrors property.Get the txPackets property: The txPackets property.voidvalidate()Validates the instance.withRxBytes(Long rxBytes) Set the rxBytes property: The rxBytes property.withRxDropped(Long rxDropped) Set the rxDropped property: The rxDropped property.withRxErrors(Long rxErrors) Set the rxErrors property: The rxErrors property.withRxPackets(Long rxPackets) Set the rxPackets property: The rxPackets property.withTxBytes(Long txBytes) Set the txBytes property: The txBytes property.withTxDropped(Long txDropped) Set the txDropped property: The txDropped property.withTxErrors(Long txErrors) Set the txErrors property: The txErrors property.withTxPackets(Long txPackets) Set the txPackets property: The txPackets property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ContainerNetworkInterfaceStatistics
public ContainerNetworkInterfaceStatistics()Creates an instance of ContainerNetworkInterfaceStatistics class.
-
-
Method Details
-
rxBytes
Get the rxBytes property: The rxBytes property.- Returns:
- the rxBytes value.
-
withRxBytes
Set the rxBytes property: The rxBytes property.- Parameters:
rxBytes- the rxBytes value to set.- Returns:
- the ContainerNetworkInterfaceStatistics object itself.
-
rxPackets
Get the rxPackets property: The rxPackets property.- Returns:
- the rxPackets value.
-
withRxPackets
Set the rxPackets property: The rxPackets property.- Parameters:
rxPackets- the rxPackets value to set.- Returns:
- the ContainerNetworkInterfaceStatistics object itself.
-
rxErrors
Get the rxErrors property: The rxErrors property.- Returns:
- the rxErrors value.
-
withRxErrors
Set the rxErrors property: The rxErrors property.- Parameters:
rxErrors- the rxErrors value to set.- Returns:
- the ContainerNetworkInterfaceStatistics object itself.
-
rxDropped
Get the rxDropped property: The rxDropped property.- Returns:
- the rxDropped value.
-
withRxDropped
Set the rxDropped property: The rxDropped property.- Parameters:
rxDropped- the rxDropped value to set.- Returns:
- the ContainerNetworkInterfaceStatistics object itself.
-
txBytes
Get the txBytes property: The txBytes property.- Returns:
- the txBytes value.
-
withTxBytes
Set the txBytes property: The txBytes property.- Parameters:
txBytes- the txBytes value to set.- Returns:
- the ContainerNetworkInterfaceStatistics object itself.
-
txPackets
Get the txPackets property: The txPackets property.- Returns:
- the txPackets value.
-
withTxPackets
Set the txPackets property: The txPackets property.- Parameters:
txPackets- the txPackets value to set.- Returns:
- the ContainerNetworkInterfaceStatistics object itself.
-
txErrors
Get the txErrors property: The txErrors property.- Returns:
- the txErrors value.
-
withTxErrors
Set the txErrors property: The txErrors property.- Parameters:
txErrors- the txErrors value to set.- Returns:
- the ContainerNetworkInterfaceStatistics object itself.
-
txDropped
Get the txDropped property: The txDropped property.- Returns:
- the txDropped value.
-
withTxDropped
Set the txDropped property: The txDropped property.- Parameters:
txDropped- the txDropped value to set.- Returns:
- the ContainerNetworkInterfaceStatistics object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ContainerNetworkInterfaceStatistics>- Throws:
IOException
-
fromJson
public static ContainerNetworkInterfaceStatistics fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ContainerNetworkInterfaceStatistics from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ContainerNetworkInterfaceStatistics 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 ContainerNetworkInterfaceStatistics.
-