Share via


RestorableDroppedManagedDatabaseProperties Class

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

Implements

public final class RestorableDroppedManagedDatabaseProperties
implements JsonSerializable<RestorableDroppedManagedDatabaseProperties>

The restorable dropped managed database's properties.

Constructor Summary

Constructor Description
RestorableDroppedManagedDatabaseProperties()

Creates an instance of RestorableDroppedManagedDatabaseProperties class.

Method Summary

Modifier and Type Method and Description
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 RestorableDroppedManagedDatabaseProperties fromJson(JsonReader jsonReader)

Reads an instance of RestorableDroppedManagedDatabaseProperties from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

RestorableDroppedManagedDatabaseProperties

public RestorableDroppedManagedDatabaseProperties()

Creates an instance of RestorableDroppedManagedDatabaseProperties class.

Method Details

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 RestorableDroppedManagedDatabaseProperties fromJson(JsonReader jsonReader)

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to