RestorableDroppedDatabaseProperties Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. RestorableDroppedDatabaseProperties
- com.
Implements
public final class RestorableDroppedDatabaseProperties
implements JsonSerializable<RestorableDroppedDatabaseProperties>
The restorable dropped database's properties.
Constructor Summary
| Constructor | Description |
|---|---|
| RestorableDroppedDatabaseProperties() |
Creates an instance of Restorable |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Backup |
backupStorageRedundancy()
Get the backup |
|
Offset |
creationDate()
Get the creation |
| String |
databaseName()
Get the database |
|
Offset |
deletionDate()
Get the deletion |
|
Offset |
earliestRestoreDate()
Get the earliest |
|
static
Restorable |
fromJson(JsonReader jsonReader)
Reads an instance of Restorable |
| Long |
maxSizeBytes()
Get the max |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
RestorableDroppedDatabaseProperties
public RestorableDroppedDatabaseProperties()
Creates an instance of RestorableDroppedDatabaseProperties class.
Method Details
backupStorageRedundancy
public BackupStorageRedundancy backupStorageRedundancy()
Get the backupStorageRedundancy property: The storage account type used to store backups for this database.
Returns:
creationDate
public OffsetDateTime creationDate()
Get the creationDate property: The creation date of the database (ISO8601 format).
Returns:
databaseName
public String databaseName()
Get the databaseName property: The name of the database.
Returns:
deletionDate
public OffsetDateTime deletionDate()
Get the deletionDate property: The deletion date of the database (ISO8601 format).
Returns:
earliestRestoreDate
public OffsetDateTime earliestRestoreDate()
Get the earliestRestoreDate property: The earliest restore date of the database (ISO8601 format).
Returns:
fromJson
public static RestorableDroppedDatabaseProperties fromJson(JsonReader jsonReader)
Reads an instance of RestorableDroppedDatabaseProperties from the JsonReader.
Parameters:
Returns:
Throws:
maxSizeBytes
public Long maxSizeBytes()
Get the maxSizeBytes property: The max size of the database expressed in bytes.
Returns:
toJson
validate
public void validate()
Validates the instance.