Class ReadOnlyFollowingDatabaseProperties
- java.lang.Object
-
- com.azure.resourcemanager.kusto.fluent.models.ReadOnlyFollowingDatabaseProperties
-
public final class ReadOnlyFollowingDatabaseProperties extends Object
Class representing the Kusto database properties.
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyFollowingDatabaseProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
attachedDatabaseConfigurationName()
Get the attachedDatabaseConfigurationName property: The name of the attached database configuration cluster.Duration
hotCachePeriod()
Get the hotCachePeriod property: The time the data should be kept in cache for fast queries in TimeSpan.String
leaderClusterResourceId()
Get the leaderClusterResourceId property: The name of the leader cluster.PrincipalsModificationKind
principalsModificationKind()
Get the principalsModificationKind property: The principals modification kind of the database.ProvisioningState
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.ReadOnlyFollowingDatabaseProperties
withHotCachePeriod(Duration hotCachePeriod)
Set the hotCachePeriod property: The time the data should be kept in cache for fast queries in TimeSpan.
-
-
-
Method Detail
-
provisioningState
public ProvisioningState 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.
-
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 ReadOnlyFollowingDatabaseProperties 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 ReadOnlyFollowingDatabaseProperties object itself.
-
statistics
public DatabaseStatistics statistics()
Get the statistics property: The statistics of the database.- Returns:
- the statistics value.
-
leaderClusterResourceId
public String leaderClusterResourceId()
Get the leaderClusterResourceId property: The name of the leader cluster.- Returns:
- the leaderClusterResourceId value.
-
attachedDatabaseConfigurationName
public String attachedDatabaseConfigurationName()
Get the attachedDatabaseConfigurationName property: The name of the attached database configuration cluster.- Returns:
- the attachedDatabaseConfigurationName value.
-
principalsModificationKind
public PrincipalsModificationKind principalsModificationKind()
Get the principalsModificationKind property: The principals modification kind of the database.- Returns:
- the principalsModificationKind value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-