Class ConnectivityHop
java.lang.Object
com.azure.resourcemanager.network.models.ConnectivityHop
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ConnectivityHop>
public final class ConnectivityHop
extends Object
implements com.azure.json.JsonSerializable<ConnectivityHop>
Information about a hop between the source and the destination.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddress()Get the address property: The IP address of the hop.static ConnectivityHopfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ConnectivityHop from the JsonReader.id()Get the id property: The ID of the hop.issues()Get the issues property: List of issues.links()Get the links property: List of hop links.Get the nextHopIds property: List of next hop identifiers.Get the previousHopIds property: List of previous hop identifiers.Get the previousLinks property: List of previous hop links.Get the resourceId property: The ID of the resource corresponding to this hop.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the hop.voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ConnectivityHop
public ConnectivityHop()Creates an instance of ConnectivityHop class.
-
-
Method Details
-
type
Get the type property: The type of the hop.- Returns:
- the type value.
-
id
Get the id property: The ID of the hop.- Returns:
- the id value.
-
address
Get the address property: The IP address of the hop.- Returns:
- the address value.
-
resourceId
Get the resourceId property: The ID of the resource corresponding to this hop.- Returns:
- the resourceId value.
-
nextHopIds
Get the nextHopIds property: List of next hop identifiers.- Returns:
- the nextHopIds value.
-
previousHopIds
Get the previousHopIds property: List of previous hop identifiers.- Returns:
- the previousHopIds value.
-
links
Get the links property: List of hop links.- Returns:
- the links value.
-
previousLinks
Get the previousLinks property: List of previous hop links.- Returns:
- the previousLinks value.
-
issues
Get the issues property: List of issues.- Returns:
- the issues value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ConnectivityHop>- Throws:
IOException
-
fromJson
Reads an instance of ConnectivityHop from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ConnectivityHop if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ConnectivityHop.
-