public class CreateAutoSnapshotPolicyRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
CreateAutoSnapshotPolicyRequest()  | 
CreateAutoSnapshotPolicyRequest(CreateAutoSnapshotPolicyRequest 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 | 
|---|---|
Long | 
getAliveDays()
Get Snapshot retention period 
 | 
String | 
getDayOfMonth()
Get The specific day (day 1 to day 31) of the month on which to automatically create a snapshot. 
 | 
String | 
getDayOfWeek()
Get The day of the week on which to repeat the snapshot operation 
 | 
String | 
getHour()
Get The time point when to repeat the snapshot operation 
 | 
Long | 
getIntervalDays()
Get The snapshot interval, in days. 
 | 
String | 
getPolicyName()
Get Policy name 
 | 
void | 
setAliveDays(Long AliveDays)
Set Snapshot retention period 
 | 
void | 
setDayOfMonth(String DayOfMonth)
Set The specific day (day 1 to day 31) of the month on which to automatically create a snapshot. 
 | 
void | 
setDayOfWeek(String DayOfWeek)
Set The day of the week on which to repeat the snapshot operation 
 | 
void | 
setHour(String Hour)
Set The time point when to repeat the snapshot operation 
 | 
void | 
setIntervalDays(Long IntervalDays)
Set The snapshot interval, in days. 
 | 
void | 
setPolicyName(String PolicyName)
Set Policy name 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateAutoSnapshotPolicyRequest()
public CreateAutoSnapshotPolicyRequest(CreateAutoSnapshotPolicyRequest source)
public String getHour()
public void setHour(String Hour)
Hour - The time point when to repeat the snapshot operationpublic String getPolicyName()
public void setPolicyName(String PolicyName)
PolicyName - Policy namepublic String getDayOfWeek()
public void setDayOfWeek(String DayOfWeek)
DayOfWeek - The day of the week on which to repeat the snapshot operationpublic Long getAliveDays()
public void setAliveDays(Long AliveDays)
AliveDays - Snapshot retention periodpublic String getDayOfMonth()
public void setDayOfMonth(String DayOfMonth)
DayOfMonth - The specific day (day 1 to day 31) of the month on which to automatically create a snapshot.public Long getIntervalDays()
public void setIntervalDays(Long IntervalDays)
IntervalDays - The snapshot interval, in days.Copyright © 2025. All rights reserved.