ConnectivityIssue Class

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

Implements

public final class ConnectivityIssue
implements JsonSerializable<ConnectivityIssue>

Information about an issue encountered in the process of checking for connectivity.

Constructor Summary

Constructor Description
ConnectivityIssue()

Creates an instance of ConnectivityIssue class.

Method Summary

Modifier and Type Method and Description
List<Map<String,String>> context()

Get the context property: Provides additional context on the issue.

static ConnectivityIssue fromJson(JsonReader jsonReader)

Reads an instance of ConnectivityIssue from the JsonReader.

Origin origin()

Get the origin property: The origin of the issue.

Severity severity()

Get the severity property: The severity of the issue.

JsonWriter toJson(JsonWriter jsonWriter)
IssueType type()

Get the type property: The type of issue.

void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ConnectivityIssue

public ConnectivityIssue()

Creates an instance of ConnectivityIssue class.

Method Details

context

public List> context()

Get the context property: Provides additional context on the issue.

Returns:

the context value.

fromJson

public static ConnectivityIssue fromJson(JsonReader jsonReader)

Reads an instance of ConnectivityIssue from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConnectivityIssue 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 ConnectivityIssue.

origin

public Origin origin()

Get the origin property: The origin of the issue.

Returns:

the origin value.

severity

public Severity severity()

Get the severity property: The severity of the issue.

Returns:

the severity value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public IssueType type()

Get the type property: The type of issue.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to