Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.network; import com.fasterxml.jackson.annotation.JsonProperty;
The routes table associated with the ExpressRouteCircuit.
/** * The routes table associated with the ExpressRouteCircuit. */
public class ExpressRouteCircuitRoutesTable {
IP address of a network entity.
/** * IP address of a network entity. */
@JsonProperty(value = "network") private String network;
NextHop address.
/** * NextHop address. */
@JsonProperty(value = "nextHop") private String nextHop;
Local preference value as set with the set local-preference route-map configuration command.
/** * Local preference value as set with the set local-preference route-map * configuration command. */
@JsonProperty(value = "locPrf") private String locPrf;
Route Weight.
/** * Route Weight. */
@JsonProperty(value = "weight") private Integer weight;
Autonomous system paths to the destination network.
/** * Autonomous system paths to the destination network. */
@JsonProperty(value = "path") private String path;
Get iP address of a network entity.
Returns:the network value
/** * Get iP address of a network entity. * * @return the network value */
public String network() { return this.network; }
Set iP address of a network entity.
Params:
  • network – the network value to set
Returns:the ExpressRouteCircuitRoutesTable object itself.
/** * Set iP address of a network entity. * * @param network the network value to set * @return the ExpressRouteCircuitRoutesTable object itself. */
public ExpressRouteCircuitRoutesTable withNetwork(String network) { this.network = network; return this; }
Get nextHop address.
Returns:the nextHop value
/** * Get nextHop address. * * @return the nextHop value */
public String nextHop() { return this.nextHop; }
Set nextHop address.
Params:
  • nextHop – the nextHop value to set
Returns:the ExpressRouteCircuitRoutesTable object itself.
/** * Set nextHop address. * * @param nextHop the nextHop value to set * @return the ExpressRouteCircuitRoutesTable object itself. */
public ExpressRouteCircuitRoutesTable withNextHop(String nextHop) { this.nextHop = nextHop; return this; }
Get local preference value as set with the set local-preference route-map configuration command.
Returns:the locPrf value
/** * Get local preference value as set with the set local-preference route-map configuration command. * * @return the locPrf value */
public String locPrf() { return this.locPrf; }
Set local preference value as set with the set local-preference route-map configuration command.
Params:
  • locPrf – the locPrf value to set
Returns:the ExpressRouteCircuitRoutesTable object itself.
/** * Set local preference value as set with the set local-preference route-map configuration command. * * @param locPrf the locPrf value to set * @return the ExpressRouteCircuitRoutesTable object itself. */
public ExpressRouteCircuitRoutesTable withLocPrf(String locPrf) { this.locPrf = locPrf; return this; }
Get route Weight.
Returns:the weight value
/** * Get route Weight. * * @return the weight value */
public Integer weight() { return this.weight; }
Set route Weight.
Params:
  • weight – the weight value to set
Returns:the ExpressRouteCircuitRoutesTable object itself.
/** * Set route Weight. * * @param weight the weight value to set * @return the ExpressRouteCircuitRoutesTable object itself. */
public ExpressRouteCircuitRoutesTable withWeight(Integer weight) { this.weight = weight; return this; }
Get autonomous system paths to the destination network.
Returns:the path value
/** * Get autonomous system paths to the destination network. * * @return the path value */
public String path() { return this.path; }
Set autonomous system paths to the destination network.
Params:
  • path – the path value to set
Returns:the ExpressRouteCircuitRoutesTable object itself.
/** * Set autonomous system paths to the destination network. * * @param path the path value to set * @return the ExpressRouteCircuitRoutesTable object itself. */
public ExpressRouteCircuitRoutesTable withPath(String path) { this.path = path; return this; } }