com.microsoft.azure.management.network.AzureReachabilityReportLatencyInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-network Show documentation
Show all versions of azure-mgmt-network Show documentation
This package contains Microsoft Azure Network Management SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network;
import org.joda.time.DateTime;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Details on latency for a time series.
*/
public class AzureReachabilityReportLatencyInfo {
/**
* The time stamp.
*/
@JsonProperty(value = "timeStamp")
private DateTime timeStamp;
/**
* The relative latency score between 1 and 100, higher values indicating a
* faster connection.
*/
@JsonProperty(value = "score")
private Integer score;
/**
* Get the time stamp.
*
* @return the timeStamp value
*/
public DateTime timeStamp() {
return this.timeStamp;
}
/**
* Set the time stamp.
*
* @param timeStamp the timeStamp value to set
* @return the AzureReachabilityReportLatencyInfo object itself.
*/
public AzureReachabilityReportLatencyInfo withTimeStamp(DateTime timeStamp) {
this.timeStamp = timeStamp;
return this;
}
/**
* Get the relative latency score between 1 and 100, higher values indicating a faster connection.
*
* @return the score value
*/
public Integer score() {
return this.score;
}
/**
* Set the relative latency score between 1 and 100, higher values indicating a faster connection.
*
* @param score the score value to set
* @return the AzureReachabilityReportLatencyInfo object itself.
*/
public AzureReachabilityReportLatencyInfo withScore(Integer score) {
this.score = score;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy