Dela via


TimeseriesInner Class

public final class TimeseriesInner
extends Resource

Defines the Timeseries.

Constructor Summary

Constructor Description
TimeseriesInner()

Creates an instance of TimeseriesInner class.

Method Summary

Modifier and Type Method and Description
AggregationInterval aggregationInterval()

Get the aggregationInterval property: The aggregation interval of the Timeseries.

String country()

Get the country property: The country associated with the Timeseries.

String endDateTimeUtc()

Get the endDateTimeUtc property: The end DateTime of the Timeseries in UTC.

String endpoint()

Get the endpoint property: The endpoint associated with the Timeseries data point.

String startDateTimeUtc()

Get the startDateTimeUtc property: The start DateTime of the Timeseries in UTC.

List<TimeseriesDataPoint> timeseriesData()

Get the timeseriesData property: The set of data points for the timeseries.

TimeseriesType timeseriesType()

Get the timeseriesType property: The type of Timeseries.

void validate()

Validates the instance.

TimeseriesInner withAggregationInterval(AggregationInterval aggregationInterval)

Set the aggregationInterval property: The aggregation interval of the Timeseries.

TimeseriesInner withCountry(String country)

Set the country property: The country associated with the Timeseries.

TimeseriesInner withEndDateTimeUtc(String endDateTimeUtc)

Set the endDateTimeUtc property: The end DateTime of the Timeseries in UTC.

TimeseriesInner withEndpoint(String endpoint)

Set the endpoint property: The endpoint associated with the Timeseries data point.

TimeseriesInner withLocation(String location)
TimeseriesInner withStartDateTimeUtc(String startDateTimeUtc)

Set the startDateTimeUtc property: The start DateTime of the Timeseries in UTC.

TimeseriesInner withTags(Map<String,String> tags)
TimeseriesInner withTimeseriesData(List<TimeseriesDataPoint> timeseriesData)

Set the timeseriesData property: The set of data points for the timeseries.

TimeseriesInner withTimeseriesType(TimeseriesType timeseriesType)

Set the timeseriesType property: The type of Timeseries.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

TimeseriesInner

public TimeseriesInner()

Creates an instance of TimeseriesInner class.

Method Details

aggregationInterval

public AggregationInterval aggregationInterval()

Get the aggregationInterval property: The aggregation interval of the Timeseries.

Returns:

the aggregationInterval value.

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.

endDateTimeUtc

public String endDateTimeUtc()

Get the endDateTimeUtc property: The end DateTime of the Timeseries in UTC.

Returns:

the endDateTimeUtc value.

endpoint

public String endpoint()

Get the endpoint property: The endpoint associated with the Timeseries data point.

Returns:

the endpoint value.

startDateTimeUtc

public String startDateTimeUtc()

Get the startDateTimeUtc property: The start DateTime of the Timeseries in UTC.

Returns:

the startDateTimeUtc value.

timeseriesData

public List<TimeseriesDataPoint> timeseriesData()

Get the timeseriesData property: The set of data points for the timeseries.

Returns:

the timeseriesData value.

timeseriesType

public TimeseriesType timeseriesType()

Get the timeseriesType property: The type of Timeseries.

Returns:

the timeseriesType value.

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

withLocation

public TimeseriesInner withLocation(String location)

Overrides:

TimeseriesInner.withLocation(String location)

Parameters:

location

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.

withTags

public TimeseriesInner withTags(Map<String,String> tags)

Overrides:

TimeseriesInner.withTags(Map<String,String> tags)

Parameters:

tags

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.

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.

Applies to