BaselineResponseInner Class

  • java.lang.Object
    • com.microsoft.azure.management.monitor.implementation.BaselineResponseInner

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<BaselineInner> 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<BaselineMetadataValue> metadata()

Get the baseline metadata values.

LocalizableStringInner 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.

BaselineResponseInner withAggregation(String aggregation)

Set the aggregation type of the metric.

BaselineResponseInner withBaseline(List<BaselineInner> baseline)

Set the baseline values for each sensitivity.

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.

BaselineResponseInner withMetadata(List<BaselineMetadataValue> metadata)

Set the baseline metadata values.

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.

BaselineResponseInner 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:

the aggregation value

baseline

public List baseline()

Get the baseline values for each sensitivity.

Returns:

the baseline value

id

public String id()

Get the metric baseline Id.

Returns:

the id value

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:

the interval value

metadata

public List metadata()

Get the baseline metadata values.

Returns:

the metadata value

name

public LocalizableStringInner name()

Get the name and the display name of the metric, i.e. it is localizable string.

Returns:

the name value

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:

the timespan value

timestamps

public List timestamps()

Get the array of timestamps of the baselines.

Returns:

the timestamps value

type

public String type()

Get the resource type of the baseline resource.

Returns:

the type value

withAggregation

public BaselineResponseInner withAggregation(String aggregation)

Set the aggregation type of the metric.

Parameters:

aggregation - the aggregation value to set

Returns:

the BaselineResponseInner object itself.

withBaseline

public BaselineResponseInner withBaseline(List baseline)

Set the baseline values for each sensitivity.

Parameters:

baseline - the baseline value to set

Returns:

the BaselineResponseInner object itself.

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:

interval - the interval value to set

Returns:

the BaselineResponseInner object itself.

withMetadata

public BaselineResponseInner withMetadata(List metadata)

Set the baseline metadata values.

Parameters:

metadata - the metadata value to set

Returns:

the BaselineResponseInner object itself.

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:

timespan - the timespan value to set

Returns:

the BaselineResponseInner object itself.

withTimestamps

public BaselineResponseInner withTimestamps(List timestamps)

Set the array of timestamps of the baselines.

Parameters:

timestamps - the timestamps value to set

Returns:

the BaselineResponseInner object itself.

Applies to