Class PerfMonSet
- java.lang.Object
-
- com.azure.resourcemanager.appservice.models.PerfMonSet
-
public final 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 OffsetDateTimeendTime()Get the endTime property: End time of the period.Stringname()Get the name property: Unique key name of the counter.OffsetDateTimestartTime()Get the startTime property: Start time of the period.StringtimeGrain()Get the timeGrain property: Presented time grain.voidvalidate()Validates the instance.List<PerfMonSample>values()Get the values property: Collection of workers that are active during this time.PerfMonSetwithEndTime(OffsetDateTime endTime)Set the endTime property: End time of the period.PerfMonSetwithName(String name)Set the name property: Unique key name of the counter.PerfMonSetwithStartTime(OffsetDateTime startTime)Set the startTime property: Start time of the period.PerfMonSetwithTimeGrain(String timeGrain)Set the timeGrain property: Presented time grain.PerfMonSetwithValues(List<PerfMonSample> values)Set the values property: Collection of workers that are active during this time.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Unique key name of the counter.- Returns:
- the name value.
-
withName
public PerfMonSet withName(String name)
Set the name property: Unique key name of the counter.- Parameters:
name- the name value to set.- Returns:
- the PerfMonSet object itself.
-
startTime
public OffsetDateTime startTime()
Get the startTime property: Start time of the period.- Returns:
- the startTime value.
-
withStartTime
public PerfMonSet withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time of the period.- Parameters:
startTime- the startTime value to set.- Returns:
- the PerfMonSet object itself.
-
endTime
public OffsetDateTime endTime()
Get the endTime property: End time of the period.- Returns:
- the endTime value.
-
withEndTime
public PerfMonSet withEndTime(OffsetDateTime endTime)
Set the endTime property: End time of the period.- Parameters:
endTime- the endTime value to set.- Returns:
- the PerfMonSet object itself.
-
timeGrain
public String timeGrain()
Get the timeGrain property: Presented time grain.- Returns:
- the timeGrain value.
-
withTimeGrain
public PerfMonSet withTimeGrain(String timeGrain)
Set the timeGrain property: Presented time grain.- Parameters:
timeGrain- the timeGrain value to set.- Returns:
- the PerfMonSet object itself.
-
values
public List<PerfMonSample> values()
Get the values property: Collection of workers that are active during this time.- Returns:
- the values value.
-
withValues
public PerfMonSet withValues(List<PerfMonSample> values)
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.
-
-