Class ExpressRouteServiceProviderBandwidthsOffered


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

      • ExpressRouteServiceProviderBandwidthsOffered

        public ExpressRouteServiceProviderBandwidthsOffered()
    • 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.