ContainerNetworkInterfaceStatistics Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.ContainerNetworkInterfaceStatistics

Implements

public final class ContainerNetworkInterfaceStatistics
implements JsonSerializable<ContainerNetworkInterfaceStatistics>

The ContainerNetworkInterfaceStatistics model.

Constructor Summary

Constructor Description
ContainerNetworkInterfaceStatistics()

Creates an instance of ContainerNetworkInterfaceStatistics class.

Method Summary

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

Reads an instance of ContainerNetworkInterfaceStatistics from the JsonReader.

Long rxBytes()

Get the rxBytes property: The rxBytes property.

Long rxDropped()

Get the rxDropped property: The rxDropped property.

Long rxErrors()

Get the rxErrors property: The rxErrors property.

Long rxPackets()

Get the rxPackets property: The rxPackets property.

JsonWriter toJson(JsonWriter jsonWriter)
Long txBytes()

Get the txBytes property: The txBytes property.

Long txDropped()

Get the txDropped property: The txDropped property.

Long txErrors()

Get the txErrors property: The txErrors property.

Long txPackets()

Get the txPackets property: The txPackets property.

void validate()

Validates the instance.

ContainerNetworkInterfaceStatistics withRxBytes(Long rxBytes)

Set the rxBytes property: The rxBytes property.

ContainerNetworkInterfaceStatistics withRxDropped(Long rxDropped)

Set the rxDropped property: The rxDropped property.

ContainerNetworkInterfaceStatistics withRxErrors(Long rxErrors)

Set the rxErrors property: The rxErrors property.

ContainerNetworkInterfaceStatistics withRxPackets(Long rxPackets)

Set the rxPackets property: The rxPackets property.

ContainerNetworkInterfaceStatistics withTxBytes(Long txBytes)

Set the txBytes property: The txBytes property.

ContainerNetworkInterfaceStatistics withTxDropped(Long txDropped)

Set the txDropped property: The txDropped property.

ContainerNetworkInterfaceStatistics withTxErrors(Long txErrors)

Set the txErrors property: The txErrors property.

ContainerNetworkInterfaceStatistics withTxPackets(Long txPackets)

Set the txPackets property: The txPackets property.

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:

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.

rxBytes

public Long rxBytes()

Get the rxBytes property: The rxBytes property.

Returns:

the rxBytes value.

rxDropped

public Long rxDropped()

Get the rxDropped property: The rxDropped property.

Returns:

the rxDropped value.

rxErrors

public Long rxErrors()

Get the rxErrors property: The rxErrors property.

Returns:

the rxErrors value.

rxPackets

public Long rxPackets()

Get the rxPackets property: The rxPackets property.

Returns:

the rxPackets value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

txBytes

public Long txBytes()

Get the txBytes property: The txBytes property.

Returns:

the txBytes value.

txDropped

public Long txDropped()

Get the txDropped property: The txDropped property.

Returns:

the txDropped value.

txErrors

public Long txErrors()

Get the txErrors property: The txErrors property.

Returns:

the txErrors value.

txPackets

public Long txPackets()

Get the txPackets property: The txPackets property.

Returns:

the txPackets value.

validate

public void validate()

Validates the instance.

withRxBytes

public ContainerNetworkInterfaceStatistics withRxBytes(Long rxBytes)

Set the rxBytes property: The rxBytes property.

Parameters:

rxBytes - the rxBytes value to set.

Returns:

the ContainerNetworkInterfaceStatistics object itself.

withRxDropped

public ContainerNetworkInterfaceStatistics withRxDropped(Long rxDropped)

Set the rxDropped property: The rxDropped property.

Parameters:

rxDropped - the rxDropped value to set.

Returns:

the ContainerNetworkInterfaceStatistics object itself.

withRxErrors

public ContainerNetworkInterfaceStatistics withRxErrors(Long rxErrors)

Set the rxErrors property: The rxErrors property.

Parameters:

rxErrors - the rxErrors value to set.

Returns:

the ContainerNetworkInterfaceStatistics object itself.

withRxPackets

public ContainerNetworkInterfaceStatistics withRxPackets(Long rxPackets)

Set the rxPackets property: The rxPackets property.

Parameters:

rxPackets - the rxPackets value to set.

Returns:

the ContainerNetworkInterfaceStatistics object itself.

withTxBytes

public ContainerNetworkInterfaceStatistics withTxBytes(Long txBytes)

Set the txBytes property: The txBytes property.

Parameters:

txBytes - the txBytes value to set.

Returns:

the ContainerNetworkInterfaceStatistics object itself.

withTxDropped

public ContainerNetworkInterfaceStatistics withTxDropped(Long txDropped)

Set the txDropped property: The txDropped property.

Parameters:

txDropped - the txDropped value to set.

Returns:

the ContainerNetworkInterfaceStatistics object itself.

withTxErrors

public ContainerNetworkInterfaceStatistics withTxErrors(Long txErrors)

Set the txErrors property: The txErrors property.

Parameters:

txErrors - the txErrors value to set.

Returns:

the ContainerNetworkInterfaceStatistics object itself.

withTxPackets

public ContainerNetworkInterfaceStatistics withTxPackets(Long txPackets)

Set the txPackets property: The txPackets property.

Parameters:

txPackets - the txPackets value to set.

Returns:

the ContainerNetworkInterfaceStatistics object itself.

Applies to