public class DescribeInstanceBackupsRequest extends AbstractModel
Constructor and Description |
---|
DescribeInstanceBackupsRequest() |
DescribeInstanceBackupsRequest(DescribeInstanceBackupsRequest 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 |
getBeginTime()
Get Start time in the format of yyyy-MM-dd HH:mm:ss, such as 2017-02-08 16:46:34.
|
String |
getEndTime()
Get End time in the format of yyyy-MM-dd HH:mm:ss, such as 2017-02-08 19:09:26.
|
String |
getInstanceId()
Get ID of the instance to be operated on, which can be obtained through the `InstanceId` field in the return value of the `DescribeInstance` API.
|
String |
getInstanceName()
Get Instance name, which can be fuzzily searched.
|
Long |
getLimit()
Get Number of backups returned per page.
|
Long |
getOffset()
Get Pagination offset, which is an integral multiple of `Limit`.
|
Long[] |
getStatus()
Get Backup task status:
`1`: The backup is in the process.
|
void |
setBeginTime(String BeginTime)
Set Start time in the format of yyyy-MM-dd HH:mm:ss, such as 2017-02-08 16:46:34.
|
void |
setEndTime(String EndTime)
Set End time in the format of yyyy-MM-dd HH:mm:ss, such as 2017-02-08 19:09:26.
|
void |
setInstanceId(String InstanceId)
Set ID of the instance to be operated on, which can be obtained through the `InstanceId` field in the return value of the `DescribeInstance` API.
|
void |
setInstanceName(String InstanceName)
Set Instance name, which can be fuzzily searched.
|
void |
setLimit(Long Limit)
Set Number of backups returned per page.
|
void |
setOffset(Long Offset)
Set Pagination offset, which is an integral multiple of `Limit`.
|
void |
setStatus(Long[] Status)
Set Backup task status:
`1`: The backup is in the process.
|
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 DescribeInstanceBackupsRequest()
public DescribeInstanceBackupsRequest(DescribeInstanceBackupsRequest source)
public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of backups returned per page. Default value: `20`. Maximum value: `100`.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Pagination offset, which is an integral multiple of `Limit`. `offset` = `limit` * (page number - 1).public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- ID of the instance to be operated on, which can be obtained through the `InstanceId` field in the return value of the `DescribeInstance` API.public String getBeginTime()
public void setBeginTime(String BeginTime)
BeginTime
- Start time in the format of yyyy-MM-dd HH:mm:ss, such as 2017-02-08 16:46:34. This parameter is used to query the list of instance backups started during the [beginTime, endTime] range.public String getEndTime()
public void setEndTime(String EndTime)
EndTime
- End time in the format of yyyy-MM-dd HH:mm:ss, such as 2017-02-08 19:09:26. This parameter is used to query the list of instance backups started during the [beginTime, endTime] range.public Long[] getStatus()
public void setStatus(Long[] Status)
Status
- Backup task status:
`1`: The backup is in the process.
`2`: The backup is normal.
`3`: The backup is being converted to an RDB file.
`4`: Conversion to RDB has been completed.
`-1`: The backup expired.
`-2`: The backup has been deleted.public String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- Instance name, which can be fuzzily searched.Copyright © 2023. All rights reserved.