ManagedInstanceLongTermRetentionBackupInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. ManagedInstanceLongTermRetentionBackupInner
- com.
- com.
public final class ManagedInstanceLongTermRetentionBackupInner
extends ProxyResource
A long term retention backup for a managed database.
Constructor Summary
Constructor | Description |
---|---|
ManagedInstanceLongTermRetentionBackupInner() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
backupExpirationTime()
Get the backup |
Backup |
backupStorageRedundancy()
Get the backup |
Offset |
backupTime()
Get the backup |
Offset |
databaseDeletionTime()
Get the database |
String |
databaseName()
Get the database |
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Offset |
managedInstanceCreateTime()
Get the managed |
String |
managedInstanceName()
Get the managed |
String |
name()
Get the name property: The name of the resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ManagedInstanceLongTermRetentionBackupInner
public ManagedInstanceLongTermRetentionBackupInner()
Creates an instance of ManagedInstanceLongTermRetentionBackupInner class.
Method Details
backupExpirationTime
public OffsetDateTime backupExpirationTime()
Get the backupExpirationTime property: The time the long term retention backup will expire.
Returns:
backupStorageRedundancy
public BackupStorageRedundancy backupStorageRedundancy()
Get the backupStorageRedundancy property: The storage redundancy type of the backup.
Returns:
backupTime
public OffsetDateTime backupTime()
Get the backupTime property: The time the backup was taken.
Returns:
databaseDeletionTime
public OffsetDateTime databaseDeletionTime()
Get the databaseDeletionTime property: The delete time of the database.
Returns:
databaseName
public String databaseName()
Get the databaseName property: The name of the database the backup belong to.
Returns:
fromJson
public static ManagedInstanceLongTermRetentionBackupInner fromJson(JsonReader jsonReader)
Reads an instance of ManagedInstanceLongTermRetentionBackupInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ManagedInstanceLongTermRetentionBackupInner.id()Returns:
managedInstanceCreateTime
public OffsetDateTime managedInstanceCreateTime()
Get the managedInstanceCreateTime property: The create time of the instance.
Returns:
managedInstanceName
public String managedInstanceName()
Get the managedInstanceName property: The managed instance that the backup database belongs to.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ManagedInstanceLongTermRetentionBackupInner.name()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ManagedInstanceLongTermRetentionBackupInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ManagedInstanceLongTermRetentionBackupInner.type()Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java