MetricsResponseSeriesItem Class

  • java.lang.Object
    • com.microsoft.azure.management.cdn.MetricsResponseSeriesItem

public class MetricsResponseSeriesItem

The MetricsResponseSeriesItem model.

Constructor Summary

Constructor Description
MetricsResponseSeriesItem()

Method Summary

Modifier and Type Method and Description
java.util.List<MetricsResponseSeriesItemDataItem> data()

Get the data value.

java.util.List<MetricsResponseSeriesItemGroupsItem> groups()

Get the groups value.

java.lang.String metric()

Get the metric value.

java.lang.String unit()

Get possible values include: 'count', 'bytes', 'bitsPerSecond'.

MetricsResponseSeriesItem withData(List<MetricsResponseSeriesItemDataItem> data)

Set the data value.

MetricsResponseSeriesItem withGroups(List<MetricsResponseSeriesItemGroupsItem> groups)

Set the groups value.

MetricsResponseSeriesItem withMetric(String metric)

Set the metric value.

MetricsResponseSeriesItem withUnit(String unit)

Set possible values include: 'count', 'bytes', 'bitsPerSecond'.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

MetricsResponseSeriesItem

public MetricsResponseSeriesItem()

Method Details

data

public List data()

Get the data value.

Returns:

the data value

groups

public List groups()

Get the groups value.

Returns:

the groups value

metric

public String metric()

Get the metric value.

Returns:

the metric value

unit

public String unit()

Get possible values include: 'count', 'bytes', 'bitsPerSecond'.

Returns:

the unit value

withData

public MetricsResponseSeriesItem withData(List data)

Set the data value.

Parameters:

data - the data value to set

Returns:

the MetricsResponseSeriesItem object itself.

withGroups

public MetricsResponseSeriesItem withGroups(List groups)

Set the groups value.

Parameters:

groups - the groups value to set

Returns:

the MetricsResponseSeriesItem object itself.

withMetric

public MetricsResponseSeriesItem withMetric(String metric)

Set the metric value.

Parameters:

metric - the metric value to set

Returns:

the MetricsResponseSeriesItem object itself.

withUnit

public MetricsResponseSeriesItem withUnit(String unit)

Set possible values include: 'count', 'bytes', 'bitsPerSecond'.

Parameters:

unit - the unit value to set

Returns:

the MetricsResponseSeriesItem object itself.

Applies to