Class ExpressRouteServiceProviderInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.network.fluent.models.ExpressRouteServiceProviderInner
-
public final class ExpressRouteServiceProviderInner extends com.azure.core.management.ResourceA ExpressRouteResourceProvider object.
-
-
Constructor Summary
Constructors Constructor Description ExpressRouteServiceProviderInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ExpressRouteServiceProviderBandwidthsOffered>bandwidthsOffered()Get the bandwidthsOffered property: A list of bandwidths offered.Stringid()Get the id property: Resource ID.List<String>peeringLocations()Get the peeringLocations property: A list of peering locations.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the express route service provider resource.voidvalidate()Validates the instance.ExpressRouteServiceProviderInnerwithBandwidthsOffered(List<ExpressRouteServiceProviderBandwidthsOffered> bandwidthsOffered)Set the bandwidthsOffered property: A list of bandwidths offered.ExpressRouteServiceProviderInnerwithId(String id)Set the id property: Resource ID.ExpressRouteServiceProviderInnerwithLocation(String location)ExpressRouteServiceProviderInnerwithPeeringLocations(List<String> peeringLocations)Set the peeringLocations property: A list of peering locations.ExpressRouteServiceProviderInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
id
public String id()
Get the id property: Resource ID.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
public ExpressRouteServiceProviderInner withId(String id)
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the ExpressRouteServiceProviderInner object itself.
-
withLocation
public ExpressRouteServiceProviderInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public ExpressRouteServiceProviderInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
peeringLocations
public List<String> peeringLocations()
Get the peeringLocations property: A list of peering locations.- Returns:
- the peeringLocations value.
-
withPeeringLocations
public ExpressRouteServiceProviderInner withPeeringLocations(List<String> peeringLocations)
Set the peeringLocations property: A list of peering locations.- Parameters:
peeringLocations- the peeringLocations value to set.- Returns:
- the ExpressRouteServiceProviderInner object itself.
-
bandwidthsOffered
public List<ExpressRouteServiceProviderBandwidthsOffered> bandwidthsOffered()
Get the bandwidthsOffered property: A list of bandwidths offered.- Returns:
- the bandwidthsOffered value.
-
withBandwidthsOffered
public ExpressRouteServiceProviderInner withBandwidthsOffered(List<ExpressRouteServiceProviderBandwidthsOffered> bandwidthsOffered)
Set the bandwidthsOffered property: A list of bandwidths offered.- Parameters:
bandwidthsOffered- the bandwidthsOffered value to set.- Returns:
- the ExpressRouteServiceProviderInner object itself.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the express route service provider resource.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-