public class DescribeBackupsRequest extends AbstractModel
Constructor and Description |
---|
DescribeBackupsRequest() |
DescribeBackupsRequest(DescribeBackupsRequest 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 Filter by backup file format.
|
Long |
getBackupId()
Get Filter by backup ID.
|
String |
getBackupName()
Get Filter by backup name.
|
Long |
getBackupWay()
Get Filter by backup mode.
|
String |
getDatabaseName()
Get Filter backups by the database name.
|
String |
getEndTime()
Get End time (yyyy-MM-dd HH:mm:ss)
|
Long |
getGroup()
Get Whether to group backup files by backup task.
|
String |
getInstanceId()
Get Instance ID in the format of mssql-njj2mtpl
|
Long |
getLimit()
Get Number of results per page.
|
Long |
getOffset()
Get Page number.
|
String |
getStartTime()
Get Start name (yyyy-MM-dd HH:mm:ss)
|
Long |
getStrategy()
Get Filter by backup policy.
|
Long |
getType()
Get Backup type.
|
void |
setBackupFormat(String BackupFormat)
Set Filter by backup file format.
|
void |
setBackupId(Long BackupId)
Set Filter by backup ID.
|
void |
setBackupName(String BackupName)
Set Filter by backup name.
|
void |
setBackupWay(Long BackupWay)
Set Filter by backup mode.
|
void |
setDatabaseName(String DatabaseName)
Set Filter backups by the database name.
|
void |
setEndTime(String EndTime)
Set End time (yyyy-MM-dd HH:mm:ss)
|
void |
setGroup(Long Group)
Set Whether to group backup files by backup task.
|
void |
setInstanceId(String InstanceId)
Set Instance ID in the format of mssql-njj2mtpl
|
void |
setLimit(Long Limit)
Set Number of results per page.
|
void |
setOffset(Long Offset)
Set Page number.
|
void |
setStartTime(String StartTime)
Set Start name (yyyy-MM-dd HH:mm:ss)
|
void |
setStrategy(Long Strategy)
Set Filter by backup policy.
|
void |
setType(Long Type)
Set Backup type.
|
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 DescribeBackupsRequest()
public DescribeBackupsRequest(DescribeBackupsRequest source)
public String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Start name (yyyy-MM-dd HH:mm:ss)public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End time (yyyy-MM-dd HH:mm:ss)public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID in the format of mssql-njj2mtplpublic Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of results per page. Value range: 1-100. Default value: 20public Long getOffset()
public void setOffset(Long Offset)
Offset
- Page number. Default value: 0public String getBackupName()
public void setBackupName(String BackupName)
BackupName
- Filter by backup name. If this parameter is left empty, backup name will not be used in filtering.public Long getStrategy()
public void setStrategy(Long Strategy)
Strategy
- Filter by backup policy. Valid values: 0 (instance backup), 1 (multi-database backup). If this parameter is left empty, backup policy will not be used in filtering.public Long getBackupWay()
public void setBackupWay(Long BackupWay)
BackupWay
- Filter by backup mode. Valid values: `0` (scheduled backup); `1` (manual backup); `2` (archive backup). Default value: `2`.public Long getBackupId()
public void setBackupId(Long BackupId)
BackupId
- Filter by backup ID. If this parameter is left empty, backup ID will not be used in filtering.public String getDatabaseName()
public void setDatabaseName(String DatabaseName)
DatabaseName
- Filter backups by the database name. If the parameter is left empty, this filter criteria will not take effect.public Long getGroup()
public void setGroup(Long Group)
Group
- Whether to group backup files by backup task. Valid value: `0` (no), `1` (yes). Default value: `0`. This parameter is valid only for unarchived backup files.public Long getType()
public void setType(Long Type)
Type
- Backup type. Valid values: `1` (data backup), `2` (log backup). Default value: `1`.public String getBackupFormat()
public void setBackupFormat(String BackupFormat)
BackupFormat
- Filter by backup file format. Valid values: `pkg` (archive file), `single` (Unarchived files).Copyright © 2023. All rights reserved.