Class PerfMonSet
java.lang.Object
com.azure.resourcemanager.appservice.models.PerfMonSet
Metric information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendTime()Get the endTime property: End time of the period.name()Get the name property: Unique key name of the counter.Get the startTime property: Start time of the period.Get the timeGrain property: Presented time grain.voidvalidate()Validates the instance.values()Get the values property: Collection of workers that are active during this time.withEndTime(OffsetDateTime endTime) Set the endTime property: End time of the period.Set the name property: Unique key name of the counter.withStartTime(OffsetDateTime startTime) Set the startTime property: Start time of the period.withTimeGrain(String timeGrain) Set the timeGrain property: Presented time grain.withValues(List<PerfMonSample> values) Set the values property: Collection of workers that are active during this time.
-
Constructor Details
-
PerfMonSet
public PerfMonSet()Creates an instance of PerfMonSet class.
-
-
Method Details
-
name
Get the name property: Unique key name of the counter.- Returns:
- the name value.
-
withName
Set the name property: Unique key name of the counter.- Parameters:
name- the name value to set.- Returns:
- the PerfMonSet object itself.
-
startTime
Get the startTime property: Start time of the period.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Start time of the period.- Parameters:
startTime- the startTime value to set.- Returns:
- the PerfMonSet object itself.
-
endTime
Get the endTime property: End time of the period.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: End time of the period.- Parameters:
endTime- the endTime value to set.- Returns:
- the PerfMonSet object itself.
-
timeGrain
Get the timeGrain property: Presented time grain.- Returns:
- the timeGrain value.
-
withTimeGrain
Set the timeGrain property: Presented time grain.- Parameters:
timeGrain- the timeGrain value to set.- Returns:
- the PerfMonSet object itself.
-
values
Get the values property: Collection of workers that are active during this time.- Returns:
- the values value.
-
withValues
Set the values property: Collection of workers that are active during this time.- Parameters:
values- the values value to set.- Returns:
- the PerfMonSet object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-