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 StringgetBackupPeriod()Get 备份周期LonggetBaseBackupRetentionPeriod()Get 基础备份保留时长StringgetMaxBackupStartTime()Get 开始备份的最晚时间StringgetMinBackupStartTime()Get 开始备份的最早时间voidsetBackupPeriod(String BackupPeriod)Set 备份周期voidsetBaseBackupRetentionPeriod(Long BaseBackupRetentionPeriod)Set 基础备份保留时长voidsetMaxBackupStartTime(String MaxBackupStartTime)Set 开始备份的最晚时间voidsetMinBackupStartTime(String MinBackupStartTime)Set 开始备份的最早时间voidtoMap(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- 开始备份的最晚时间
-
-