RestorableDroppedDatabaseInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. RestorableDroppedDatabaseInner
- com.
- com.
public final class RestorableDroppedDatabaseInner
extends ProxyResource
A restorable dropped database resource.
Constructor Summary
Constructor | Description |
---|---|
RestorableDroppedDatabaseInner() |
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 |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
location()
Get the location property: Resource location. |
Long |
maxSizeBytes()
Get the max |
String |
name()
Get the name property: The name of the resource. |
Sku |
sku()
Get the sku property: The name and tier of the SKU. |
Map<String,String> |
tags()
Get the tags property: Resource tags. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Restorable |
withLocation(String location)
Set the location property: Resource location. |
Restorable |
withSku(Sku sku)
Set the sku property: The name and tier of the SKU. |
Restorable |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
RestorableDroppedDatabaseInner
public RestorableDroppedDatabaseInner()
Creates an instance of RestorableDroppedDatabaseInner 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 RestorableDroppedDatabaseInner fromJson(JsonReader jsonReader)
Reads an instance of RestorableDroppedDatabaseInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
RestorableDroppedDatabaseInner.id()Returns:
location
public String location()
Get the location property: Resource location.
Returns:
maxSizeBytes
public Long maxSizeBytes()
Get the maxSizeBytes property: The max size of the database expressed in bytes.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
RestorableDroppedDatabaseInner.name()Returns:
sku
public Sku sku()
Get the sku property: The name and tier of the SKU.
Returns:
tags
public Map
Get the tags property: Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RestorableDroppedDatabaseInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
RestorableDroppedDatabaseInner.type()Returns:
validate
public void validate()
Validates the instance.
withLocation
public RestorableDroppedDatabaseInner withLocation(String location)
Set the location property: Resource location.
Parameters:
Returns:
withSku
public RestorableDroppedDatabaseInner withSku(Sku sku)
Set the sku property: The name and tier of the SKU.
Parameters:
Returns:
withTags
public RestorableDroppedDatabaseInner withTags(Map
Set the tags property: Resource tags.
Parameters:
Returns: