public class UpdateAutoSnapshotPolicyRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
UpdateAutoSnapshotPolicyRequest() |
UpdateAutoSnapshotPolicyRequest(UpdateAutoSnapshotPolicyRequest 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 |
getAutoSnapshotPolicyId()
Get Snapshot policy ID
|
String |
getDayOfMonth()
Get The specific day of the month on which to create a snapshot.
|
String |
getDayOfWeek()
Get The day of the week on which to regularly back up the snapshot
|
String |
getHour()
Get The hour of a day at which to regularly back up the snapshot
|
Long |
getIntervalDays()
Get The snapshot interval.
|
Long |
getIsActivated()
Get Whether to activate the scheduled snapshot feature
|
String |
getPolicyName()
Get Snapshot policy name
|
void |
setAliveDays(Long AliveDays)
Set Snapshot retention period
|
void |
setAutoSnapshotPolicyId(String AutoSnapshotPolicyId)
Set Snapshot policy ID
|
void |
setDayOfMonth(String DayOfMonth)
Set The specific day of the month on which to create a snapshot.
|
void |
setDayOfWeek(String DayOfWeek)
Set The day of the week on which to regularly back up the snapshot
|
void |
setHour(String Hour)
Set The hour of a day at which to regularly back up the snapshot
|
void |
setIntervalDays(Long IntervalDays)
Set The snapshot interval.
|
void |
setIsActivated(Long IsActivated)
Set Whether to activate the scheduled snapshot feature
|
void |
setPolicyName(String PolicyName)
Set Snapshot policy name
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public UpdateAutoSnapshotPolicyRequest()
public UpdateAutoSnapshotPolicyRequest(UpdateAutoSnapshotPolicyRequest source)
public String getAutoSnapshotPolicyId()
public void setAutoSnapshotPolicyId(String AutoSnapshotPolicyId)
AutoSnapshotPolicyId
- Snapshot policy IDpublic String getPolicyName()
public void setPolicyName(String PolicyName)
PolicyName
- Snapshot policy namepublic String getDayOfWeek()
public void setDayOfWeek(String DayOfWeek)
DayOfWeek
- The day of the week on which to regularly back up the snapshotpublic String getHour()
public void setHour(String Hour)
Hour
- The hour of a day at which to regularly back up the snapshotpublic Long getAliveDays()
public void setAliveDays(Long AliveDays)
AliveDays
- Snapshot retention periodpublic Long getIsActivated()
public void setIsActivated(Long IsActivated)
IsActivated
- Whether to activate the scheduled snapshot featurepublic String getDayOfMonth()
public void setDayOfMonth(String DayOfMonth)
DayOfMonth
- The specific day of the month on which to create a snapshot. This parameter is mutually exclusive with `DayOfWeek`.public Long getIntervalDays()
public void setIntervalDays(Long IntervalDays)
IntervalDays
- The snapshot interval. This parameter is mutually exclusive with `DayOfWeek` and `DayOfMonth`.Copyright © 2024. All rights reserved.