Class AzureReachabilityReportInner

java.lang.Object
com.azure.resourcemanager.network.fluent.models.AzureReachabilityReportInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<AzureReachabilityReportInner>

public final class AzureReachabilityReportInner extends Object implements com.azure.json.JsonSerializable<AzureReachabilityReportInner>
Azure reachability report details.
  • Constructor Details

    • AzureReachabilityReportInner

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

    • aggregationLevel

      public String aggregationLevel()
      Get the aggregationLevel property: The aggregation level of Azure reachability report. Can be Country, State or City.
      Returns:
      the aggregationLevel value.
    • withAggregationLevel

      public AzureReachabilityReportInner withAggregationLevel(String aggregationLevel)
      Set the aggregationLevel property: The aggregation level of Azure reachability report. Can be Country, State or City.
      Parameters:
      aggregationLevel - the aggregationLevel value to set.
      Returns:
      the AzureReachabilityReportInner object itself.
    • providerLocation

      public AzureReachabilityReportLocation providerLocation()
      Get the providerLocation property: Parameters that define a geographic location.
      Returns:
      the providerLocation value.
    • withProviderLocation

      public AzureReachabilityReportInner withProviderLocation(AzureReachabilityReportLocation providerLocation)
      Set the providerLocation property: Parameters that define a geographic location.
      Parameters:
      providerLocation - the providerLocation value to set.
      Returns:
      the AzureReachabilityReportInner object itself.
    • reachabilityReport

      public List<AzureReachabilityReportItem> reachabilityReport()
      Get the reachabilityReport property: List of Azure reachability report items.
      Returns:
      the reachabilityReport value.
    • withReachabilityReport

      public AzureReachabilityReportInner withReachabilityReport(List<AzureReachabilityReportItem> reachabilityReport)
      Set the reachabilityReport property: List of Azure reachability report items.
      Parameters:
      reachabilityReport - the reachabilityReport value to set.
      Returns:
      the AzureReachabilityReportInner 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<AzureReachabilityReportInner>
      Throws:
      IOException
    • fromJson

      public static AzureReachabilityReportInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AzureReachabilityReportInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AzureReachabilityReportInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the AzureReachabilityReportInner.