Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.appservice; import com.fasterxml.jackson.annotation.JsonProperty;
The ContainerNetworkInterfaceStatistics model.
/** * The ContainerNetworkInterfaceStatistics model. */
public class ContainerNetworkInterfaceStatistics {
The rxBytes property.
/** * The rxBytes property. */
@JsonProperty(value = "rxBytes") private Long rxBytes;
The rxPackets property.
/** * The rxPackets property. */
@JsonProperty(value = "rxPackets") private Long rxPackets;
The rxErrors property.
/** * The rxErrors property. */
@JsonProperty(value = "rxErrors") private Long rxErrors;
The rxDropped property.
/** * The rxDropped property. */
@JsonProperty(value = "rxDropped") private Long rxDropped;
The txBytes property.
/** * The txBytes property. */
@JsonProperty(value = "txBytes") private Long txBytes;
The txPackets property.
/** * The txPackets property. */
@JsonProperty(value = "txPackets") private Long txPackets;
The txErrors property.
/** * The txErrors property. */
@JsonProperty(value = "txErrors") private Long txErrors;
The txDropped property.
/** * The txDropped property. */
@JsonProperty(value = "txDropped") private Long txDropped;
Get the rxBytes value.
Returns:the rxBytes value
/** * Get the rxBytes value. * * @return the rxBytes value */
public Long rxBytes() { return this.rxBytes; }
Set the rxBytes value.
Params:
  • rxBytes – the rxBytes value to set
Returns:the ContainerNetworkInterfaceStatistics object itself.
/** * Set the rxBytes value. * * @param rxBytes the rxBytes value to set * @return the ContainerNetworkInterfaceStatistics object itself. */
public ContainerNetworkInterfaceStatistics withRxBytes(Long rxBytes) { this.rxBytes = rxBytes; return this; }
Get the rxPackets value.
Returns:the rxPackets value
/** * Get the rxPackets value. * * @return the rxPackets value */
public Long rxPackets() { return this.rxPackets; }
Set the rxPackets value.
Params:
  • rxPackets – the rxPackets value to set
Returns:the ContainerNetworkInterfaceStatistics object itself.
/** * Set the rxPackets value. * * @param rxPackets the rxPackets value to set * @return the ContainerNetworkInterfaceStatistics object itself. */
public ContainerNetworkInterfaceStatistics withRxPackets(Long rxPackets) { this.rxPackets = rxPackets; return this; }
Get the rxErrors value.
Returns:the rxErrors value
/** * Get the rxErrors value. * * @return the rxErrors value */
public Long rxErrors() { return this.rxErrors; }
Set the rxErrors value.
Params:
  • rxErrors – the rxErrors value to set
Returns:the ContainerNetworkInterfaceStatistics object itself.
/** * Set the rxErrors value. * * @param rxErrors the rxErrors value to set * @return the ContainerNetworkInterfaceStatistics object itself. */
public ContainerNetworkInterfaceStatistics withRxErrors(Long rxErrors) { this.rxErrors = rxErrors; return this; }
Get the rxDropped value.
Returns:the rxDropped value
/** * Get the rxDropped value. * * @return the rxDropped value */
public Long rxDropped() { return this.rxDropped; }
Set the rxDropped value.
Params:
  • rxDropped – the rxDropped value to set
Returns:the ContainerNetworkInterfaceStatistics object itself.
/** * Set the rxDropped value. * * @param rxDropped the rxDropped value to set * @return the ContainerNetworkInterfaceStatistics object itself. */
public ContainerNetworkInterfaceStatistics withRxDropped(Long rxDropped) { this.rxDropped = rxDropped; return this; }
Get the txBytes value.
Returns:the txBytes value
/** * Get the txBytes value. * * @return the txBytes value */
public Long txBytes() { return this.txBytes; }
Set the txBytes value.
Params:
  • txBytes – the txBytes value to set
Returns:the ContainerNetworkInterfaceStatistics object itself.
/** * Set the txBytes value. * * @param txBytes the txBytes value to set * @return the ContainerNetworkInterfaceStatistics object itself. */
public ContainerNetworkInterfaceStatistics withTxBytes(Long txBytes) { this.txBytes = txBytes; return this; }
Get the txPackets value.
Returns:the txPackets value
/** * Get the txPackets value. * * @return the txPackets value */
public Long txPackets() { return this.txPackets; }
Set the txPackets value.
Params:
  • txPackets – the txPackets value to set
Returns:the ContainerNetworkInterfaceStatistics object itself.
/** * Set the txPackets value. * * @param txPackets the txPackets value to set * @return the ContainerNetworkInterfaceStatistics object itself. */
public ContainerNetworkInterfaceStatistics withTxPackets(Long txPackets) { this.txPackets = txPackets; return this; }
Get the txErrors value.
Returns:the txErrors value
/** * Get the txErrors value. * * @return the txErrors value */
public Long txErrors() { return this.txErrors; }
Set the txErrors value.
Params:
  • txErrors – the txErrors value to set
Returns:the ContainerNetworkInterfaceStatistics object itself.
/** * Set the txErrors value. * * @param txErrors the txErrors value to set * @return the ContainerNetworkInterfaceStatistics object itself. */
public ContainerNetworkInterfaceStatistics withTxErrors(Long txErrors) { this.txErrors = txErrors; return this; }
Get the txDropped value.
Returns:the txDropped value
/** * Get the txDropped value. * * @return the txDropped value */
public Long txDropped() { return this.txDropped; }
Set the txDropped value.
Params:
  • txDropped – the txDropped value to set
Returns:the ContainerNetworkInterfaceStatistics object itself.
/** * Set the txDropped value. * * @param txDropped the txDropped value to set * @return the ContainerNetworkInterfaceStatistics object itself. */
public ContainerNetworkInterfaceStatistics withTxDropped(Long txDropped) { this.txDropped = txDropped; return this; } }