public final class PerfMonSet extends Object
| Constructor and Description |
|---|
PerfMonSet() |
| Modifier and Type | Method and Description |
|---|---|
OffsetDateTime |
endTime()
Get the endTime property: End time of the period.
|
String |
name()
Get the name property: Unique key name of the counter.
|
OffsetDateTime |
startTime()
Get the startTime property: Start time of the period.
|
String |
timeGrain()
Get the timeGrain property: Presented time grain.
|
void |
validate()
Validates the instance.
|
List<PerfMonSample> |
values()
Get the values property: Collection of workers that are active during this time.
|
PerfMonSet |
withEndTime(OffsetDateTime endTime)
Set the endTime property: End time of the period.
|
PerfMonSet |
withName(String name)
Set the name property: Unique key name of the counter.
|
PerfMonSet |
withStartTime(OffsetDateTime startTime)
Set the startTime property: Start time of the period.
|
PerfMonSet |
withTimeGrain(String timeGrain)
Set the timeGrain property: Presented time grain.
|
PerfMonSet |
withValues(List<PerfMonSample> values)
Set the values property: Collection of workers that are active during this time.
|
public String name()
public PerfMonSet withName(String name)
name - the name value to set.public OffsetDateTime startTime()
public PerfMonSet withStartTime(OffsetDateTime startTime)
startTime - the startTime value to set.public OffsetDateTime endTime()
public PerfMonSet withEndTime(OffsetDateTime endTime)
endTime - the endTime value to set.public String timeGrain()
public PerfMonSet withTimeGrain(String timeGrain)
timeGrain - the timeGrain value to set.public List<PerfMonSample> values()
public PerfMonSet withValues(List<PerfMonSample> values)
values - the values value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.