EffectiveRouteMapRoute Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. EffectiveRouteMapRoute
- com.
Implements
public final class EffectiveRouteMapRoute
implements JsonSerializable<EffectiveRouteMapRoute>
The effective RouteMap route configured on the connection resource.
Constructor Summary
Constructor | Description |
---|---|
EffectiveRouteMapRoute() |
Creates an instance of Effective |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
asPath()
Get the as |
String |
bgpCommunities()
Get the bgp |
static
Effective |
fromJson(JsonReader jsonReader)
Reads an instance of Effective |
String |
prefix()
Get the prefix property: The address prefix of the route. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Effective |
withAsPath(String asPath)
Set the as |
Effective |
withBgpCommunities(String bgpCommunities)
Set the bgp |
Effective |
withPrefix(String prefix)
Set the prefix property: The address prefix of the route. |
Methods inherited from java.lang.Object
Constructor Details
EffectiveRouteMapRoute
public EffectiveRouteMapRoute()
Creates an instance of EffectiveRouteMapRoute class.
Method Details
asPath
public String asPath()
Get the asPath property: The ASPath of this route.
Returns:
bgpCommunities
public String bgpCommunities()
Get the bgpCommunities property: BGP communities of the route.
Returns:
fromJson
public static EffectiveRouteMapRoute fromJson(JsonReader jsonReader)
Reads an instance of EffectiveRouteMapRoute from the JsonReader.
Parameters:
Returns:
Throws:
prefix
public String prefix()
Get the prefix property: The address prefix of the route.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAsPath
public EffectiveRouteMapRoute withAsPath(String asPath)
Set the asPath property: The ASPath of this route.
Parameters:
Returns:
withBgpCommunities
public EffectiveRouteMapRoute withBgpCommunities(String bgpCommunities)
Set the bgpCommunities property: BGP communities of the route.
Parameters:
Returns:
withPrefix
public EffectiveRouteMapRoute withPrefix(String prefix)
Set the prefix property: The address prefix of the route.
Parameters:
Returns:
Applies to
Azure SDK for Java