ConnectivityIssue Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ConnectivityIssue
- com.
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 Connectivity |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Map<String,String>> |
context()
Get the context property: Provides additional context on the issue. |
static
Connectivity |
fromJson(JsonReader jsonReader)
Reads an instance of Connectivity |
Origin |
origin()
Get the origin property: The origin of the issue. |
Severity |
severity()
Get the severity property: The severity of the issue. |
Json |
toJson(JsonWriter jsonWriter) |
Issue |
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
Get the context property: Provides additional context on the issue.
Returns:
fromJson
public static ConnectivityIssue fromJson(JsonReader jsonReader)
Reads an instance of ConnectivityIssue from the JsonReader.
Parameters:
Returns:
Throws:
origin
public Origin origin()
Get the origin property: The origin of the issue.
Returns:
severity
public Severity severity()
Get the severity property: The severity of the issue.
Returns:
toJson
type
public IssueType type()
Get the type property: The type of issue.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java