public class OpenGaussBackupStrategyForResponse extends Object
| Constructor and Description |
|---|
OpenGaussBackupStrategyForResponse() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getKeepDays()
指定已生成备份文件的可保存天数。 取值范围:1~732。 如果请求体中不填写“backup_strategy”字段,则响应体中 “keep_days”默认返回“7”。
|
String |
getStartTime()
备份时间段。自动备份将在该时间段内触发。 取值范围:非空,格式必须为hh:mm-HH:MM且有效,当前时间指UTC时间。 - HH取值必须比hh大1。 - mm和MM取值必须相同,且取值必须为00。 取值示例: - 08:00-09:00 - 23:00-00:00
|
int |
hashCode() |
void |
setKeepDays(Integer keepDays) |
void |
setStartTime(String startTime) |
String |
toString() |
OpenGaussBackupStrategyForResponse |
withKeepDays(Integer keepDays) |
OpenGaussBackupStrategyForResponse |
withStartTime(String startTime) |
public OpenGaussBackupStrategyForResponse withStartTime(String startTime)
public String getStartTime()
public void setStartTime(String startTime)
public OpenGaussBackupStrategyForResponse withKeepDays(Integer keepDays)
public Integer getKeepDays()
public void setKeepDays(Integer keepDays)
Copyright © 2022. All rights reserved.