PerfMonSet Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. PerfMonSet
- com.
Implements
public final class PerfMonSet
implements JsonSerializable<PerfMonSet>
Metric information.
Constructor Summary
Constructor | Description |
---|---|
PerfMonSet() |
Creates an instance of Perf |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
endTime()
Get the end |
static
Perf |
fromJson(JsonReader jsonReader)
Reads an instance of Perf |
String |
name()
Get the name property: Unique key name of the counter. |
Offset |
startTime()
Get the start |
String |
timeGrain()
Get the time |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
List<Perf |
values()
Get the values property: Collection of workers that are active during this time. |
Perf |
withEndTime(OffsetDateTime endTime)
Set the end |
Perf |
withName(String name)
Set the name property: Unique key name of the counter. |
Perf |
withStartTime(OffsetDateTime startTime)
Set the start |
Perf |
withTimeGrain(String timeGrain)
Set the time |
Perf |
withValues(List<PerfMonSample> values)
Set the values property: Collection of workers that are active during this time. |
Methods inherited from java.lang.Object
Constructor Details
PerfMonSet
public PerfMonSet()
Creates an instance of PerfMonSet class.
Method Details
endTime
public OffsetDateTime endTime()
Get the endTime property: End time of the period.
Returns:
fromJson
public static PerfMonSet fromJson(JsonReader jsonReader)
Reads an instance of PerfMonSet from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Unique key name of the counter.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time of the period.
Returns:
timeGrain
public String timeGrain()
Get the timeGrain property: Presented time grain.
Returns:
toJson
validate
public void validate()
Validates the instance.
values
public List
Get the values property: Collection of workers that are active during this time.
Returns:
withEndTime
public PerfMonSet withEndTime(OffsetDateTime endTime)
Set the endTime property: End time of the period.
Parameters:
Returns:
withName
public PerfMonSet withName(String name)
Set the name property: Unique key name of the counter.
Parameters:
Returns:
withStartTime
public PerfMonSet withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time of the period.
Parameters:
Returns:
withTimeGrain
public PerfMonSet withTimeGrain(String timeGrain)
Set the timeGrain property: Presented time grain.
Parameters:
Returns:
withValues
public PerfMonSet withValues(List
Set the values property: Collection of workers that are active during this time.
Parameters:
Returns:
Applies to
Azure SDK for Java