Class AzureReachabilityReportParameters

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

public final class AzureReachabilityReportParameters extends Object implements com.azure.json.JsonSerializable<AzureReachabilityReportParameters>
Geographic and time constraints for Azure reachability report.
  • Constructor Details

    • AzureReachabilityReportParameters

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

    • providerLocation

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

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

      public List<String> providers()
      Get the providers property: List of Internet service providers.
      Returns:
      the providers value.
    • withProviders

      public AzureReachabilityReportParameters withProviders(List<String> providers)
      Set the providers property: List of Internet service providers.
      Parameters:
      providers - the providers value to set.
      Returns:
      the AzureReachabilityReportParameters object itself.
    • azureLocations

      public List<String> azureLocations()
      Get the azureLocations property: Optional Azure regions to scope the query to.
      Returns:
      the azureLocations value.
    • withAzureLocations

      public AzureReachabilityReportParameters withAzureLocations(List<String> azureLocations)
      Set the azureLocations property: Optional Azure regions to scope the query to.
      Parameters:
      azureLocations - the azureLocations value to set.
      Returns:
      the AzureReachabilityReportParameters object itself.
    • startTime

      public OffsetDateTime startTime()
      Get the startTime property: The start time for the Azure reachability report.
      Returns:
      the startTime value.
    • withStartTime

      public AzureReachabilityReportParameters withStartTime(OffsetDateTime startTime)
      Set the startTime property: The start time for the Azure reachability report.
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the AzureReachabilityReportParameters object itself.
    • endTime

      public OffsetDateTime endTime()
      Get the endTime property: The end time for the Azure reachability report.
      Returns:
      the endTime value.
    • withEndTime

      public AzureReachabilityReportParameters withEndTime(OffsetDateTime endTime)
      Set the endTime property: The end time for the Azure reachability report.
      Parameters:
      endTime - the endTime value to set.
      Returns:
      the AzureReachabilityReportParameters 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<AzureReachabilityReportParameters>
      Throws:
      IOException
    • fromJson

      public static AzureReachabilityReportParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of AzureReachabilityReportParameters from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of AzureReachabilityReportParameters 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 AzureReachabilityReportParameters.