NetworkConfigurationDiagnosticResult Class

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

Implements

public final class NetworkConfigurationDiagnosticResult
implements JsonSerializable<NetworkConfigurationDiagnosticResult>

Network configuration diagnostic result corresponded to provided traffic query.

Constructor Summary

Constructor Description
NetworkConfigurationDiagnosticResult()

Creates an instance of NetworkConfigurationDiagnosticResult class.

Method Summary

Modifier and Type Method and Description
static NetworkConfigurationDiagnosticResult fromJson(JsonReader jsonReader)

Reads an instance of NetworkConfigurationDiagnosticResult from the JsonReader.

NetworkSecurityGroupResult networkSecurityGroupResult()

Get the networkSecurityGroupResult property: Network security group result.

NetworkConfigurationDiagnosticProfile profile()

Get the profile property: Network configuration diagnostic profile.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NetworkConfigurationDiagnosticResult withNetworkSecurityGroupResult(NetworkSecurityGroupResult networkSecurityGroupResult)

Set the networkSecurityGroupResult property: Network security group result.

NetworkConfigurationDiagnosticResult withProfile(NetworkConfigurationDiagnosticProfile profile)

Set the profile property: Network configuration diagnostic profile.

Methods inherited from java.lang.Object

Constructor Details

NetworkConfigurationDiagnosticResult

public NetworkConfigurationDiagnosticResult()

Creates an instance of NetworkConfigurationDiagnosticResult class.

Method Details

fromJson

public static NetworkConfigurationDiagnosticResult fromJson(JsonReader jsonReader)

Reads an instance of NetworkConfigurationDiagnosticResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

networkSecurityGroupResult

public NetworkSecurityGroupResult networkSecurityGroupResult()

Get the networkSecurityGroupResult property: Network security group result.

Returns:

the networkSecurityGroupResult value.

profile

public NetworkConfigurationDiagnosticProfile profile()

Get the profile property: Network configuration diagnostic profile.

Returns:

the profile value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withNetworkSecurityGroupResult

public NetworkConfigurationDiagnosticResult withNetworkSecurityGroupResult(NetworkSecurityGroupResult networkSecurityGroupResult)

Set the networkSecurityGroupResult property: Network security group result.

Parameters:

networkSecurityGroupResult - the networkSecurityGroupResult value to set.

Returns:

the NetworkConfigurationDiagnosticResult object itself.

withProfile

public NetworkConfigurationDiagnosticResult withProfile(NetworkConfigurationDiagnosticProfile profile)

Set the profile property: Network configuration diagnostic profile.

Parameters:

profile - the profile value to set.

Returns:

the NetworkConfigurationDiagnosticResult object itself.

Applies to