Class PerfMonSample
- java.lang.Object
-
- com.microsoft.azure.management.appservice.PerfMonSample
-
public class PerfMonSample extends Object
Performance monitor sample in a set.
-
-
Constructor Summary
Constructors Constructor Description PerfMonSample()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringinstanceName()Get name of the server on which the measurement is made.org.joda.time.DateTimetime()Get point in time for which counter was measured.Doublevalue()Get value of counter at a certain time.PerfMonSamplewithInstanceName(String instanceName)Set name of the server on which the measurement is made.PerfMonSamplewithTime(org.joda.time.DateTime time)Set point in time for which counter was measured.PerfMonSamplewithValue(Double value)Set value of counter at a certain time.
-
-
-
Method Detail
-
time
public org.joda.time.DateTime time()
Get point in time for which counter was measured.- Returns:
- the time value
-
withTime
public PerfMonSample withTime(org.joda.time.DateTime time)
Set point in time for which counter was measured.- Parameters:
time- the time value to set- Returns:
- the PerfMonSample object itself.
-
instanceName
public String instanceName()
Get name of the server on which the measurement is made.- Returns:
- the instanceName value
-
withInstanceName
public PerfMonSample withInstanceName(String instanceName)
Set name of the server on which the measurement is made.- Parameters:
instanceName- the instanceName value to set- Returns:
- the PerfMonSample object itself.
-
value
public Double value()
Get value of counter at a certain time.- Returns:
- the value value
-
withValue
public PerfMonSample withValue(Double value)
Set value of counter at a certain time.- Parameters:
value- the value value to set- Returns:
- the PerfMonSample object itself.
-
-