Class TimeseriesInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.frontdoor.fluent.models.TimeseriesInner

public final class TimeseriesInner extends com.azure.core.management.Resource
Defines the Timeseries.
  • Constructor Details

    • TimeseriesInner

      public TimeseriesInner()
      Creates an instance of TimeseriesInner class.
  • Method Details

    • withLocation

      public TimeseriesInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public TimeseriesInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • endpoint

      public String endpoint()
      Get the endpoint property: The endpoint associated with the Timeseries data point.
      Returns:
      the endpoint value.
    • withEndpoint

      public TimeseriesInner withEndpoint(String endpoint)
      Set the endpoint property: The endpoint associated with the Timeseries data point.
      Parameters:
      endpoint - the endpoint value to set.
      Returns:
      the TimeseriesInner object itself.
    • startDateTimeUtc

      public String startDateTimeUtc()
      Get the startDateTimeUtc property: The start DateTime of the Timeseries in UTC.
      Returns:
      the startDateTimeUtc value.
    • withStartDateTimeUtc

      public TimeseriesInner withStartDateTimeUtc(String startDateTimeUtc)
      Set the startDateTimeUtc property: The start DateTime of the Timeseries in UTC.
      Parameters:
      startDateTimeUtc - the startDateTimeUtc value to set.
      Returns:
      the TimeseriesInner object itself.
    • endDateTimeUtc

      public String endDateTimeUtc()
      Get the endDateTimeUtc property: The end DateTime of the Timeseries in UTC.
      Returns:
      the endDateTimeUtc value.
    • withEndDateTimeUtc

      public TimeseriesInner withEndDateTimeUtc(String endDateTimeUtc)
      Set the endDateTimeUtc property: The end DateTime of the Timeseries in UTC.
      Parameters:
      endDateTimeUtc - the endDateTimeUtc value to set.
      Returns:
      the TimeseriesInner object itself.
    • aggregationInterval

      public AggregationInterval aggregationInterval()
      Get the aggregationInterval property: The aggregation interval of the Timeseries.
      Returns:
      the aggregationInterval value.
    • withAggregationInterval

      public TimeseriesInner withAggregationInterval(AggregationInterval aggregationInterval)
      Set the aggregationInterval property: The aggregation interval of the Timeseries.
      Parameters:
      aggregationInterval - the aggregationInterval value to set.
      Returns:
      the TimeseriesInner object itself.
    • timeseriesType

      public TimeseriesType timeseriesType()
      Get the timeseriesType property: The type of Timeseries.
      Returns:
      the timeseriesType value.
    • withTimeseriesType

      public TimeseriesInner withTimeseriesType(TimeseriesType timeseriesType)
      Set the timeseriesType property: The type of Timeseries.
      Parameters:
      timeseriesType - the timeseriesType value to set.
      Returns:
      the TimeseriesInner object itself.
    • country

      public String country()
      Get the country property: The country associated with the Timeseries. Values are country ISO codes as specified here- https://www.iso.org/iso-3166-country-codes.html.
      Returns:
      the country value.
    • withCountry

      public TimeseriesInner withCountry(String country)
      Set the country property: The country associated with the Timeseries. Values are country ISO codes as specified here- https://www.iso.org/iso-3166-country-codes.html.
      Parameters:
      country - the country value to set.
      Returns:
      the TimeseriesInner object itself.
    • timeseriesData

      public List<TimeseriesDataPoint> timeseriesData()
      Get the timeseriesData property: The set of data points for the timeseries.
      Returns:
      the timeseriesData value.
    • withTimeseriesData

      public TimeseriesInner withTimeseriesData(List<TimeseriesDataPoint> timeseriesData)
      Set the timeseriesData property: The set of data points for the timeseries.
      Parameters:
      timeseriesData - the timeseriesData value to set.
      Returns:
      the TimeseriesInner object itself.
    • validate

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