Class PerfMonSet
- java.lang.Object
-
- com.microsoft.azure.management.appservice.PerfMonSet
-
public class PerfMonSet extends Object
Metric information.
-
-
Constructor Summary
Constructors Constructor Description PerfMonSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.joda.time.DateTimeendTime()Get end time of the period.Stringname()Get unique key name of the counter.org.joda.time.DateTimestartTime()Get start time of the period.StringtimeGrain()Get presented time grain.List<PerfMonSample>values()Get collection of workers that are active during this time.PerfMonSetwithEndTime(org.joda.time.DateTime endTime)Set end time of the period.PerfMonSetwithName(String name)Set unique key name of the counter.PerfMonSetwithStartTime(org.joda.time.DateTime startTime)Set start time of the period.PerfMonSetwithTimeGrain(String timeGrain)Set presented time grain.PerfMonSetwithValues(List<PerfMonSample> values)Set collection of workers that are active during this time.
-
-
-
Method Detail
-
name
public String name()
Get unique key name of the counter.- Returns:
- the name value
-
withName
public PerfMonSet withName(String name)
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
public PerfMonSet withStartTime(org.joda.time.DateTime startTime)
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
public PerfMonSet withEndTime(org.joda.time.DateTime endTime)
Set end time of the period.- Parameters:
endTime- the endTime value to set- Returns:
- the PerfMonSet object itself.
-
timeGrain
public String timeGrain()
Get presented time grain.- Returns:
- the timeGrain value
-
withTimeGrain
public PerfMonSet withTimeGrain(String timeGrain)
Set presented time grain.- Parameters:
timeGrain- the timeGrain value to set- Returns:
- the PerfMonSet object itself.
-
values
public List<PerfMonSample> values()
Get collection of workers that are active during this time.- Returns:
- the values value
-
withValues
public PerfMonSet withValues(List<PerfMonSample> values)
Set collection of workers that are active during this time.- Parameters:
values- the values value to set- Returns:
- the PerfMonSet object itself.
-
-