Class RestorableDroppedManagedDatabaseProperties
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.RestorableDroppedManagedDatabaseProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RestorableDroppedManagedDatabaseProperties>
public final class RestorableDroppedManagedDatabaseProperties
extends Object
implements com.azure.json.JsonSerializable<RestorableDroppedManagedDatabaseProperties>
The restorable dropped managed database's properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of RestorableDroppedManagedDatabaseProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the creationDate property: The creation date of the database (ISO8601 format).Get the databaseName property: The name of the database.Get the deletionDate property: The deletion date of the database (ISO8601 format).Get the earliestRestoreDate property: The earliest restore date of the database (ISO8601 format).fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RestorableDroppedManagedDatabaseProperties from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
RestorableDroppedManagedDatabaseProperties
public RestorableDroppedManagedDatabaseProperties()Creates an instance of RestorableDroppedManagedDatabaseProperties class.
-
-
Method Details
-
databaseName
Get the databaseName property: The name of the database.- Returns:
- the databaseName value.
-
creationDate
Get the creationDate property: The creation date of the database (ISO8601 format).- Returns:
- the creationDate value.
-
deletionDate
Get the deletionDate property: The deletion date of the database (ISO8601 format).- Returns:
- the deletionDate value.
-
earliestRestoreDate
Get the earliestRestoreDate property: The earliest restore date of the database (ISO8601 format).- Returns:
- the earliestRestoreDate value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<RestorableDroppedManagedDatabaseProperties>- Throws:
IOException
-
fromJson
public static RestorableDroppedManagedDatabaseProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of RestorableDroppedManagedDatabaseProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of RestorableDroppedManagedDatabaseProperties 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 RestorableDroppedManagedDatabaseProperties.
-