Class ReadWriteDatabaseProperties
- java.lang.Object
-
- com.azure.resourcemanager.synapse.fluent.models.ReadWriteDatabaseProperties
-
public final class ReadWriteDatabaseProperties extends Object
Class representing the Kusto database properties.
-
-
Constructor Summary
Constructors Constructor Description ReadWriteDatabaseProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Duration
hotCachePeriod()
Get the hotCachePeriod property: The time the data should be kept in cache for fast queries in TimeSpan.Boolean
isFollowed()
Get the isFollowed property: Indicates whether the database is followed.ResourceProvisioningState
provisioningState()
Get the provisioningState property: The provisioned state of the resource.Duration
softDeletePeriod()
Get the softDeletePeriod property: The time the data should be kept before it stops being accessible to queries in TimeSpan.DatabaseStatistics
statistics()
Get the statistics property: The statistics of the database.void
validate()
Validates the instance.ReadWriteDatabaseProperties
withHotCachePeriod(Duration hotCachePeriod)
Set the hotCachePeriod property: The time the data should be kept in cache for fast queries in TimeSpan.ReadWriteDatabaseProperties
withSoftDeletePeriod(Duration softDeletePeriod)
Set the softDeletePeriod property: The time the data should be kept before it stops being accessible to queries in TimeSpan.
-
-
-
Method Detail
-
provisioningState
public ResourceProvisioningState provisioningState()
Get the provisioningState property: The provisioned state of the resource.- Returns:
- the provisioningState value.
-
softDeletePeriod
public Duration 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
public ReadWriteDatabaseProperties withSoftDeletePeriod(Duration softDeletePeriod)
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 ReadWriteDatabaseProperties object itself.
-
hotCachePeriod
public Duration hotCachePeriod()
Get the hotCachePeriod property: The time the data should be kept in cache for fast queries in TimeSpan.- Returns:
- the hotCachePeriod value.
-
withHotCachePeriod
public ReadWriteDatabaseProperties withHotCachePeriod(Duration hotCachePeriod)
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 ReadWriteDatabaseProperties object itself.
-
statistics
public DatabaseStatistics statistics()
Get the statistics property: The statistics of the database.- Returns:
- the statistics value.
-
isFollowed
public Boolean isFollowed()
Get the isFollowed property: Indicates whether the database is followed.- Returns:
- the isFollowed value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-