public class BackupInfo extends AbstractModel
Constructor and Description |
---|
BackupInfo() |
BackupInfo(BackupInfo 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 |
---|---|
Long |
getBackupId()
Get Backup subtask ID, which is used when backup files are deleted
|
Long |
getCosStorageType()
Get Storage method.
|
String |
getCreator()
Get (This field will be disused and is thus not recommended) backup creator.
|
String |
getDate()
Get Backup snapshot time in the format of yyyy-MM-dd HH:mm:ss, such as 2016-03-17 02:10:37
|
String |
getEncryptionFlag()
Get Whether the backup file is encrypted.
|
String |
getFinishTime()
Get Backup task completion time
|
String |
getInstanceId()
Get Instance ID in the format of cdb-c1nl9rpv.
|
String |
getInternetUrl()
Get Download address
|
String |
getIntranetUrl()
Get Download address
|
String |
getManualBackupName()
Get Manual backup alias
|
String |
getMethod()
Get Backup method.
|
String |
getName()
Get Backup filename
|
String |
getRegion()
Get The region where local backup resides
|
RemoteBackupInfo[] |
getRemoteInfo()
Get Detailed information of remote backups
|
String |
getSaveMode()
Get Backup retention type.
|
Long |
getSize()
Get Backup file size in bytes
|
String |
getStartTime()
Get Backup task start time
|
String |
getStatus()
Get Backup task status.
|
String |
getType()
Get Log type.
|
String |
getWay()
Get Backup mode.
|
void |
setBackupId(Long BackupId)
Set Backup subtask ID, which is used when backup files are deleted
|
void |
setCosStorageType(Long CosStorageType)
Set Storage method.
|
void |
setCreator(String Creator)
Set (This field will be disused and is thus not recommended) backup creator.
|
void |
setDate(String Date)
Set Backup snapshot time in the format of yyyy-MM-dd HH:mm:ss, such as 2016-03-17 02:10:37
|
void |
setEncryptionFlag(String EncryptionFlag)
Set Whether the backup file is encrypted.
|
void |
setFinishTime(String FinishTime)
Set Backup task completion time
|
void |
setInstanceId(String InstanceId)
Set Instance ID in the format of cdb-c1nl9rpv.
|
void |
setInternetUrl(String InternetUrl)
Set Download address
|
void |
setIntranetUrl(String IntranetUrl)
Set Download address
|
void |
setManualBackupName(String ManualBackupName)
Set Manual backup alias
|
void |
setMethod(String Method)
Set Backup method.
|
void |
setName(String Name)
Set Backup filename
|
void |
setRegion(String Region)
Set The region where local backup resides
|
void |
setRemoteInfo(RemoteBackupInfo[] RemoteInfo)
Set Detailed information of remote backups
|
void |
setSaveMode(String SaveMode)
Set Backup retention type.
|
void |
setSize(Long Size)
Set Backup file size in bytes
|
void |
setStartTime(String StartTime)
Set Backup task start time
|
void |
setStatus(String Status)
Set Backup task status.
|
void |
setType(String Type)
Set Log type.
|
void |
setWay(String Way)
Set Backup mode.
|
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 BackupInfo()
public BackupInfo(BackupInfo source)
public String getName()
public void setName(String Name)
Name
- Backup filenamepublic Long getSize()
public void setSize(Long Size)
Size
- Backup file size in bytespublic String getDate()
public void setDate(String Date)
Date
- Backup snapshot time in the format of yyyy-MM-dd HH:mm:ss, such as 2016-03-17 02:10:37public String getIntranetUrl()
public void setIntranetUrl(String IntranetUrl)
IntranetUrl
- Download addresspublic String getInternetUrl()
public void setInternetUrl(String InternetUrl)
InternetUrl
- Download addresspublic String getType()
public void setType(String Type)
Type
- Log type. Valid values: `logical` (logical cold backup), `physical` (physical cold backup).public Long getBackupId()
public void setBackupId(Long BackupId)
BackupId
- Backup subtask ID, which is used when backup files are deletedpublic String getStatus()
public void setStatus(String Status)
Status
- Backup task status. Valid values: `SUCCESS` (backup succeeded), `FAILED` (backup failed), `RUNNING` (backup is in progress).public String getFinishTime()
public void setFinishTime(String FinishTime)
FinishTime
- Backup task completion timepublic String getCreator()
public void setCreator(String Creator)
Creator
- (This field will be disused and is thus not recommended) backup creator. Valid values: `SYSTEM` (created by system), `Uin` (initiator's `Uin` value).public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Backup task start timepublic String getMethod()
public void setMethod(String Method)
Method
- Backup method. Valid values: `full` (full backup), `partial` (partial backup).public String getWay()
public void setWay(String Way)
Way
- Backup mode. Valid values: `manual` (manual backup), `automatic` (automatic backup).public String getManualBackupName()
public void setManualBackupName(String ManualBackupName)
ManualBackupName
- Manual backup aliaspublic String getSaveMode()
public void setSaveMode(String SaveMode)
SaveMode
- Backup retention type. Valid values: `save_mode_regular` (non-archive backup), save_mode_period`(archive backup).public String getRegion()
public void setRegion(String Region)
Region
- The region where local backup residespublic RemoteBackupInfo[] getRemoteInfo()
public void setRemoteInfo(RemoteBackupInfo[] RemoteInfo)
RemoteInfo
- Detailed information of remote backupspublic Long getCosStorageType()
public void setCosStorageType(Long CosStorageType)
CosStorageType
- Storage method. Valid values: `0` (regular storage), `1`(archive storage). Default value: `0`.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID in the format of cdb-c1nl9rpv. It is the same as the instance ID displayed in the TencentDB console.public String getEncryptionFlag()
public void setEncryptionFlag(String EncryptionFlag)
EncryptionFlag
- Whether the backup file is encrypted. Valid values: `on` (encrypted), `off` (unencrypted).
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.