Compartilhar via


AzureReachabilityReportItem Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.AzureReachabilityReportItem

Implements

public final class AzureReachabilityReportItem
implements JsonSerializable<AzureReachabilityReportItem>

Azure reachability report details for a given provider location.

Constructor Summary

Constructor Description
AzureReachabilityReportItem()

Creates an instance of AzureReachabilityReportItem class.

Method Summary

Modifier and Type Method and Description
String azureLocation()

Get the azureLocation property: The Azure region.

static AzureReachabilityReportItem fromJson(JsonReader jsonReader)

Reads an instance of AzureReachabilityReportItem from the JsonReader.

List<AzureReachabilityReportLatencyInfo> latencies()

Get the latencies property: List of latency details for each of the time series.

String provider()

Get the provider property: The Internet service provider.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AzureReachabilityReportItem withAzureLocation(String azureLocation)

Set the azureLocation property: The Azure region.

AzureReachabilityReportItem withLatencies(List<AzureReachabilityReportLatencyInfo> latencies)

Set the latencies property: List of latency details for each of the time series.

AzureReachabilityReportItem withProvider(String provider)

Set the provider property: The Internet service provider.

Methods inherited from java.lang.Object

Constructor Details

AzureReachabilityReportItem

public AzureReachabilityReportItem()

Creates an instance of AzureReachabilityReportItem class.

Method Details

azureLocation

public String azureLocation()

Get the azureLocation property: The Azure region.

Returns:

the azureLocation value.

fromJson

public static AzureReachabilityReportItem fromJson(JsonReader jsonReader)

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.

latencies

public List latencies()

Get the latencies property: List of latency details for each of the time series.

Returns:

the latencies value.

provider

public String provider()

Get the provider property: The Internet service provider.

Returns:

the provider value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

withLatencies

public AzureReachabilityReportItem withLatencies(List latencies)

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.

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.

Applies to