NextHopResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. NextHopResultInner
- com.
Implements
public final class NextHopResultInner
implements JsonSerializable<NextHopResultInner>
The information about next hop from the specified VM.
Constructor Summary
Constructor | Description |
---|---|
NextHopResultInner() |
Creates an instance of Next |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Next |
fromJson(JsonReader jsonReader)
Reads an instance of Next |
String |
nextHopIpAddress()
Get the next |
Next |
nextHopType()
Get the next |
String |
routeTableId()
Get the route |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Next |
withNextHopIpAddress(String nextHopIpAddress)
Set the next |
Next |
withNextHopType(NextHopType nextHopType)
Set the next |
Next |
withRouteTableId(String routeTableId)
Set the route |
Methods inherited from java.lang.Object
Constructor Details
NextHopResultInner
public NextHopResultInner()
Creates an instance of NextHopResultInner class.
Method Details
fromJson
public static NextHopResultInner fromJson(JsonReader jsonReader)
Reads an instance of NextHopResultInner from the JsonReader.
Parameters:
Returns:
Throws:
nextHopIpAddress
public String nextHopIpAddress()
Get the nextHopIpAddress property: Next hop IP Address.
Returns:
nextHopType
public NextHopType nextHopType()
Get the nextHopType property: Next hop type.
Returns:
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:
toJson
validate
public void validate()
Validates the instance.
withNextHopIpAddress
public NextHopResultInner withNextHopIpAddress(String nextHopIpAddress)
Set the nextHopIpAddress property: Next hop IP Address.
Parameters:
Returns:
withNextHopType
public NextHopResultInner withNextHopType(NextHopType nextHopType)
Set the nextHopType property: Next hop type.
Parameters:
Returns:
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:
Returns:
Applies to
Azure SDK for Java