public class AdvancedRetentionPolicy extends AbstractModel
Constructor and Description |
---|
AdvancedRetentionPolicy() |
AdvancedRetentionPolicy(AdvancedRetentionPolicy 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 |
getDays()
Get Retains one latest snapshot each day within `Days` days.
|
Long |
getMonths()
Get Retains one latest snapshot each month within `Months` months.
|
Long |
getWeeks()
Get Retains one latest snapshot each week within `Weeks` weeks.
|
Long |
getYears()
Get Retains one latest snapshot each year within `Years` years.
|
void |
setDays(Long Days)
Set Retains one latest snapshot each day within `Days` days.
|
void |
setMonths(Long Months)
Set Retains one latest snapshot each month within `Months` months.
|
void |
setWeeks(Long Weeks)
Set Retains one latest snapshot each week within `Weeks` weeks.
|
void |
setYears(Long Years)
Set Retains one latest snapshot each year within `Years` years.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public AdvancedRetentionPolicy()
public AdvancedRetentionPolicy(AdvancedRetentionPolicy source)
public Long getDays()
public void setDays(Long Days)
Days
- Retains one latest snapshot each day within `Days` days. Value range: [0, 100].
Note: This field may return null, indicating that no valid values can be obtained.public Long getWeeks()
public void setWeeks(Long Weeks)
Weeks
- Retains one latest snapshot each week within `Weeks` weeks. Value range: [0, 100].
Note: This field may return null, indicating that no valid values can be obtained.public Long getMonths()
public void setMonths(Long Months)
Months
- Retains one latest snapshot each month within `Months` months. Value range: [0, 100].
Note: This field may return null, indicating that no valid values can be obtained.public Long getYears()
public void setYears(Long Years)
Years
- Retains one latest snapshot each year within `Years` years. Value range: [0, 100].
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.