ExpressRouteLinkFailoverRoute Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ExpressRouteLinkFailoverRoute

Implements

public final class ExpressRouteLinkFailoverRoute
implements JsonSerializable<ExpressRouteLinkFailoverRoute>

Represents a failover route for an ExpressRoute link.

Method Summary

Modifier and Type Method and Description
static ExpressRouteLinkFailoverRoute fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteLinkFailoverRoute from the JsonReader.

String nextHop()

Get the nextHop property: The next hop.

String primaryASPath()

Get the primaryASPath property: The AS path for primary link.

String route()

Get the route property: The route.

String secondaryASPath()

Get the secondaryASPath property: The AS path for secondary link.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static ExpressRouteLinkFailoverRoute fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteLinkFailoverRoute from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRouteLinkFailoverRoute if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ExpressRouteLinkFailoverRoute.

nextHop

public String nextHop()

Get the nextHop property: The next hop.

Returns:

the nextHop value.

primaryASPath

public String primaryASPath()

Get the primaryASPath property: The AS path for primary link.

Returns:

the primaryASPath value.

route

public String route()

Get the route property: The route.

Returns:

the route value.

secondaryASPath

public String secondaryASPath()

Get the secondaryASPath property: The AS path for secondary link.

Returns:

the secondaryASPath value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to