Class ReadWriteDatabase
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.kusto.fluent.models.DatabaseInner
com.azure.resourcemanager.kusto.models.ReadWriteDatabase
Class representing a read write database.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the hotCachePeriod property: The time the data should be kept in cache for fast queries in TimeSpan.Get the isFollowed property: Indicates whether the database is followed.Get the provisioningState property: The provisioned state of the resource.Get the softDeletePeriod property: The time the data should be kept before it stops being accessible to queries in TimeSpan.Get the statistics property: The statistics of the database.void
validate()
Validates the instance.withHotCachePeriod
(Duration hotCachePeriod) Set the hotCachePeriod property: The time the data should be kept in cache for fast queries in TimeSpan.withLocation
(String location) Set the location property: Resource location.withSoftDeletePeriod
(Duration softDeletePeriod) Set the softDeletePeriod property: The time the data should be kept before it stops being accessible to queries in TimeSpan.Methods inherited from class com.azure.resourcemanager.kusto.fluent.models.DatabaseInner
location
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
ReadWriteDatabase
public ReadWriteDatabase()
-
-
Method Details
-
withLocation
Set the location property: Resource location.- Overrides:
withLocation
in classDatabaseInner
- Parameters:
location
- the location value to set.- Returns:
- the DatabaseInner object itself.
-
provisioningState
Get the provisioningState property: The provisioned state of the resource.- Returns:
- the provisioningState value.
-
softDeletePeriod
Get the softDeletePeriod property: The time the data should be kept before it stops being accessible to queries in TimeSpan.- Returns:
- the softDeletePeriod value.
-
withSoftDeletePeriod
Set the softDeletePeriod property: The time the data should be kept before it stops being accessible to queries in TimeSpan.- Parameters:
softDeletePeriod
- the softDeletePeriod value to set.- Returns:
- the ReadWriteDatabase object itself.
-
hotCachePeriod
Get the hotCachePeriod property: The time the data should be kept in cache for fast queries in TimeSpan.- Returns:
- the hotCachePeriod value.
-
withHotCachePeriod
Set the hotCachePeriod property: The time the data should be kept in cache for fast queries in TimeSpan.- Parameters:
hotCachePeriod
- the hotCachePeriod value to set.- Returns:
- the ReadWriteDatabase object itself.
-
statistics
Get the statistics property: The statistics of the database.- Returns:
- the statistics value.
-
isFollowed
Get the isFollowed property: Indicates whether the database is followed.- Returns:
- the isFollowed value.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classDatabaseInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-