Share via


RestorableDroppedDatabaseProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.RestorableDroppedDatabaseProperties

Implements

public final class RestorableDroppedDatabaseProperties
implements JsonSerializable<RestorableDroppedDatabaseProperties>

The restorable dropped database's properties.

Constructor Summary

Constructor Description
RestorableDroppedDatabaseProperties()

Creates an instance of RestorableDroppedDatabaseProperties class.

Method Summary

Modifier and Type Method and Description
BackupStorageRedundancy backupStorageRedundancy()

Get the backupStorageRedundancy property: The storage account type used to store backups for this database.

OffsetDateTime creationDate()

Get the creationDate property: The creation date of the database (ISO8601 format).

String databaseName()

Get the databaseName property: The name of the database.

OffsetDateTime deletionDate()

Get the deletionDate property: The deletion date of the database (ISO8601 format).

OffsetDateTime earliestRestoreDate()

Get the earliestRestoreDate property: The earliest restore date of the database (ISO8601 format).

static RestorableDroppedDatabaseProperties fromJson(JsonReader jsonReader)

Reads an instance of RestorableDroppedDatabaseProperties from the JsonReader.

Long maxSizeBytes()

Get the maxSizeBytes property: The max size of the database expressed in bytes.

JsonWriter 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:

the backupStorageRedundancy value.

creationDate

public OffsetDateTime creationDate()

Get the creationDate property: The creation date of the database (ISO8601 format).

Returns:

the creationDate value.

databaseName

public String databaseName()

Get the databaseName property: The name of the database.

Returns:

the databaseName value.

deletionDate

public OffsetDateTime deletionDate()

Get the deletionDate property: The deletion date of the database (ISO8601 format).

Returns:

the deletionDate value.

earliestRestoreDate

public OffsetDateTime earliestRestoreDate()

Get the earliestRestoreDate property: The earliest restore date of the database (ISO8601 format).

Returns:

the earliestRestoreDate value.

fromJson

public static RestorableDroppedDatabaseProperties fromJson(JsonReader jsonReader)

Reads an instance of RestorableDroppedDatabaseProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RestorableDroppedDatabaseProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the RestorableDroppedDatabaseProperties.

maxSizeBytes

public Long maxSizeBytes()

Get the maxSizeBytes property: The max size of the database expressed in bytes.

Returns:

the maxSizeBytes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to