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;
import com.fasterxml.jackson.annotation.JsonProperty;
Contains bandwidths offered in ExpressRouteServiceProvider resources.
/**
* Contains bandwidths offered in ExpressRouteServiceProvider resources.
*/
public class ExpressRouteServiceProviderBandwidthsOffered {
The OfferName.
/**
* The OfferName.
*/
@JsonProperty(value = "offerName")
private String offerName;
The ValueInMbps.
/**
* The ValueInMbps.
*/
@JsonProperty(value = "valueInMbps")
private Integer valueInMbps;
Get the OfferName.
Returns: the offerName value
/**
* Get the OfferName.
*
* @return the offerName value
*/
public String offerName() {
return this.offerName;
}
Set the OfferName.
Params: - offerName – the offerName value to set
Returns: the ExpressRouteServiceProviderBandwidthsOffered object itself.
/**
* Set the OfferName.
*
* @param offerName the offerName value to set
* @return the ExpressRouteServiceProviderBandwidthsOffered object itself.
*/
public ExpressRouteServiceProviderBandwidthsOffered withOfferName(String offerName) {
this.offerName = offerName;
return this;
}
Get the ValueInMbps.
Returns: the valueInMbps value
/**
* Get the ValueInMbps.
*
* @return the valueInMbps value
*/
public Integer valueInMbps() {
return this.valueInMbps;
}
Set the ValueInMbps.
Params: - valueInMbps – the valueInMbps value to set
Returns: the ExpressRouteServiceProviderBandwidthsOffered object itself.
/**
* Set the ValueInMbps.
*
* @param valueInMbps the valueInMbps value to set
* @return the ExpressRouteServiceProviderBandwidthsOffered object itself.
*/
public ExpressRouteServiceProviderBandwidthsOffered withValueInMbps(Integer valueInMbps) {
this.valueInMbps = valueInMbps;
return this;
}
}