Class TimeseriesProperties
java.lang.Object
com.azure.resourcemanager.frontdoor.fluent.models.TimeseriesProperties
Defines the properties of a timeseries.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the aggregationInterval property: The aggregation interval of the Timeseries.country()
Get the country property: The country associated with the Timeseries.Get the endDateTimeUtc property: The end DateTime of the Timeseries in UTC.endpoint()
Get the endpoint property: The endpoint associated with the Timeseries data point.Get the startDateTimeUtc property: The start DateTime of the Timeseries in UTC.Get the timeseriesData property: The set of data points for the timeseries.Get the timeseriesType property: The type of Timeseries.void
validate()
Validates the instance.withAggregationInterval
(AggregationInterval aggregationInterval) Set the aggregationInterval property: The aggregation interval of the Timeseries.withCountry
(String country) Set the country property: The country associated with the Timeseries.withEndDateTimeUtc
(String endDateTimeUtc) Set the endDateTimeUtc property: The end DateTime of the Timeseries in UTC.withEndpoint
(String endpoint) Set the endpoint property: The endpoint associated with the Timeseries data point.withStartDateTimeUtc
(String startDateTimeUtc) Set the startDateTimeUtc property: The start DateTime of the Timeseries in UTC.withTimeseriesData
(List<TimeseriesDataPoint> timeseriesData) Set the timeseriesData property: The set of data points for the timeseries.withTimeseriesType
(TimeseriesType timeseriesType) Set the timeseriesType property: The type of Timeseries.
-
Constructor Details
-
TimeseriesProperties
public TimeseriesProperties()Creates an instance of TimeseriesProperties class.
-
-
Method Details
-
endpoint
Get the endpoint property: The endpoint associated with the Timeseries data point.- Returns:
- the endpoint value.
-
withEndpoint
Set the endpoint property: The endpoint associated with the Timeseries data point.- Parameters:
endpoint
- the endpoint value to set.- Returns:
- the TimeseriesProperties object itself.
-
startDateTimeUtc
Get the startDateTimeUtc property: The start DateTime of the Timeseries in UTC.- Returns:
- the startDateTimeUtc value.
-
withStartDateTimeUtc
Set the startDateTimeUtc property: The start DateTime of the Timeseries in UTC.- Parameters:
startDateTimeUtc
- the startDateTimeUtc value to set.- Returns:
- the TimeseriesProperties object itself.
-
endDateTimeUtc
Get the endDateTimeUtc property: The end DateTime of the Timeseries in UTC.- Returns:
- the endDateTimeUtc value.
-
withEndDateTimeUtc
Set the endDateTimeUtc property: The end DateTime of the Timeseries in UTC.- Parameters:
endDateTimeUtc
- the endDateTimeUtc value to set.- Returns:
- the TimeseriesProperties object itself.
-
aggregationInterval
Get the aggregationInterval property: The aggregation interval of the Timeseries.- Returns:
- the aggregationInterval value.
-
withAggregationInterval
Set the aggregationInterval property: The aggregation interval of the Timeseries.- Parameters:
aggregationInterval
- the aggregationInterval value to set.- Returns:
- the TimeseriesProperties object itself.
-
timeseriesType
Get the timeseriesType property: The type of Timeseries.- Returns:
- the timeseriesType value.
-
withTimeseriesType
Set the timeseriesType property: The type of Timeseries.- Parameters:
timeseriesType
- the timeseriesType value to set.- Returns:
- the TimeseriesProperties object itself.
-
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
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 TimeseriesProperties object itself.
-
timeseriesData
Get the timeseriesData property: The set of data points for the timeseries.- Returns:
- the timeseriesData value.
-
withTimeseriesData
Set the timeseriesData property: The set of data points for the timeseries.- Parameters:
timeseriesData
- the timeseriesData value to set.- Returns:
- the TimeseriesProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-