public final class ReadWriteDatabaseProperties extends Object
Constructor and Description |
---|
ReadWriteDatabaseProperties() |
Modifier and Type | Method and 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.
|
public ResourceProvisioningState provisioningState()
public Duration softDeletePeriod()
public ReadWriteDatabaseProperties withSoftDeletePeriod(Duration softDeletePeriod)
softDeletePeriod
- the softDeletePeriod value to set.public Duration hotCachePeriod()
public ReadWriteDatabaseProperties withHotCachePeriod(Duration hotCachePeriod)
hotCachePeriod
- the hotCachePeriod value to set.public DatabaseStatistics statistics()
public Boolean isFollowed()
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.