Interface PITPolicyRule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PITPolicyRule.Builder,PITPolicyRule>,SdkBuilder<PITPolicyRule.Builder,PITPolicyRule>,SdkPojo
- Enclosing class:
- PITPolicyRule
public static interface PITPolicyRule.Builder extends SdkPojo, CopyableBuilder<PITPolicyRule.Builder,PITPolicyRule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PITPolicyRule.Builderenabled(Boolean enabled)Whether this rule is enabled or not.PITPolicyRule.Builderinterval(Integer interval)How often, in the chosen units, a snapshot should be taken.PITPolicyRule.BuilderretentionDuration(Integer retentionDuration)The duration to retain a snapshot for, in the chosen units.PITPolicyRule.BuilderruleID(Long ruleID)The ID of the rule.PITPolicyRule.Builderunits(String units)The units used to measure the interval and retentionDuration.PITPolicyRule.Builderunits(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, sdkFields
-
-
-
-
Method Detail
-
enabled
PITPolicyRule.Builder enabled(Boolean 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
PITPolicyRule.Builder interval(Integer 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
PITPolicyRule.Builder retentionDuration(Integer 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
PITPolicyRule.Builder ruleID(Long 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
PITPolicyRule.Builder units(String 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:
PITPolicyRuleUnits,PITPolicyRuleUnits
-
units
PITPolicyRule.Builder units(PITPolicyRuleUnits 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:
PITPolicyRuleUnits,PITPolicyRuleUnits
-
-