public final class EffectiveRoute extends Object
| Constructor and Description |
|---|
EffectiveRoute() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
addressPrefix()
Get the addressPrefix property: The address prefixes of the effective routes in CIDR notation.
|
Boolean |
disableBgpRoutePropagation()
Get the disableBgpRoutePropagation property: If true, on-premises routes are not propagated to the network
interfaces in the subnet.
|
String |
name()
Get the name property: The name of the user defined route.
|
List<String> |
nextHopIpAddress()
Get the nextHopIpAddress property: The IP address of the next hop of the effective route.
|
RouteNextHopType |
nextHopType()
Get the nextHopType property: The type of Azure hop the packet should be sent to.
|
EffectiveRouteSource |
source()
Get the source property: Who created the route.
|
EffectiveRouteState |
state()
Get the state property: The value of effective route.
|
void |
validate()
Validates the instance.
|
EffectiveRoute |
withAddressPrefix(List<String> addressPrefix)
Set the addressPrefix property: The address prefixes of the effective routes in CIDR notation.
|
EffectiveRoute |
withDisableBgpRoutePropagation(Boolean disableBgpRoutePropagation)
Set the disableBgpRoutePropagation property: If true, on-premises routes are not propagated to the network
interfaces in the subnet.
|
EffectiveRoute |
withName(String name)
Set the name property: The name of the user defined route.
|
EffectiveRoute |
withNextHopIpAddress(List<String> nextHopIpAddress)
Set the nextHopIpAddress property: The IP address of the next hop of the effective route.
|
EffectiveRoute |
withNextHopType(RouteNextHopType nextHopType)
Set the nextHopType property: The type of Azure hop the packet should be sent to.
|
EffectiveRoute |
withSource(EffectiveRouteSource source)
Set the source property: Who created the route.
|
EffectiveRoute |
withState(EffectiveRouteState state)
Set the state property: The value of effective route.
|
public String name()
public EffectiveRoute withName(String name)
name - the name value to set.public Boolean disableBgpRoutePropagation()
public EffectiveRoute withDisableBgpRoutePropagation(Boolean disableBgpRoutePropagation)
disableBgpRoutePropagation - the disableBgpRoutePropagation value to set.public EffectiveRouteSource source()
public EffectiveRoute withSource(EffectiveRouteSource source)
source - the source value to set.public EffectiveRouteState state()
public EffectiveRoute withState(EffectiveRouteState state)
state - the state value to set.public List<String> addressPrefix()
public EffectiveRoute withAddressPrefix(List<String> addressPrefix)
addressPrefix - the addressPrefix value to set.public List<String> nextHopIpAddress()
public EffectiveRoute withNextHopIpAddress(List<String> nextHopIpAddress)
nextHopIpAddress - the nextHopIpAddress value to set.public RouteNextHopType nextHopType()
public EffectiveRoute withNextHopType(RouteNextHopType nextHopType)
nextHopType - the nextHopType value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.