Class PerfMonSample
java.lang.Object
com.microsoft.azure.management.appservice.PerfMonSample
Performance monitor sample in a set.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet name of the server on which the measurement is made.org.joda.time.DateTime
time()
Get point in time for which counter was measured.value()
Get value of counter at a certain time.withInstanceName
(String instanceName) Set name of the server on which the measurement is made.withTime
(org.joda.time.DateTime time) Set point in time for which counter was measured.Set value of counter at a certain time.
-
Constructor Details
-
PerfMonSample
public PerfMonSample()
-
-
Method Details
-
time
public org.joda.time.DateTime time()Get point in time for which counter was measured.- Returns:
- the time value
-
withTime
Set point in time for which counter was measured.- Parameters:
time
- the time value to set- Returns:
- the PerfMonSample object itself.
-
instanceName
Get name of the server on which the measurement is made.- Returns:
- the instanceName value
-
withInstanceName
Set name of the server on which the measurement is made.- Parameters:
instanceName
- the instanceName value to set- Returns:
- the PerfMonSample object itself.
-
value
Get value of counter at a certain time.- Returns:
- the value value
-
withValue
Set value of counter at a certain time.- Parameters:
value
- the value value to set- Returns:
- the PerfMonSample object itself.
-