Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.appservice; import org.joda.time.DateTime; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty;
Metric information.
/** * Metric information. */
public class PerfMonSet {
Unique key name of the counter.
/** * Unique key name of the counter. */
@JsonProperty(value = "name") private String name;
Start time of the period.
/** * Start time of the period. */
@JsonProperty(value = "startTime") private DateTime startTime;
End time of the period.
/** * End time of the period. */
@JsonProperty(value = "endTime") private DateTime endTime;
Presented time grain.
/** * Presented time grain. */
@JsonProperty(value = "timeGrain") private String timeGrain;
Collection of workers that are active during this time.
/** * Collection of workers that are active during this time. */
@JsonProperty(value = "values") private List<PerfMonSample> values;
Get unique key name of the counter.
Returns:the name value
/** * Get unique key name of the counter. * * @return the name value */
public String name() { return this.name; }
Set unique key name of the counter.
Params:
  • name – the name value to set
Returns:the PerfMonSet object itself.
/** * Set unique key name of the counter. * * @param name the name value to set * @return the PerfMonSet object itself. */
public PerfMonSet withName(String name) { this.name = name; return this; }
Get start time of the period.
Returns:the startTime value
/** * Get start time of the period. * * @return the startTime value */
public DateTime startTime() { return this.startTime; }
Set start time of the period.
Params:
  • startTime – the startTime value to set
Returns:the PerfMonSet object itself.
/** * Set start time of the period. * * @param startTime the startTime value to set * @return the PerfMonSet object itself. */
public PerfMonSet withStartTime(DateTime startTime) { this.startTime = startTime; return this; }
Get end time of the period.
Returns:the endTime value
/** * Get end time of the period. * * @return the endTime value */
public DateTime endTime() { return this.endTime; }
Set end time of the period.
Params:
  • endTime – the endTime value to set
Returns:the PerfMonSet object itself.
/** * Set end time of the period. * * @param endTime the endTime value to set * @return the PerfMonSet object itself. */
public PerfMonSet withEndTime(DateTime endTime) { this.endTime = endTime; return this; }
Get presented time grain.
Returns:the timeGrain value
/** * Get presented time grain. * * @return the timeGrain value */
public String timeGrain() { return this.timeGrain; }
Set presented time grain.
Params:
  • timeGrain – the timeGrain value to set
Returns:the PerfMonSet object itself.
/** * Set presented time grain. * * @param timeGrain the timeGrain value to set * @return the PerfMonSet object itself. */
public PerfMonSet withTimeGrain(String timeGrain) { this.timeGrain = timeGrain; return this; }
Get collection of workers that are active during this time.
Returns:the values value
/** * Get collection of workers that are active during this time. * * @return the values value */
public List<PerfMonSample> values() { return this.values; }
Set collection of workers that are active during this time.
Params:
  • values – the values value to set
Returns:the PerfMonSet object itself.
/** * Set collection of workers that are active during this time. * * @param values the values value to set * @return the PerfMonSet object itself. */
public PerfMonSet withValues(List<PerfMonSample> values) { this.values = values; return this; } }