com.microsoft.azure.management.network.implementation.ExpressRouteCircuitStatsInner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-network Show documentation
Show all versions of azure-mgmt-network Show documentation
This package contains Microsoft Azure Network Management SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-network is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.
/**
* 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.
*/
public class ExpressRouteCircuitStatsInner {
/**
* Gets BytesIn of the peering.
*/
@JsonProperty(value = "primarybytesIn")
private Long primarybytesIn;
/**
* Gets BytesOut of the peering.
*/
@JsonProperty(value = "primarybytesOut")
private Long primarybytesOut;
/**
* Gets BytesIn of the peering.
*/
@JsonProperty(value = "secondarybytesIn")
private Long secondarybytesIn;
/**
* Gets BytesOut of the peering.
*/
@JsonProperty(value = "secondarybytesOut")
private Long secondarybytesOut;
/**
* Get the primarybytesIn value.
*
* @return the primarybytesIn value
*/
public Long primarybytesIn() {
return this.primarybytesIn;
}
/**
* Set the primarybytesIn value.
*
* @param primarybytesIn the primarybytesIn value to set
* @return the ExpressRouteCircuitStatsInner object itself.
*/
public ExpressRouteCircuitStatsInner withPrimarybytesIn(Long primarybytesIn) {
this.primarybytesIn = primarybytesIn;
return this;
}
/**
* Get the primarybytesOut value.
*
* @return the primarybytesOut value
*/
public Long primarybytesOut() {
return this.primarybytesOut;
}
/**
* Set the primarybytesOut value.
*
* @param primarybytesOut the primarybytesOut value to set
* @return the ExpressRouteCircuitStatsInner object itself.
*/
public ExpressRouteCircuitStatsInner withPrimarybytesOut(Long primarybytesOut) {
this.primarybytesOut = primarybytesOut;
return this;
}
/**
* Get the secondarybytesIn value.
*
* @return the secondarybytesIn value
*/
public Long secondarybytesIn() {
return this.secondarybytesIn;
}
/**
* Set the secondarybytesIn value.
*
* @param secondarybytesIn the secondarybytesIn value to set
* @return the ExpressRouteCircuitStatsInner object itself.
*/
public ExpressRouteCircuitStatsInner withSecondarybytesIn(Long secondarybytesIn) {
this.secondarybytesIn = secondarybytesIn;
return this;
}
/**
* Get the secondarybytesOut value.
*
* @return the secondarybytesOut value
*/
public Long secondarybytesOut() {
return this.secondarybytesOut;
}
/**
* Set the secondarybytesOut value.
*
* @param secondarybytesOut the secondarybytesOut value to set
* @return the ExpressRouteCircuitStatsInner object itself.
*/
public ExpressRouteCircuitStatsInner withSecondarybytesOut(Long secondarybytesOut) {
this.secondarybytesOut = secondarybytesOut;
return this;
}
}