ExpressRouteCircuitPeeringConfig Class

  • java.lang.Object
    • com.microsoft.azure.management.network.ExpressRouteCircuitPeeringConfig

public class ExpressRouteCircuitPeeringConfig

Specifies the peering configuration.

Method Summary

Modifier and Type Method and Description
List<String> advertisedCommunities()

Get the advertisedCommunities value.

List<String> advertisedPublicPrefixes()

Get the advertisedPublicPrefixes value.

ExpressRouteCircuitPeeringAdvertisedPublicPrefixState advertisedPublicPrefixesState()

Get the advertisedPublicPrefixesState value.

Integer customerASN()

Get the customerASN value.

Integer legacyMode()

Get the legacyMode value.

String routingRegistryName()

Get the routingRegistryName value.

ExpressRouteCircuitPeeringConfig withAdvertisedCommunities(List<String> advertisedCommunities)

Set the advertisedCommunities value.

ExpressRouteCircuitPeeringConfig withAdvertisedPublicPrefixes(List<String> advertisedPublicPrefixes)

Set the advertisedPublicPrefixes value.

ExpressRouteCircuitPeeringConfig withAdvertisedPublicPrefixesState(ExpressRouteCircuitPeeringAdvertisedPublicPrefixState advertisedPublicPrefixesState)

Set the advertisedPublicPrefixesState value.

ExpressRouteCircuitPeeringConfig withCustomerASN(Integer customerASN)

Set the customerASN value.

ExpressRouteCircuitPeeringConfig withLegacyMode(Integer legacyMode)

Set the legacyMode value.

ExpressRouteCircuitPeeringConfig withRoutingRegistryName(String routingRegistryName)

Set the routingRegistryName value.

Method Details

advertisedCommunities

public List advertisedCommunities()

Get the advertisedCommunities value.

Returns:

the advertisedCommunities value

advertisedPublicPrefixes

public List advertisedPublicPrefixes()

Get the advertisedPublicPrefixes value.

Returns:

the advertisedPublicPrefixes value

advertisedPublicPrefixesState

public ExpressRouteCircuitPeeringAdvertisedPublicPrefixState advertisedPublicPrefixesState()

Get the advertisedPublicPrefixesState value.

Returns:

the advertisedPublicPrefixesState value

customerASN

public Integer customerASN()

Get the customerASN value.

Returns:

the customerASN value

legacyMode

public Integer legacyMode()

Get the legacyMode value.

Returns:

the legacyMode value

routingRegistryName

public String routingRegistryName()

Get the routingRegistryName value.

Returns:

the routingRegistryName value

withAdvertisedCommunities

public ExpressRouteCircuitPeeringConfig withAdvertisedCommunities(List advertisedCommunities)

Set the advertisedCommunities value.

Parameters:

advertisedCommunities - the advertisedCommunities value to set

Returns:

the ExpressRouteCircuitPeeringConfig object itself.

withAdvertisedPublicPrefixes

public ExpressRouteCircuitPeeringConfig withAdvertisedPublicPrefixes(List advertisedPublicPrefixes)

Set the advertisedPublicPrefixes value.

Parameters:

advertisedPublicPrefixes - the advertisedPublicPrefixes value to set

Returns:

the ExpressRouteCircuitPeeringConfig object itself.

withAdvertisedPublicPrefixesState

public ExpressRouteCircuitPeeringConfig withAdvertisedPublicPrefixesState(ExpressRouteCircuitPeeringAdvertisedPublicPrefixState advertisedPublicPrefixesState)

Set the advertisedPublicPrefixesState value.

Parameters:

advertisedPublicPrefixesState - the advertisedPublicPrefixesState value to set

Returns:

the ExpressRouteCircuitPeeringConfig object itself.

withCustomerASN

public ExpressRouteCircuitPeeringConfig withCustomerASN(Integer customerASN)

Set the customerASN value.

Parameters:

customerASN - the customerASN value to set

Returns:

the ExpressRouteCircuitPeeringConfig object itself.

withLegacyMode

public ExpressRouteCircuitPeeringConfig withLegacyMode(Integer legacyMode)

Set the legacyMode value.

Parameters:

legacyMode - the legacyMode value to set

Returns:

the ExpressRouteCircuitPeeringConfig object itself.

withRoutingRegistryName

public ExpressRouteCircuitPeeringConfig withRoutingRegistryName(String routingRegistryName)

Set the routingRegistryName value.

Parameters:

routingRegistryName - the routingRegistryName value to set

Returns:

the ExpressRouteCircuitPeeringConfig object itself.

Applies to