public class CreateBackupRequest extends AbstractModel
Constructor and Description |
---|
CreateBackupRequest() |
CreateBackupRequest(CreateBackupRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getBackupName()
Get Backup name.
|
String[] |
getDBNames()
Get List of names of databases to be backed up (required only for multi-database backup)
|
String |
getInstanceId()
Get Instance ID in the format of mssql-i1z41iwd
|
Long |
getStrategy()
Get Backup policy (0: instance backup, 1: multi-database backup)
|
void |
setBackupName(String BackupName)
Set Backup name.
|
void |
setDBNames(String[] DBNames)
Set List of names of databases to be backed up (required only for multi-database backup)
|
void |
setInstanceId(String InstanceId)
Set Instance ID in the format of mssql-i1z41iwd
|
void |
setStrategy(Long Strategy)
Set Backup policy (0: instance backup, 1: multi-database backup)
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CreateBackupRequest()
public CreateBackupRequest(CreateBackupRequest source)
public Long getStrategy()
public void setStrategy(Long Strategy)
Strategy
- Backup policy (0: instance backup, 1: multi-database backup)public String[] getDBNames()
public void setDBNames(String[] DBNames)
DBNames
- List of names of databases to be backed up (required only for multi-database backup)public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID in the format of mssql-i1z41iwdpublic String getBackupName()
public void setBackupName(String BackupName)
BackupName
- Backup name. If this parameter is left empty, a backup name in the format of "[Instance ID]_[Backup start timestamp]" will be automatically generated.Copyright © 2023. All rights reserved.