ConnectivityHop Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ConnectivityHop

Implements

public final class ConnectivityHop
implements JsonSerializable<ConnectivityHop>

Information about a hop between the source and the destination.

Constructor Summary

Constructor Description
ConnectivityHop()

Creates an instance of ConnectivityHop class.

Method Summary

Modifier and Type Method and Description
String address()

Get the address property: The IP address of the hop.

static ConnectivityHop fromJson(JsonReader jsonReader)

Reads an instance of ConnectivityHop from the JsonReader.

String id()

Get the id property: The ID of the hop.

List<ConnectivityIssue> issues()

Get the issues property: List of issues.

List<HopLink> links()

Get the links property: List of hop links.

List<String> nextHopIds()

Get the nextHopIds property: List of next hop identifiers.

List<String> previousHopIds()

Get the previousHopIds property: List of previous hop identifiers.

List<HopLink> previousLinks()

Get the previousLinks property: List of previous hop links.

String resourceId()

Get the resourceId property: The ID of the resource corresponding to this hop.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the hop.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ConnectivityHop

public ConnectivityHop()

Creates an instance of ConnectivityHop class.

Method Details

address

public String address()

Get the address property: The IP address of the hop.

Returns:

the address value.

fromJson

public static ConnectivityHop fromJson(JsonReader jsonReader)

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.

id

public String id()

Get the id property: The ID of the hop.

Returns:

the id value.

issues

public List issues()

Get the issues property: List of issues.

Returns:

the issues value.

links

public List links()

Get the links property: List of hop links.

Returns:

the links value.

nextHopIds

public List nextHopIds()

Get the nextHopIds property: List of next hop identifiers.

Returns:

the nextHopIds value.

previousHopIds

public List previousHopIds()

Get the previousHopIds property: List of previous hop identifiers.

Returns:

the previousHopIds value.

previousLinks

public List previousLinks()

Get the previousLinks property: List of previous hop links.

Returns:

the previousLinks value.

resourceId

public String resourceId()

Get the resourceId property: The ID of the resource corresponding to this hop.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the hop.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to