Class ExpressRouteCircuitPeeringConfig
- java.lang.Object
-
- com.microsoft.azure.management.network.ExpressRouteCircuitPeeringConfig
-
public class ExpressRouteCircuitPeeringConfig extends Object
Specifies the peering configuration.
-
-
Constructor Summary
Constructors Constructor Description ExpressRouteCircuitPeeringConfig()
-
Method Summary
-
-
-
Method Detail
-
advertisedPublicPrefixes
public List<String> advertisedPublicPrefixes()
Get the advertisedPublicPrefixes value.- Returns:
- the advertisedPublicPrefixes value
-
withAdvertisedPublicPrefixes
public ExpressRouteCircuitPeeringConfig withAdvertisedPublicPrefixes(List<String> advertisedPublicPrefixes)
Set the advertisedPublicPrefixes value.- Parameters:
advertisedPublicPrefixes- the advertisedPublicPrefixes value to set- Returns:
- the ExpressRouteCircuitPeeringConfig object itself.
-
advertisedCommunities
public List<String> advertisedCommunities()
Get the advertisedCommunities value.- Returns:
- the advertisedCommunities value
-
withAdvertisedCommunities
public ExpressRouteCircuitPeeringConfig withAdvertisedCommunities(List<String> advertisedCommunities)
Set the advertisedCommunities value.- Parameters:
advertisedCommunities- the advertisedCommunities value to set- Returns:
- the ExpressRouteCircuitPeeringConfig object itself.
-
advertisedPublicPrefixesState
public ExpressRouteCircuitPeeringAdvertisedPublicPrefixState advertisedPublicPrefixesState()
Get the advertisedPublicPrefixesState value.- Returns:
- the advertisedPublicPrefixesState value
-
withAdvertisedPublicPrefixesState
public ExpressRouteCircuitPeeringConfig withAdvertisedPublicPrefixesState(ExpressRouteCircuitPeeringAdvertisedPublicPrefixState advertisedPublicPrefixesState)
Set the advertisedPublicPrefixesState value.- Parameters:
advertisedPublicPrefixesState- the advertisedPublicPrefixesState value to set- Returns:
- the ExpressRouteCircuitPeeringConfig object itself.
-
legacyMode
public Integer legacyMode()
Get the legacyMode value.- Returns:
- the legacyMode value
-
withLegacyMode
public ExpressRouteCircuitPeeringConfig withLegacyMode(Integer legacyMode)
Set the legacyMode value.- Parameters:
legacyMode- the legacyMode value to set- Returns:
- the ExpressRouteCircuitPeeringConfig object itself.
-
customerASN
public Integer customerASN()
Get the customerASN value.- Returns:
- the customerASN value
-
withCustomerASN
public ExpressRouteCircuitPeeringConfig withCustomerASN(Integer customerASN)
Set the customerASN value.- Parameters:
customerASN- the customerASN value to set- Returns:
- the ExpressRouteCircuitPeeringConfig object itself.
-
routingRegistryName
public String routingRegistryName()
Get the routingRegistryName value.- Returns:
- the routingRegistryName value
-
withRoutingRegistryName
public ExpressRouteCircuitPeeringConfig withRoutingRegistryName(String routingRegistryName)
Set the routingRegistryName value.- Parameters:
routingRegistryName- the routingRegistryName value to set- Returns:
- the ExpressRouteCircuitPeeringConfig object itself.
-
-