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.network.implementation; import com.fasterxml.jackson.annotation.JsonProperty;
Contains stats associated with the peering.
/** * Contains stats associated with the peering. */
public class ExpressRouteCircuitStatsInner {
The Primary BytesIn of the peering.
/** * The Primary BytesIn of the peering. */
@JsonProperty(value = "primarybytesIn") private Long primarybytesIn;
The primary BytesOut of the peering.
/** * The primary BytesOut of the peering. */
@JsonProperty(value = "primarybytesOut") private Long primarybytesOut;
The secondary BytesIn of the peering.
/** * The secondary BytesIn of the peering. */
@JsonProperty(value = "secondarybytesIn") private Long secondarybytesIn;
The secondary BytesOut of the peering.
/** * The secondary BytesOut of the peering. */
@JsonProperty(value = "secondarybytesOut") private Long secondarybytesOut;
Get the Primary BytesIn of the peering.
Returns:the primarybytesIn value
/** * Get the Primary BytesIn of the peering. * * @return the primarybytesIn value */
public Long primarybytesIn() { return this.primarybytesIn; }
Set the Primary BytesIn of the peering.
Params:
  • primarybytesIn – the primarybytesIn value to set
Returns:the ExpressRouteCircuitStatsInner object itself.
/** * Set the Primary BytesIn of the peering. * * @param primarybytesIn the primarybytesIn value to set * @return the ExpressRouteCircuitStatsInner object itself. */
public ExpressRouteCircuitStatsInner withPrimarybytesIn(Long primarybytesIn) { this.primarybytesIn = primarybytesIn; return this; }
Get the primary BytesOut of the peering.
Returns:the primarybytesOut value
/** * Get the primary BytesOut of the peering. * * @return the primarybytesOut value */
public Long primarybytesOut() { return this.primarybytesOut; }
Set the primary BytesOut of the peering.
Params:
  • primarybytesOut – the primarybytesOut value to set
Returns:the ExpressRouteCircuitStatsInner object itself.
/** * Set the primary BytesOut of the peering. * * @param primarybytesOut the primarybytesOut value to set * @return the ExpressRouteCircuitStatsInner object itself. */
public ExpressRouteCircuitStatsInner withPrimarybytesOut(Long primarybytesOut) { this.primarybytesOut = primarybytesOut; return this; }
Get the secondary BytesIn of the peering.
Returns:the secondarybytesIn value
/** * Get the secondary BytesIn of the peering. * * @return the secondarybytesIn value */
public Long secondarybytesIn() { return this.secondarybytesIn; }
Set the secondary BytesIn of the peering.
Params:
  • secondarybytesIn – the secondarybytesIn value to set
Returns:the ExpressRouteCircuitStatsInner object itself.
/** * Set the secondary BytesIn of the peering. * * @param secondarybytesIn the secondarybytesIn value to set * @return the ExpressRouteCircuitStatsInner object itself. */
public ExpressRouteCircuitStatsInner withSecondarybytesIn(Long secondarybytesIn) { this.secondarybytesIn = secondarybytesIn; return this; }
Get the secondary BytesOut of the peering.
Returns:the secondarybytesOut value
/** * Get the secondary BytesOut of the peering. * * @return the secondarybytesOut value */
public Long secondarybytesOut() { return this.secondarybytesOut; }
Set the secondary BytesOut of the peering.
Params:
  • secondarybytesOut – the secondarybytesOut value to set
Returns:the ExpressRouteCircuitStatsInner object itself.
/** * Set the secondary BytesOut of the peering. * * @param secondarybytesOut the secondarybytesOut value to set * @return the ExpressRouteCircuitStatsInner object itself. */
public ExpressRouteCircuitStatsInner withSecondarybytesOut(Long secondarybytesOut) { this.secondarybytesOut = secondarybytesOut; return this; } }