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 |
String |
location()
Get the location property: Resource location. |
Long |
maxSizeBytes()
Get the max |
Sku |
sku()
Get the sku property: The name and tier of the SKU. |
Map<String,String> |
tags()
Get the tags property: Resource tags. |
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:
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:
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:
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:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for