ExpressRouteCircuitRoutesTable Class

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

Implements

public final class ExpressRouteCircuitRoutesTable
implements JsonSerializable<ExpressRouteCircuitRoutesTable>

The routes table associated with the ExpressRouteCircuit.

Constructor Summary

Constructor Description
ExpressRouteCircuitRoutesTable()

Creates an instance of ExpressRouteCircuitRoutesTable class.

Method Summary

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

Reads an instance of ExpressRouteCircuitRoutesTable from the JsonReader.

String locPrf()

Get the locPrf property: Local preference value as set with the set local-preference route-map configuration command.

String network()

Get the network property: IP address of a network entity.

String nextHop()

Get the nextHop property: NextHop address.

String path()

Get the path property: Autonomous system paths to the destination network.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Integer weight()

Get the weight property: Route Weight.

ExpressRouteCircuitRoutesTable withLocPrf(String locPrf)

Set the locPrf property: Local preference value as set with the set local-preference route-map configuration command.

ExpressRouteCircuitRoutesTable withNetwork(String network)

Set the network property: IP address of a network entity.

ExpressRouteCircuitRoutesTable withNextHop(String nextHop)

Set the nextHop property: NextHop address.

ExpressRouteCircuitRoutesTable withPath(String path)

Set the path property: Autonomous system paths to the destination network.

ExpressRouteCircuitRoutesTable withWeight(Integer weight)

Set the weight property: Route Weight.

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteCircuitRoutesTable

public ExpressRouteCircuitRoutesTable()

Creates an instance of ExpressRouteCircuitRoutesTable class.

Method Details

fromJson

public static ExpressRouteCircuitRoutesTable fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteCircuitRoutesTable from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExpressRouteCircuitRoutesTable 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 ExpressRouteCircuitRoutesTable.

locPrf

public String locPrf()

Get the locPrf property: Local preference value as set with the set local-preference route-map configuration command.

Returns:

the locPrf value.

network

public String network()

Get the network property: IP address of a network entity.

Returns:

the network value.

nextHop

public String nextHop()

Get the nextHop property: NextHop address.

Returns:

the nextHop value.

path

public String path()

Get the path property: Autonomous system paths to the destination network.

Returns:

the path value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

weight

public Integer weight()

Get the weight property: Route Weight.

Returns:

the weight value.

withLocPrf

public ExpressRouteCircuitRoutesTable withLocPrf(String locPrf)

Set the locPrf property: Local preference value as set with the set local-preference route-map configuration command.

Parameters:

locPrf - the locPrf value to set.

Returns:

the ExpressRouteCircuitRoutesTable object itself.

withNetwork

public ExpressRouteCircuitRoutesTable withNetwork(String network)

Set the network property: IP address of a network entity.

Parameters:

network - the network value to set.

Returns:

the ExpressRouteCircuitRoutesTable object itself.

withNextHop

public ExpressRouteCircuitRoutesTable withNextHop(String nextHop)

Set the nextHop property: NextHop address.

Parameters:

nextHop - the nextHop value to set.

Returns:

the ExpressRouteCircuitRoutesTable object itself.

withPath

public ExpressRouteCircuitRoutesTable withPath(String path)

Set the path property: Autonomous system paths to the destination network.

Parameters:

path - the path value to set.

Returns:

the ExpressRouteCircuitRoutesTable object itself.

withWeight

public ExpressRouteCircuitRoutesTable withWeight(Integer weight)

Set the weight property: Route Weight.

Parameters:

weight - the weight value to set.

Returns:

the ExpressRouteCircuitRoutesTable object itself.

Applies to