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 Summary
ConstructorsConstructorDescriptionCreates an instance of AzureReachabilityReportParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the azureLocations property: Optional Azure regions to scope the query to.endTime()Get the endTime property: The end time for the Azure reachability report.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AzureReachabilityReportParameters from the JsonReader.Get the providerLocation property: Parameters that define a geographic location.Get the providers property: List of Internet service providers.Get the startTime property: The start time for the Azure reachability report.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAzureLocations(List<String> azureLocations) Set the azureLocations property: Optional Azure regions to scope the query to.withEndTime(OffsetDateTime endTime) Set the endTime property: The end time for the Azure reachability report.withProviderLocation(AzureReachabilityReportLocation providerLocation) Set the providerLocation property: Parameters that define a geographic location.withProviders(List<String> providers) Set the providers property: List of Internet service providers.withStartTime(OffsetDateTime startTime) Set the startTime property: The start time for the Azure reachability report.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AzureReachabilityReportParameters
public AzureReachabilityReportParameters()Creates an instance of AzureReachabilityReportParameters class.
-
-
Method Details
-
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
Get the providers property: List of Internet service providers.- Returns:
- the providers value.
-
withProviders
Set the providers property: List of Internet service providers.- Parameters:
providers- the providers value to set.- Returns:
- the AzureReachabilityReportParameters object itself.
-
azureLocations
Get the azureLocations property: Optional Azure regions to scope the query to.- Returns:
- the azureLocations value.
-
withAzureLocations
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
Get the startTime property: The start time for the Azure reachability report.- Returns:
- the startTime value.
-
withStartTime
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
Get the endTime property: The end time for the Azure reachability report.- Returns:
- the endTime value.
-
withEndTime
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
- Specified by:
toJsonin interfacecom.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.
-