public class BaselineResponseInner extends Object
| Constructor and Description |
|---|
BaselineResponseInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
aggregation()
Get the aggregation property: The aggregation type of the metric.
|
List<Baseline> |
baseline()
Get the baseline property: the baseline values for each sensitivity.
|
String |
id()
Get the id property: the metric baseline Id.
|
Duration |
interval()
Get the interval property: The interval (window size) for which the metric data was returned in.
|
List<BaselineMetadataValueInner> |
metadata()
Get the metadata property: the baseline metadata values.
|
LocalizableStringInner |
name()
Get the name property: the name and the display name of the metric, i.e.
|
String |
timespan()
Get the timespan property: The timespan for which the data was retrieved.
|
List<OffsetDateTime> |
timestamps()
Get the timestamps property: the array of timestamps of the baselines.
|
String |
type()
Get the type property: the resource type of the baseline resource.
|
void |
validate()
Validates the instance.
|
BaselineResponseInner |
withAggregation(String aggregation)
Set the aggregation property: The aggregation type of the metric.
|
BaselineResponseInner |
withBaseline(List<Baseline> baseline)
Set the baseline property: the baseline values for each sensitivity.
|
BaselineResponseInner |
withInterval(Duration interval)
Set the interval property: The interval (window size) for which the metric data was returned in.
|
BaselineResponseInner |
withMetadata(List<BaselineMetadataValueInner> metadata)
Set the metadata property: the baseline metadata values.
|
BaselineResponseInner |
withTimespan(String timespan)
Set the timespan property: The timespan for which the data was retrieved.
|
BaselineResponseInner |
withTimestamps(List<OffsetDateTime> timestamps)
Set the timestamps property: the array of timestamps of the baselines.
|
public String id()
public String type()
public LocalizableStringInner name()
public String timespan()
public BaselineResponseInner withTimespan(String timespan)
timespan - the timespan value to set.public Duration interval()
public BaselineResponseInner withInterval(Duration interval)
interval - the interval value to set.public String aggregation()
public BaselineResponseInner withAggregation(String aggregation)
aggregation - the aggregation value to set.public List<OffsetDateTime> timestamps()
public BaselineResponseInner withTimestamps(List<OffsetDateTime> timestamps)
timestamps - the timestamps value to set.public List<Baseline> baseline()
public BaselineResponseInner withBaseline(List<Baseline> baseline)
baseline - the baseline value to set.public List<BaselineMetadataValueInner> metadata()
public BaselineResponseInner withMetadata(List<BaselineMetadataValueInner> metadata)
metadata - the metadata value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.