Class AzureReachabilityReportItem
java.lang.Object
com.azure.resourcemanager.network.models.AzureReachabilityReportItem
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AzureReachabilityReportItem>
public final class AzureReachabilityReportItem
extends Object
implements com.azure.json.JsonSerializable<AzureReachabilityReportItem>
Azure reachability report details for a given provider location.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AzureReachabilityReportItem class. -
Method Summary
Modifier and TypeMethodDescriptionGet the azureLocation property: The Azure region.static AzureReachabilityReportItem
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of AzureReachabilityReportItem from the JsonReader.Get the latencies property: List of latency details for each of the time series.provider()
Get the provider property: The Internet service provider.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withAzureLocation
(String azureLocation) Set the azureLocation property: The Azure region.withLatencies
(List<AzureReachabilityReportLatencyInfo> latencies) Set the latencies property: List of latency details for each of the time series.withProvider
(String provider) Set the provider property: The Internet service provider.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AzureReachabilityReportItem
public AzureReachabilityReportItem()Creates an instance of AzureReachabilityReportItem class.
-
-
Method Details
-
provider
Get the provider property: The Internet service provider.- Returns:
- the provider value.
-
withProvider
Set the provider property: The Internet service provider.- Parameters:
provider
- the provider value to set.- Returns:
- the AzureReachabilityReportItem object itself.
-
azureLocation
Get the azureLocation property: The Azure region.- Returns:
- the azureLocation value.
-
withAzureLocation
Set the azureLocation property: The Azure region.- Parameters:
azureLocation
- the azureLocation value to set.- Returns:
- the AzureReachabilityReportItem object itself.
-
latencies
Get the latencies property: List of latency details for each of the time series.- Returns:
- the latencies value.
-
withLatencies
public AzureReachabilityReportItem withLatencies(List<AzureReachabilityReportLatencyInfo> latencies) Set the latencies property: List of latency details for each of the time series.- Parameters:
latencies
- the latencies value to set.- Returns:
- the AzureReachabilityReportItem object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<AzureReachabilityReportItem>
- Throws:
IOException
-
fromJson
public static AzureReachabilityReportItem fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AzureReachabilityReportItem from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of AzureReachabilityReportItem 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 AzureReachabilityReportItem.
-