Class ExpressRouteServiceProviderBandwidthsOffered

java.lang.Object
com.azure.resourcemanager.network.models.ExpressRouteServiceProviderBandwidthsOffered

public final class ExpressRouteServiceProviderBandwidthsOffered extends Object
Contains bandwidths offered in ExpressRouteServiceProvider resources.
  • Constructor Details

    • ExpressRouteServiceProviderBandwidthsOffered

      public ExpressRouteServiceProviderBandwidthsOffered()
      Creates an instance of ExpressRouteServiceProviderBandwidthsOffered class.
  • Method Details

    • 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.