Package com.pulumi.aws.dlm.outputs
Class LifecyclePolicyPolicyDetailsScheduleRetainRule
- java.lang.Object
-
- com.pulumi.aws.dlm.outputs.LifecyclePolicyPolicyDetailsScheduleRetainRule
-
public final class LifecyclePolicyPolicyDetailsScheduleRetainRule extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LifecyclePolicyPolicyDetailsScheduleRetainRule.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LifecyclePolicyPolicyDetailsScheduleRetainRule.Builder
builder()
static LifecyclePolicyPolicyDetailsScheduleRetainRule.Builder
builder(LifecyclePolicyPolicyDetailsScheduleRetainRule defaults)
java.util.Optional<java.lang.Integer>
count()
java.util.Optional<java.lang.Integer>
interval()
java.util.Optional<java.lang.String>
intervalUnit()
-
-
-
Method Detail
-
count
public java.util.Optional<java.lang.Integer> count()
- Returns:
- How many snapshots to keep. Must be an integer between `1` and `1000`.
-
interval
public java.util.Optional<java.lang.Integer> interval()
- Returns:
- The amount of time to retain each snapshot. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
-
intervalUnit
public java.util.Optional<java.lang.String> intervalUnit()
- Returns:
- The unit of time for time-based retention. Valid values: `DAYS`, `WEEKS`, `MONTHS`, or `YEARS`.
-
builder
public static LifecyclePolicyPolicyDetailsScheduleRetainRule.Builder builder()
-
builder
public static LifecyclePolicyPolicyDetailsScheduleRetainRule.Builder builder(LifecyclePolicyPolicyDetailsScheduleRetainRule defaults)
-
-