public class Backup extends AbstractModel
header, skipSign
Constructor and Description |
---|
Backup() |
Backup(Backup 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 |
getBackupFormat()
Get Backup file format.
|
String |
getBackupName()
Get Backup task name (customizable)
|
Long |
getBackupWay()
Get Backup Mode.
|
CrossBackupAddr[] |
getCrossBackupAddr()
Get The download address of cross-region backup in target region
|
CrossRegionStatus[] |
getCrossBackupStatus()
Get The target region and status of cross-region backup
|
String[] |
getDBs()
Get List of databases for multi-database backup
|
String |
getEndTime()
Get Backup end time
|
String |
getExternalAddr()
Get Public network download address.
|
String |
getFileName()
Get File name.
|
String |
getGroupId()
Get Group ID of unarchived backup files, which can be used as a request parameter in the `DescribeBackupFiles` API to get details of unarchived backup files in the specified group.
|
Long |
getId()
Get Unique ID of a backup file, which is used by the `RestoreInstance` API.
|
String |
getInternalAddr()
Get Private network download address.
|
String |
getRegion()
Get The code of current region where the instance resides
|
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 |
setBackupFormat(String BackupFormat)
Set Backup file format.
|
void |
setBackupName(String BackupName)
Set Backup task name (customizable)
|
void |
setBackupWay(Long BackupWay)
Set Backup Mode.
|
void |
setCrossBackupAddr(CrossBackupAddr[] CrossBackupAddr)
Set The download address of cross-region backup in target region
|
void |
setCrossBackupStatus(CrossRegionStatus[] CrossBackupStatus)
Set The target region and status of cross-region backup
|
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 Public network download address.
|
void |
setFileName(String FileName)
Set File name.
|
void |
setGroupId(String GroupId)
Set Group ID of unarchived backup files, which can be used as a request parameter in the `DescribeBackupFiles` API to get details of unarchived backup files in the specified group.
|
void |
setId(Long Id)
Set Unique ID of a backup file, which is used by the `RestoreInstance` API.
|
void |
setInternalAddr(String InternalAddr)
Set Private network download address.
|
void |
setRegion(String Region)
Set The code of current region where the instance resides
|
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, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public Backup()
public Backup(Backup source)
public String getFileName()
public void setFileName(String FileName)
FileName
- File name. The name of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter.public Long getSize()
public void setSize(Long Size)
Size
- File size in KB. The size of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter.public 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
- Private network download address. The download address of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter.public String getExternalAddr()
public void setExternalAddr(String ExternalAddr)
ExternalAddr
- Public network download address. The download address of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter.public Long getId()
public void setId(Long Id)
Id
- Unique ID of a backup file, which is used by the `RestoreInstance` API. The unique ID of an unarchived backup file is returned by the `DescribeBackupFiles` API instead of this parameter.public 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. Valid values: `0` (scheduled backup); `1` (manual backup); `2` (archive backup).public String getBackupName()
public void setBackupName(String BackupName)
BackupName
- Backup task name (customizable)public String getGroupId()
public void setGroupId(String GroupId)
GroupId
- Group ID of unarchived backup files, which can be used as a request parameter in the `DescribeBackupFiles` API to get details of unarchived backup files in the specified group. This parameter is invalid for archived backup files.public String getBackupFormat()
public void setBackupFormat(String BackupFormat)
BackupFormat
- Backup file format. Valid values:`pkg` (archive file), `single` (unarchived files).public String getRegion()
public void setRegion(String Region)
Region
- The code of current region where the instance residespublic CrossBackupAddr[] getCrossBackupAddr()
public void setCrossBackupAddr(CrossBackupAddr[] CrossBackupAddr)
CrossBackupAddr
- The download address of cross-region backup in target regionpublic CrossRegionStatus[] getCrossBackupStatus()
public void setCrossBackupStatus(CrossRegionStatus[] CrossBackupStatus)
CrossBackupStatus
- The target region and status of cross-region backupCopyright © 2024. All rights reserved.