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 Summary
ConstructorsConstructorDescriptionCreates an instance of AzureReachabilityReportInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the aggregationLevel property: The aggregation level of Azure reachability report.static AzureReachabilityReportInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AzureReachabilityReportInner from the JsonReader.Get the providerLocation property: Parameters that define a geographic location.Get the reachabilityReport property: List of Azure reachability report items.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAggregationLevel(String aggregationLevel) Set the aggregationLevel property: The aggregation level of Azure reachability report.withProviderLocation(AzureReachabilityReportLocation providerLocation) Set the providerLocation property: Parameters that define a geographic location.withReachabilityReport(List<AzureReachabilityReportItem> reachabilityReport) Set the reachabilityReport property: List of Azure reachability report items.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
-
AzureReachabilityReportInner
public AzureReachabilityReportInner()Creates an instance of AzureReachabilityReportInner class.
-
-
Method Details
-
aggregationLevel
Get the aggregationLevel property: The aggregation level of Azure reachability report. Can be Country, State or City.- Returns:
- the aggregationLevel value.
-
withAggregationLevel
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
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
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
- Specified by:
toJsonin interfacecom.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.
-