public class DiagnosticMetricSet extends Object
Constructor and Description |
---|
DiagnosticMetricSet() |
Modifier and Type | Method and Description |
---|---|
org.joda.time.DateTime |
endTime()
Get end time of the period.
|
String |
name()
Get name of the metric.
|
org.joda.time.DateTime |
startTime()
Get start time of the period.
|
String |
timeGrain()
Get presented time grain.
|
String |
unit()
Get metric's unit.
|
List<DiagnosticMetricSample> |
values()
Get collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}.
|
DiagnosticMetricSet |
withEndTime(org.joda.time.DateTime endTime)
Set end time of the period.
|
DiagnosticMetricSet |
withName(String name)
Set name of the metric.
|
DiagnosticMetricSet |
withStartTime(org.joda.time.DateTime startTime)
Set start time of the period.
|
DiagnosticMetricSet |
withTimeGrain(String timeGrain)
Set presented time grain.
|
DiagnosticMetricSet |
withUnit(String unit)
Set metric's unit.
|
DiagnosticMetricSet |
withValues(List<DiagnosticMetricSample> values)
Set collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}.
|
public String name()
public DiagnosticMetricSet withName(String name)
name
- the name value to setpublic String unit()
public DiagnosticMetricSet withUnit(String unit)
unit
- the unit value to setpublic org.joda.time.DateTime startTime()
public DiagnosticMetricSet withStartTime(org.joda.time.DateTime startTime)
startTime
- the startTime value to setpublic org.joda.time.DateTime endTime()
public DiagnosticMetricSet withEndTime(org.joda.time.DateTime endTime)
endTime
- the endTime value to setpublic String timeGrain()
public DiagnosticMetricSet withTimeGrain(String timeGrain)
timeGrain
- the timeGrain value to setpublic List<DiagnosticMetricSample> values()
public DiagnosticMetricSet withValues(List<DiagnosticMetricSample> values)
values
- the values value to setCopyright © 2019. All rights reserved.