public class EffectiveRoute extends Object
| Constructor and Description |
|---|
EffectiveRoute() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
addressPrefix()
Get the address prefixes of the effective routes in CIDR notation.
|
Boolean |
disableBgpRoutePropagation()
Get if true, on-premises routes are not propagated to the network interfaces in the subnet.
|
String |
name()
Get the name of the user defined route.
|
List<String> |
nextHopIpAddress()
Get the IP address of the next hop of the effective route.
|
RouteNextHopType |
nextHopType()
Get the type of Azure hop the packet should be sent to.
|
EffectiveRouteSource |
source()
Get who created the route.
|
EffectiveRouteState |
state()
Get the value of effective route.
|
EffectiveRoute |
withAddressPrefix(List<String> addressPrefix)
Set the address prefixes of the effective routes in CIDR notation.
|
EffectiveRoute |
withDisableBgpRoutePropagation(Boolean disableBgpRoutePropagation)
Set if true, on-premises routes are not propagated to the network interfaces in the subnet.
|
EffectiveRoute |
withName(String name)
Set the name of the user defined route.
|
EffectiveRoute |
withNextHopIpAddress(List<String> nextHopIpAddress)
Set the IP address of the next hop of the effective route.
|
EffectiveRoute |
withNextHopType(RouteNextHopType nextHopType)
Set the type of Azure hop the packet should be sent to.
|
EffectiveRoute |
withSource(EffectiveRouteSource source)
Set who created the route.
|
EffectiveRoute |
withState(EffectiveRouteState state)
Set the value of effective route.
|
public String name()
public EffectiveRoute withName(String name)
name - the name value to setpublic Boolean disableBgpRoutePropagation()
public EffectiveRoute withDisableBgpRoutePropagation(Boolean disableBgpRoutePropagation)
disableBgpRoutePropagation - the disableBgpRoutePropagation value to setpublic EffectiveRouteSource source()
public EffectiveRoute withSource(EffectiveRouteSource source)
source - the source value to setpublic EffectiveRouteState state()
public EffectiveRoute withState(EffectiveRouteState state)
state - the state value to setpublic List<String> addressPrefix()
public EffectiveRoute withAddressPrefix(List<String> addressPrefix)
addressPrefix - the addressPrefix value to setpublic List<String> nextHopIpAddress()
public EffectiveRoute withNextHopIpAddress(List<String> nextHopIpAddress)
nextHopIpAddress - the nextHopIpAddress value to setpublic RouteNextHopType nextHopType()
public EffectiveRoute withNextHopType(RouteNextHopType nextHopType)
nextHopType - the nextHopType value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/