public class Backup extends AbstractModel
Constructor and Description |
---|
Backup() |
Modifier and Type | Method and Description |
---|---|
String |
getBackupName()
Get Backup name, which can be customized.
|
Long |
getBackupWay()
Get Backup mode.
|
String[] |
getDBs()
Get List of databases for multi-database backup
|
String |
getEndTime()
Get Backup end time
|
String |
getExternalAddr()
Get Download address for public network
|
String |
getFileName()
Get Filename
|
Long |
getId()
Get Unique ID of backup file, which will be used by the `RestoreInstance` API
|
String |
getInternalAddr()
Get Download address for private network
|
Long |
getSize()
Get File size in KB
|
String |
getStartTime()
Get Backup start time
|
Long |
getStatus()
Get Backup file status (0: creating, 1: succeeded, 2: failed)
|
Long |
getStrategy()
Get Backup policy (0: instance backup, 1: multi-database backup)
|
void |
setBackupName(String BackupName)
Set Backup name, which can be customized.
|
void |
setBackupWay(Long BackupWay)
Set Backup mode.
|
void |
setDBs(String[] DBs)
Set List of databases for multi-database backup
|
void |
setEndTime(String EndTime)
Set Backup end time
|
void |
setExternalAddr(String ExternalAddr)
Set Download address for public network
|
void |
setFileName(String FileName)
Set Filename
|
void |
setId(Long Id)
Set Unique ID of backup file, which will be used by the `RestoreInstance` API
|
void |
setInternalAddr(String InternalAddr)
Set Download address for private network
|
void |
setSize(Long Size)
Set File size in KB
|
void |
setStartTime(String StartTime)
Set Backup start time
|
void |
setStatus(Long Status)
Set Backup file status (0: creating, 1: succeeded, 2: failed)
|
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 String getFileName()
public void setFileName(String FileName)
FileName
- Filenamepublic Long getSize()
public void setSize(Long Size)
Size
- File size in KBpublic String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Backup start timepublic String getEndTime()
public void setEndTime(String EndTime)
EndTime
- Backup end timepublic String getInternalAddr()
public void setInternalAddr(String InternalAddr)
InternalAddr
- Download address for private networkpublic String getExternalAddr()
public void setExternalAddr(String ExternalAddr)
ExternalAddr
- Download address for public networkpublic Long getId()
public void setId(Long Id)
Id
- Unique ID of backup file, which will be used by the `RestoreInstance` APIpublic Long getStatus()
public void setStatus(Long Status)
Status
- Backup file status (0: creating, 1: succeeded, 2: failed)public String[] getDBs()
public void setDBs(String[] DBs)
DBs
- List of databases for multi-database backuppublic Long getStrategy()
public void setStrategy(Long Strategy)
Strategy
- Backup policy (0: instance backup, 1: multi-database backup)public Long getBackupWay()
public void setBackupWay(Long BackupWay)
BackupWay
- Backup mode. 0: scheduled, 1: manualpublic String getBackupName()
public void setBackupName(String BackupName)
BackupName
- Backup name, which can be customized.Copyright © 2020. All rights reserved.