Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.network; import com.fasterxml.jackson.annotation.JsonProperty;
Contains ServiceProviderProperties in an ExpressRouteCircuit.
/** * Contains ServiceProviderProperties in an ExpressRouteCircuit. */
public class ExpressRouteCircuitServiceProviderProperties {
The serviceProviderName.
/** * The serviceProviderName. */
@JsonProperty(value = "serviceProviderName") private String serviceProviderName;
The peering location.
/** * The peering location. */
@JsonProperty(value = "peeringLocation") private String peeringLocation;
The BandwidthInMbps.
/** * The BandwidthInMbps. */
@JsonProperty(value = "bandwidthInMbps") private Integer bandwidthInMbps;
Get the serviceProviderName.
Returns:the serviceProviderName value
/** * Get the serviceProviderName. * * @return the serviceProviderName value */
public String serviceProviderName() { return this.serviceProviderName; }
Set the serviceProviderName.
Params:
  • serviceProviderName – the serviceProviderName value to set
Returns:the ExpressRouteCircuitServiceProviderProperties object itself.
/** * Set the serviceProviderName. * * @param serviceProviderName the serviceProviderName value to set * @return the ExpressRouteCircuitServiceProviderProperties object itself. */
public ExpressRouteCircuitServiceProviderProperties withServiceProviderName(String serviceProviderName) { this.serviceProviderName = serviceProviderName; return this; }
Get the peering location.
Returns:the peeringLocation value
/** * Get the peering location. * * @return the peeringLocation value */
public String peeringLocation() { return this.peeringLocation; }
Set the peering location.
Params:
  • peeringLocation – the peeringLocation value to set
Returns:the ExpressRouteCircuitServiceProviderProperties object itself.
/** * Set the peering location. * * @param peeringLocation the peeringLocation value to set * @return the ExpressRouteCircuitServiceProviderProperties object itself. */
public ExpressRouteCircuitServiceProviderProperties withPeeringLocation(String peeringLocation) { this.peeringLocation = peeringLocation; return this; }
Get the BandwidthInMbps.
Returns:the bandwidthInMbps value
/** * Get the BandwidthInMbps. * * @return the bandwidthInMbps value */
public Integer bandwidthInMbps() { return this.bandwidthInMbps; }
Set the BandwidthInMbps.
Params:
  • bandwidthInMbps – the bandwidthInMbps value to set
Returns:the ExpressRouteCircuitServiceProviderProperties object itself.
/** * Set the BandwidthInMbps. * * @param bandwidthInMbps the bandwidthInMbps value to set * @return the ExpressRouteCircuitServiceProviderProperties object itself. */
public ExpressRouteCircuitServiceProviderProperties withBandwidthInMbps(Integer bandwidthInMbps) { this.bandwidthInMbps = bandwidthInMbps; return this; } }