Class TimeSeriesBaseline


  • public final class TimeSeriesBaseline
    extends Object
    The baseline values for a single time series.
    • Constructor Detail

      • TimeSeriesBaseline

        public TimeSeriesBaseline()
    • Method Detail

      • aggregation

        public String aggregation()
        Get the aggregation property: The aggregation type of the metric.
        Returns:
        the aggregation value.
      • withAggregation

        public TimeSeriesBaseline withAggregation​(String aggregation)
        Set the aggregation property: The aggregation type of the metric.
        Parameters:
        aggregation - the aggregation value to set.
        Returns:
        the TimeSeriesBaseline object itself.
      • dimensions

        public List<MetricSingleDimension> dimensions()
        Get the dimensions property: The dimensions of this time series.
        Returns:
        the dimensions value.
      • withDimensions

        public TimeSeriesBaseline withDimensions​(List<MetricSingleDimension> dimensions)
        Set the dimensions property: The dimensions of this time series.
        Parameters:
        dimensions - the dimensions value to set.
        Returns:
        the TimeSeriesBaseline object itself.
      • timestamps

        public List<OffsetDateTime> timestamps()
        Get the timestamps property: The list of timestamps of the baselines.
        Returns:
        the timestamps value.
      • withTimestamps

        public TimeSeriesBaseline withTimestamps​(List<OffsetDateTime> timestamps)
        Set the timestamps property: The list of timestamps of the baselines.
        Parameters:
        timestamps - the timestamps value to set.
        Returns:
        the TimeSeriesBaseline object itself.
      • data

        public List<SingleBaseline> data()
        Get the data property: The baseline values for each sensitivity.
        Returns:
        the data value.
      • withData

        public TimeSeriesBaseline withData​(List<SingleBaseline> data)
        Set the data property: The baseline values for each sensitivity.
        Parameters:
        data - the data value to set.
        Returns:
        the TimeSeriesBaseline object itself.
      • metadataValues

        public List<BaselineMetadata> metadataValues()
        Get the metadataValues property: The baseline metadata values.
        Returns:
        the metadataValues value.
      • withMetadataValues

        public TimeSeriesBaseline withMetadataValues​(List<BaselineMetadata> metadataValues)
        Set the metadataValues property: The baseline metadata values.
        Parameters:
        metadataValues - the metadataValues value to set.
        Returns:
        the TimeSeriesBaseline object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.