Class WarmStoreConfigurationProperties
java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.WarmStoreConfigurationProperties
The warm store configuration provides the details to create a warm store cache that will retain a copy of the
environment's data available for faster query.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WarmStoreConfigurationProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the dataRetention property: ISO8601 timespan specifying the number of days the environment's events will be available for query from the warm store.void
validate()
Validates the instance.withDataRetention
(Duration dataRetention) Set the dataRetention property: ISO8601 timespan specifying the number of days the environment's events will be available for query from the warm store.
-
Constructor Details
-
WarmStoreConfigurationProperties
public WarmStoreConfigurationProperties()Creates an instance of WarmStoreConfigurationProperties class.
-
-
Method Details
-
dataRetention
Get the dataRetention property: ISO8601 timespan specifying the number of days the environment's events will be available for query from the warm store.- Returns:
- the dataRetention value.
-
withDataRetention
Set the dataRetention property: ISO8601 timespan specifying the number of days the environment's events will be available for query from the warm store.- Parameters:
dataRetention
- the dataRetention value to set.- Returns:
- the WarmStoreConfigurationProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-