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 Details

    • AzureReachabilityReportItem

      public AzureReachabilityReportItem()
      Creates an instance of AzureReachabilityReportItem class.
  • Method Details

    • provider

      public String provider()
      Get the provider property: The Internet service provider.
      Returns:
      the provider value.
    • withProvider

      public AzureReachabilityReportItem withProvider(String provider)
      Set the provider property: The Internet service provider.
      Parameters:
      provider - the provider value to set.
      Returns:
      the AzureReachabilityReportItem object itself.
    • azureLocation

      public String azureLocation()
      Get the azureLocation property: The Azure region.
      Returns:
      the azureLocation value.
    • withAzureLocation

      public AzureReachabilityReportItem withAzureLocation(String azureLocation)
      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

      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.