ExpressRouteServiceProviderBandwidthsOffered Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ExpressRouteServiceProviderBandwidthsOffered
- com.
Implements
public final class ExpressRouteServiceProviderBandwidthsOffered
implements JsonSerializable<ExpressRouteServiceProviderBandwidthsOffered>
Contains bandwidths offered in ExpressRouteServiceProvider resources.
Constructor Summary
Constructor | Description |
---|---|
ExpressRouteServiceProviderBandwidthsOffered() |
Creates an instance of Express |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Express |
fromJson(JsonReader jsonReader)
Reads an instance of Express |
String |
offerName()
Get the offer |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Integer |
valueInMbps()
Get the value |
Express |
withOfferName(String offerName)
Set the offer |
Express |
withValueInMbps(Integer valueInMbps)
Set the value |
Methods inherited from java.lang.Object
Constructor Details
ExpressRouteServiceProviderBandwidthsOffered
public ExpressRouteServiceProviderBandwidthsOffered()
Creates an instance of ExpressRouteServiceProviderBandwidthsOffered class.
Method Details
fromJson
public static ExpressRouteServiceProviderBandwidthsOffered fromJson(JsonReader jsonReader)
Reads an instance of ExpressRouteServiceProviderBandwidthsOffered from the JsonReader.
Parameters:
Returns:
Throws:
offerName
public String offerName()
Get the offerName property: The OfferName.
Returns:
toJson
validate
public void validate()
Validates the instance.
valueInMbps
public Integer valueInMbps()
Get the valueInMbps property: The ValueInMbps.
Returns:
withOfferName
public ExpressRouteServiceProviderBandwidthsOffered withOfferName(String offerName)
Set the offerName property: The OfferName.
Parameters:
Returns:
withValueInMbps
public ExpressRouteServiceProviderBandwidthsOffered withValueInMbps(Integer valueInMbps)
Set the valueInMbps property: The ValueInMbps.
Parameters:
Returns:
Applies to
Azure SDK for Java