public class OpenGaussBackupStrategy extends Object
| Constructor and Description |
|---|
OpenGaussBackupStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getKeepDays()
指定备份文件的可保存天数。 取值范围:0~732。该参数缺省或为0时,默认填写为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() |
OpenGaussBackupStrategy |
withKeepDays(Integer keepDays) |
OpenGaussBackupStrategy |
withStartTime(String startTime) |
public OpenGaussBackupStrategy withStartTime(String startTime)
public String getStartTime()
public void setStartTime(String startTime)
public OpenGaussBackupStrategy withKeepDays(Integer keepDays)
public Integer getKeepDays()
public void setKeepDays(Integer keepDays)
Copyright © 2022. All rights reserved.