public class BackupRequestInner extends ProxyOnlyResource
| Constructor and Description |
|---|
BackupRequestInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
backupName()
Get the backupName property: Name of the backup.
|
BackupSchedule |
backupSchedule()
Get the backupSchedule property: Schedule for the backup if it is executed periodically.
|
List<DatabaseBackupSetting> |
databases()
Get the databases property: Databases included in the backup.
|
Boolean |
enabled()
Get the enabled property: True if the backup schedule is enabled (must be included in that case), false if the
backup schedule should be disabled.
|
String |
storageAccountUrl()
Get the storageAccountUrl property: SAS URL to the container.
|
void |
validate()
Validates the instance.
|
BackupRequestInner |
withBackupName(String backupName)
Set the backupName property: Name of the backup.
|
BackupRequestInner |
withBackupSchedule(BackupSchedule backupSchedule)
Set the backupSchedule property: Schedule for the backup if it is executed periodically.
|
BackupRequestInner |
withDatabases(List<DatabaseBackupSetting> databases)
Set the databases property: Databases included in the backup.
|
BackupRequestInner |
withEnabled(Boolean enabled)
Set the enabled property: True if the backup schedule is enabled (must be included in that case), false if the
backup schedule should be disabled.
|
BackupRequestInner |
withKind(String kind)
Set the kind property: Kind of resource.
|
BackupRequestInner |
withStorageAccountUrl(String storageAccountUrl)
Set the storageAccountUrl property: SAS URL to the container.
|
kindpublic String backupName()
public BackupRequestInner withBackupName(String backupName)
backupName - the backupName value to set.public Boolean enabled()
public BackupRequestInner withEnabled(Boolean enabled)
enabled - the enabled value to set.public String storageAccountUrl()
public BackupRequestInner withStorageAccountUrl(String storageAccountUrl)
storageAccountUrl - the storageAccountUrl value to set.public BackupSchedule backupSchedule()
public BackupRequestInner withBackupSchedule(BackupSchedule backupSchedule)
backupSchedule - the backupSchedule value to set.public List<DatabaseBackupSetting> databases()
public BackupRequestInner withDatabases(List<DatabaseBackupSetting> databases)
databases - the databases value to set.public BackupRequestInner withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.