Class NextHopResultInner
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.NextHopResultInner
-
public final class NextHopResultInner extends Object
The information about next hop from the specified VM.
-
-
Constructor Summary
Constructors Constructor Description NextHopResultInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringnextHopIpAddress()Get the nextHopIpAddress property: Next hop IP Address.NextHopTypenextHopType()Get the nextHopType property: Next hop type.StringrouteTableId()Get the routeTableId property: The resource identifier for the route table associated with the route being returned.voidvalidate()Validates the instance.NextHopResultInnerwithNextHopIpAddress(String nextHopIpAddress)Set the nextHopIpAddress property: Next hop IP Address.NextHopResultInnerwithNextHopType(NextHopType nextHopType)Set the nextHopType property: Next hop type.NextHopResultInnerwithRouteTableId(String routeTableId)Set the routeTableId property: The resource identifier for the route table associated with the route being returned.
-
-
-
Method Detail
-
nextHopType
public NextHopType nextHopType()
Get the nextHopType property: Next hop type.- Returns:
- the nextHopType value.
-
withNextHopType
public NextHopResultInner withNextHopType(NextHopType nextHopType)
Set the nextHopType property: Next hop type.- Parameters:
nextHopType- the nextHopType value to set.- Returns:
- the NextHopResultInner object itself.
-
nextHopIpAddress
public String nextHopIpAddress()
Get the nextHopIpAddress property: Next hop IP Address.- Returns:
- the nextHopIpAddress value.
-
withNextHopIpAddress
public NextHopResultInner withNextHopIpAddress(String nextHopIpAddress)
Set the nextHopIpAddress property: Next hop IP Address.- Parameters:
nextHopIpAddress- the nextHopIpAddress value to set.- Returns:
- the NextHopResultInner object itself.
-
routeTableId
public String routeTableId()
Get the routeTableId property: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'.- Returns:
- the routeTableId value.
-
withRouteTableId
public NextHopResultInner withRouteTableId(String routeTableId)
Set the routeTableId property: The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'.- Parameters:
routeTableId- the routeTableId value to set.- Returns:
- the NextHopResultInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-