Class ExpressRouteServiceProviderBandwidthsOffered
java.lang.Object
com.azure.resourcemanager.network.models.ExpressRouteServiceProviderBandwidthsOffered
Contains bandwidths offered in ExpressRouteServiceProvider resources.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ExpressRouteServiceProviderBandwidthsOffered class. -
Method Summary
Modifier and TypeMethodDescriptionGet the offerName property: The OfferName.voidvalidate()Validates the instance.Get the valueInMbps property: The ValueInMbps.withOfferName(String offerName) Set the offerName property: The OfferName.withValueInMbps(Integer valueInMbps) Set the valueInMbps property: The ValueInMbps.
-
Constructor Details
-
ExpressRouteServiceProviderBandwidthsOffered
public ExpressRouteServiceProviderBandwidthsOffered()Creates an instance of ExpressRouteServiceProviderBandwidthsOffered class.
-
-
Method Details
-
offerName
Get the offerName property: The OfferName.- Returns:
- the offerName value.
-
withOfferName
Set the offerName property: The OfferName.- Parameters:
offerName- the offerName value to set.- Returns:
- the ExpressRouteServiceProviderBandwidthsOffered object itself.
-
valueInMbps
Get the valueInMbps property: The ValueInMbps.- Returns:
- the valueInMbps value.
-
withValueInMbps
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.
-