Class PerfMonSet
java.lang.Object
com.microsoft.azure.management.appservice.PerfMonSet
Metric information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
endTime()
Get end time of the period.name()
Get unique key name of the counter.org.joda.time.DateTime
Get start time of the period.Get presented time grain.values()
Get collection of workers that are active during this time.withEndTime
(org.joda.time.DateTime endTime) Set end time of the period.Set unique key name of the counter.withStartTime
(org.joda.time.DateTime startTime) Set start time of the period.withTimeGrain
(String timeGrain) Set presented time grain.withValues
(List<PerfMonSample> values) Set collection of workers that are active during this time.
-
Constructor Details
-
PerfMonSet
public PerfMonSet()
-
-
Method Details
-
name
Get unique key name of the counter.- Returns:
- the name value
-
withName
Set unique key name of the counter.- Parameters:
name
- the name value to set- Returns:
- the PerfMonSet object itself.
-
startTime
public org.joda.time.DateTime startTime()Get start time of the period.- Returns:
- the startTime value
-
withStartTime
Set start time of the period.- Parameters:
startTime
- the startTime value to set- Returns:
- the PerfMonSet object itself.
-
endTime
public org.joda.time.DateTime endTime()Get end time of the period.- Returns:
- the endTime value
-
withEndTime
Set end time of the period.- Parameters:
endTime
- the endTime value to set- Returns:
- the PerfMonSet object itself.
-
timeGrain
Get presented time grain.- Returns:
- the timeGrain value
-
withTimeGrain
Set presented time grain.- Parameters:
timeGrain
- the timeGrain value to set- Returns:
- the PerfMonSet object itself.
-
values
Get collection of workers that are active during this time.- Returns:
- the values value
-
withValues
Set collection of workers that are active during this time.- Parameters:
values
- the values value to set- Returns:
- the PerfMonSet object itself.
-