public final class ResponseInner extends Object
| Constructor and Description |
|---|
ResponseInner() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
cost()
Get the cost property: The integer value representing the cost of the query, for data case.
|
Duration |
interval()
Get the interval property: The interval (window size) for which the metric data was returned in.
|
String |
namespace()
Get the namespace property: The namespace of the metrics been queried.
|
String |
resourceRegion()
Get the resourceRegion property: The region of the resource been queried for metrics.
|
String |
timespan()
Get the timespan property: The timespan for which the data was retrieved.
|
void |
validate()
Validates the instance.
|
List<MetricInner> |
value()
Get the value property: the value of the collection.
|
ResponseInner |
withCost(Integer cost)
Set the cost property: The integer value representing the cost of the query, for data case.
|
ResponseInner |
withInterval(Duration interval)
Set the interval property: The interval (window size) for which the metric data was returned in.
|
ResponseInner |
withNamespace(String namespace)
Set the namespace property: The namespace of the metrics been queried.
|
ResponseInner |
withResourceRegion(String resourceRegion)
Set the resourceRegion property: The region of the resource been queried for metrics.
|
ResponseInner |
withTimespan(String timespan)
Set the timespan property: The timespan for which the data was retrieved.
|
ResponseInner |
withValue(List<MetricInner> value)
Set the value property: the value of the collection.
|
public Integer cost()
public ResponseInner withCost(Integer cost)
cost - the cost value to set.public String timespan()
public ResponseInner withTimespan(String timespan)
timespan - the timespan value to set.public Duration interval()
public ResponseInner withInterval(Duration interval)
interval - the interval value to set.public String namespace()
public ResponseInner withNamespace(String namespace)
namespace - the namespace value to set.public String resourceRegion()
public ResponseInner withResourceRegion(String resourceRegion)
resourceRegion - the resourceRegion value to set.public List<MetricInner> value()
public ResponseInner withValue(List<MetricInner> value)
value - the value value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.