Class EffectiveRouteMapRoute
java.lang.Object
com.azure.resourcemanager.network.models.EffectiveRouteMapRoute
The effective RouteMap route configured on the connection resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of EffectiveRouteMapRoute class. -
Method Summary
Modifier and TypeMethodDescriptionasPath()Get the asPath property: The ASPath of this route.Get the bgpCommunities property: BGP communities of the route.prefix()Get the prefix property: The address prefix of the route.voidvalidate()Validates the instance.withAsPath(String asPath) Set the asPath property: The ASPath of this route.withBgpCommunities(String bgpCommunities) Set the bgpCommunities property: BGP communities of the route.withPrefix(String prefix) Set the prefix property: The address prefix of the route.
-
Constructor Details
-
EffectiveRouteMapRoute
public EffectiveRouteMapRoute()Creates an instance of EffectiveRouteMapRoute class.
-
-
Method Details
-
prefix
Get the prefix property: The address prefix of the route.- Returns:
- the prefix value.
-
withPrefix
Set the prefix property: The address prefix of the route.- Parameters:
prefix- the prefix value to set.- Returns:
- the EffectiveRouteMapRoute object itself.
-
bgpCommunities
Get the bgpCommunities property: BGP communities of the route.- Returns:
- the bgpCommunities value.
-
withBgpCommunities
Set the bgpCommunities property: BGP communities of the route.- Parameters:
bgpCommunities- the bgpCommunities value to set.- Returns:
- the EffectiveRouteMapRoute object itself.
-
asPath
Get the asPath property: The ASPath of this route.- Returns:
- the asPath value.
-
withAsPath
Set the asPath property: The ASPath of this route.- Parameters:
asPath- the asPath value to set.- Returns:
- the EffectiveRouteMapRoute object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-