BaselineResponseInner Class
- java.
lang. Object - com.
microsoft. azure. management. monitor. implementation. BaselineResponseInner
- com.
public class BaselineResponseInner
The response to a baseline query.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
aggregation()
Get the aggregation type of the metric. |
List<Baseline |
baseline()
Get the baseline values for each sensitivity. |
String |
id()
Get the metric baseline Id. |
Period |
interval()
Get the interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made. |
List<Baseline |
metadata()
Get the baseline metadata values. |
Localizable |
name()
Get the name and the display name of the metric, i.e. it is localizable string. |
String |
timespan()
Get the timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested. |
List<DateTime> |
timestamps()
Get the array of timestamps of the baselines. |
String |
type()
Get the resource type of the baseline resource. |
Baseline |
withAggregation(String aggregation)
Set the aggregation type of the metric. |
Baseline |
withBaseline(List<BaselineInner> baseline)
Set the baseline values for each sensitivity. |
Baseline |
withInterval(Period interval)
Set the interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made. |
Baseline |
withMetadata(List<BaselineMetadataValue> metadata)
Set the baseline metadata values. |
Baseline |
withTimespan(String timespan)
Set the timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested. |
Baseline |
withTimestamps(List<DateTime> timestamps)
Set the array of timestamps of the baselines. |
Method Details
aggregation
public String aggregation()
Get the aggregation type of the metric.
Returns:
baseline
public List
Get the baseline values for each sensitivity.
Returns:
id
public String id()
Get the metric baseline Id.
Returns:
interval
public Period interval()
Get the interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made.
Returns:
metadata
public List
Get the baseline metadata values.
Returns:
name
public LocalizableStringInner name()
Get the name and the display name of the metric, i.e. it is localizable string.
Returns:
timespan
public String timespan()
Get the timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested.
Returns:
timestamps
public List
Get the array of timestamps of the baselines.
Returns:
type
public String type()
Get the resource type of the baseline resource.
Returns:
withAggregation
public BaselineResponseInner withAggregation(String aggregation)
Set the aggregation type of the metric.
Parameters:
Returns:
withBaseline
public BaselineResponseInner withBaseline(List
Set the baseline values for each sensitivity.
Parameters:
Returns:
withInterval
public BaselineResponseInner withInterval(Period interval)
Set the interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made.
Parameters:
Returns:
withMetadata
public BaselineResponseInner withMetadata(List
Set the baseline metadata values.
Parameters:
Returns:
withTimespan
public BaselineResponseInner withTimespan(String timespan)
Set the timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested.
Parameters:
Returns:
withTimestamps
public BaselineResponseInner withTimestamps(List
Set the array of timestamps of the baselines.
Parameters:
Returns:
Applies to
Azure SDK for Java