Class BackupPlan
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.postgres.v20170312.models.BackupPlan
-
public class BackupPlan extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description BackupPlan()
BackupPlan(BackupPlan 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBackupPeriod()
Get 备份周期Long
getBaseBackupRetentionPeriod()
Get 基础备份保留时长String
getMaxBackupStartTime()
Get 开始备份的最晚时间String
getMinBackupStartTime()
Get 开始备份的最早时间void
setBackupPeriod(String BackupPeriod)
Set 备份周期void
setBaseBackupRetentionPeriod(Long BaseBackupRetentionPeriod)
Set 基础备份保留时长void
setMaxBackupStartTime(String MaxBackupStartTime)
Set 开始备份的最晚时间void
setMinBackupStartTime(String MinBackupStartTime)
Set 开始备份的最早时间void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
BackupPlan
public BackupPlan()
-
BackupPlan
public BackupPlan(BackupPlan 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.
-
-
Method Detail
-
getBackupPeriod
public String getBackupPeriod()
Get 备份周期- Returns:
- BackupPeriod 备份周期
-
setBackupPeriod
public void setBackupPeriod(String BackupPeriod)
Set 备份周期- Parameters:
BackupPeriod
- 备份周期
-
getBaseBackupRetentionPeriod
public Long getBaseBackupRetentionPeriod()
Get 基础备份保留时长- Returns:
- BaseBackupRetentionPeriod 基础备份保留时长
-
setBaseBackupRetentionPeriod
public void setBaseBackupRetentionPeriod(Long BaseBackupRetentionPeriod)
Set 基础备份保留时长- Parameters:
BaseBackupRetentionPeriod
- 基础备份保留时长
-
getMinBackupStartTime
public String getMinBackupStartTime()
Get 开始备份的最早时间- Returns:
- MinBackupStartTime 开始备份的最早时间
-
setMinBackupStartTime
public void setMinBackupStartTime(String MinBackupStartTime)
Set 开始备份的最早时间- Parameters:
MinBackupStartTime
- 开始备份的最早时间
-
getMaxBackupStartTime
public String getMaxBackupStartTime()
Get 开始备份的最晚时间- Returns:
- MaxBackupStartTime 开始备份的最晚时间
-
setMaxBackupStartTime
public void setMaxBackupStartTime(String MaxBackupStartTime)
Set 开始备份的最晚时间- Parameters:
MaxBackupStartTime
- 开始备份的最晚时间
-
-