AzureReachabilityReportLatencyInfo Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. AzureReachabilityReportLatencyInfo
- com.
Implements
public final class AzureReachabilityReportLatencyInfo
implements JsonSerializable<AzureReachabilityReportLatencyInfo>
Details on latency for a time series.
Constructor Summary
Constructor | Description |
---|---|
AzureReachabilityReportLatencyInfo() |
Creates an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
Integer |
score()
Get the score property: The relative latency score between 1 and 100, higher values indicating a faster connection. |
Offset |
timestamp()
Get the timestamp property: The time stamp. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Azure |
withScore(Integer score)
Set the score property: The relative latency score between 1 and 100, higher values indicating a faster connection. |
Azure |
withTimestamp(OffsetDateTime timestamp)
Set the timestamp property: The time stamp. |
Methods inherited from java.lang.Object
Constructor Details
AzureReachabilityReportLatencyInfo
public AzureReachabilityReportLatencyInfo()
Creates an instance of AzureReachabilityReportLatencyInfo class.
Method Details
fromJson
public static AzureReachabilityReportLatencyInfo fromJson(JsonReader jsonReader)
Reads an instance of AzureReachabilityReportLatencyInfo from the JsonReader.
Parameters:
Returns:
Throws:
score
public Integer score()
Get the score property: The relative latency score between 1 and 100, higher values indicating a faster connection.
Returns:
timestamp
public OffsetDateTime timestamp()
Get the timestamp property: The time stamp.
Returns:
toJson
validate
public void validate()
Validates the instance.
withScore
public AzureReachabilityReportLatencyInfo withScore(Integer score)
Set the score property: The relative latency score between 1 and 100, higher values indicating a faster connection.
Parameters:
Returns:
withTimestamp
public AzureReachabilityReportLatencyInfo withTimestamp(OffsetDateTime timestamp)
Set the timestamp property: The time stamp.
Parameters:
Returns:
Applies to
Azure SDK for Java