ContainerNetworkInterfaceStatistics Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ContainerNetworkInterfaceStatistics
- com.
Implements
public final class ContainerNetworkInterfaceStatistics
implements JsonSerializable<ContainerNetworkInterfaceStatistics>
The ContainerNetworkInterfaceStatistics model.
Constructor Summary
Constructor | Description |
---|---|
ContainerNetworkInterfaceStatistics() |
Creates an instance of Container |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Container |
fromJson(JsonReader jsonReader)
Reads an instance of Container |
Long |
rxBytes()
Get the rx |
Long |
rxDropped()
Get the rx |
Long |
rxErrors()
Get the rx |
Long |
rxPackets()
Get the rx |
Json |
toJson(JsonWriter jsonWriter) |
Long |
txBytes()
Get the tx |
Long |
txDropped()
Get the tx |
Long |
txErrors()
Get the tx |
Long |
txPackets()
Get the tx |
void |
validate()
Validates the instance. |
Container |
withRxBytes(Long rxBytes)
Set the rx |
Container |
withRxDropped(Long rxDropped)
Set the rx |
Container |
withRxErrors(Long rxErrors)
Set the rx |
Container |
withRxPackets(Long rxPackets)
Set the rx |
Container |
withTxBytes(Long txBytes)
Set the tx |
Container |
withTxDropped(Long txDropped)
Set the tx |
Container |
withTxErrors(Long txErrors)
Set the tx |
Container |
withTxPackets(Long txPackets)
Set the tx |
Methods inherited from java.lang.Object
Constructor Details
ContainerNetworkInterfaceStatistics
public ContainerNetworkInterfaceStatistics()
Creates an instance of ContainerNetworkInterfaceStatistics class.
Method Details
fromJson
public static ContainerNetworkInterfaceStatistics fromJson(JsonReader jsonReader)
Reads an instance of ContainerNetworkInterfaceStatistics from the JsonReader.
Parameters:
Returns:
Throws:
rxBytes
public Long rxBytes()
Get the rxBytes property: The rxBytes property.
Returns:
rxDropped
public Long rxDropped()
Get the rxDropped property: The rxDropped property.
Returns:
rxErrors
public Long rxErrors()
Get the rxErrors property: The rxErrors property.
Returns:
rxPackets
public Long rxPackets()
Get the rxPackets property: The rxPackets property.
Returns:
toJson
txBytes
public Long txBytes()
Get the txBytes property: The txBytes property.
Returns:
txDropped
public Long txDropped()
Get the txDropped property: The txDropped property.
Returns:
txErrors
public Long txErrors()
Get the txErrors property: The txErrors property.
Returns:
txPackets
public Long txPackets()
Get the txPackets property: The txPackets property.
Returns:
validate
public void validate()
Validates the instance.
withRxBytes
public ContainerNetworkInterfaceStatistics withRxBytes(Long rxBytes)
Set the rxBytes property: The rxBytes property.
Parameters:
Returns:
withRxDropped
public ContainerNetworkInterfaceStatistics withRxDropped(Long rxDropped)
Set the rxDropped property: The rxDropped property.
Parameters:
Returns:
withRxErrors
public ContainerNetworkInterfaceStatistics withRxErrors(Long rxErrors)
Set the rxErrors property: The rxErrors property.
Parameters:
Returns:
withRxPackets
public ContainerNetworkInterfaceStatistics withRxPackets(Long rxPackets)
Set the rxPackets property: The rxPackets property.
Parameters:
Returns:
withTxBytes
public ContainerNetworkInterfaceStatistics withTxBytes(Long txBytes)
Set the txBytes property: The txBytes property.
Parameters:
Returns:
withTxDropped
public ContainerNetworkInterfaceStatistics withTxDropped(Long txDropped)
Set the txDropped property: The txDropped property.
Parameters:
Returns:
withTxErrors
public ContainerNetworkInterfaceStatistics withTxErrors(Long txErrors)
Set the txErrors property: The txErrors property.
Parameters:
Returns:
withTxPackets
public ContainerNetworkInterfaceStatistics withTxPackets(Long txPackets)
Set the txPackets property: The txPackets property.
Parameters:
Returns:
Applies to
Azure SDK for Java