Class ExpressRouteServiceProviderBandwidthsOffered
- java.lang.Object
-
- com.azure.resourcemanager.network.models.ExpressRouteServiceProviderBandwidthsOffered
-
public final class ExpressRouteServiceProviderBandwidthsOffered extends Object
Contains bandwidths offered in ExpressRouteServiceProvider resources.
-
-
Constructor Summary
Constructors Constructor Description ExpressRouteServiceProviderBandwidthsOffered()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringofferName()Get the offerName property: The OfferName.voidvalidate()Validates the instance.IntegervalueInMbps()Get the valueInMbps property: The ValueInMbps.ExpressRouteServiceProviderBandwidthsOfferedwithOfferName(String offerName)Set the offerName property: The OfferName.ExpressRouteServiceProviderBandwidthsOfferedwithValueInMbps(Integer valueInMbps)Set the valueInMbps property: The ValueInMbps.
-
-
-
Method Detail
-
offerName
public String offerName()
Get the offerName property: The OfferName.- Returns:
- the offerName value.
-
withOfferName
public ExpressRouteServiceProviderBandwidthsOffered withOfferName(String offerName)
Set the offerName property: The OfferName.- Parameters:
offerName- the offerName value to set.- Returns:
- the ExpressRouteServiceProviderBandwidthsOffered object itself.
-
valueInMbps
public Integer valueInMbps()
Get the valueInMbps property: The ValueInMbps.- Returns:
- the valueInMbps value.
-
withValueInMbps
public ExpressRouteServiceProviderBandwidthsOffered withValueInMbps(Integer valueInMbps)
Set the valueInMbps property: The ValueInMbps.- Parameters:
valueInMbps- the valueInMbps value to set.- Returns:
- the ExpressRouteServiceProviderBandwidthsOffered object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-