Interface PITPolicyRule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PITPolicyRule.Builder,
,PITPolicyRule> SdkBuilder<PITPolicyRule.Builder,
,PITPolicyRule> SdkPojo
- Enclosing class:
PITPolicyRule
@Mutable
@NotThreadSafe
public static interface PITPolicyRule.Builder
extends SdkPojo, CopyableBuilder<PITPolicyRule.Builder,PITPolicyRule>
-
Method Summary
Modifier and TypeMethodDescriptionWhether this rule is enabled or not.How often, in the chosen units, a snapshot should be taken.retentionDuration
(Integer retentionDuration) The duration to retain a snapshot for, in the chosen units.The ID of the rule.The units used to measure the interval and retentionDuration.units
(PITPolicyRuleUnits units) The units used to measure the interval and retentionDuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
enabled
Whether this rule is enabled or not.
- Parameters:
enabled
- Whether this rule is enabled or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interval
How often, in the chosen units, a snapshot should be taken.
- Parameters:
interval
- How often, in the chosen units, a snapshot should be taken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionDuration
The duration to retain a snapshot for, in the chosen units.
- Parameters:
retentionDuration
- The duration to retain a snapshot for, in the chosen units.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleID
The ID of the rule.
- Parameters:
ruleID
- The ID of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
units
The units used to measure the interval and retentionDuration.
- Parameters:
units
- The units used to measure the interval and retentionDuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
units
The units used to measure the interval and retentionDuration.
- Parameters:
units
- The units used to measure the interval and retentionDuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-