Interface FastRestoreRule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FastRestoreRule.Builder,FastRestoreRule>,SdkBuilder<FastRestoreRule.Builder,FastRestoreRule>,SdkPojo
- Enclosing class:
- FastRestoreRule
public static interface FastRestoreRule.Builder extends SdkPojo, CopyableBuilder<FastRestoreRule.Builder,FastRestoreRule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FastRestoreRule.BuilderavailabilityZones(String... availabilityZones)The Availability Zones in which to enable fast snapshot restore.FastRestoreRule.BuilderavailabilityZones(Collection<String> availabilityZones)The Availability Zones in which to enable fast snapshot restore.FastRestoreRule.Buildercount(Integer count)The number of snapshots to be enabled with fast snapshot restore.FastRestoreRule.Builderinterval(Integer interval)The amount of time to enable fast snapshot restore.FastRestoreRule.BuilderintervalUnit(String intervalUnit)The unit of time for enabling fast snapshot restore.FastRestoreRule.BuilderintervalUnit(RetentionIntervalUnitValues intervalUnit)The unit of time for enabling fast snapshot restore.-
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
-
count
FastRestoreRule.Builder count(Integer count)
The number of snapshots to be enabled with fast snapshot restore.
- Parameters:
count- The number of snapshots to be enabled with fast snapshot restore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interval
FastRestoreRule.Builder interval(Integer interval)
The amount of time to enable fast snapshot restore. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.
- Parameters:
interval- The amount of time to enable fast snapshot restore. The maximum is 100 years. This is equivalent to 1200 months, 5200 weeks, or 36500 days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intervalUnit
FastRestoreRule.Builder intervalUnit(String intervalUnit)
The unit of time for enabling fast snapshot restore.
- Parameters:
intervalUnit- The unit of time for enabling fast snapshot restore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RetentionIntervalUnitValues,RetentionIntervalUnitValues
-
intervalUnit
FastRestoreRule.Builder intervalUnit(RetentionIntervalUnitValues intervalUnit)
The unit of time for enabling fast snapshot restore.
- Parameters:
intervalUnit- The unit of time for enabling fast snapshot restore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RetentionIntervalUnitValues,RetentionIntervalUnitValues
-
availabilityZones
FastRestoreRule.Builder availabilityZones(Collection<String> availabilityZones)
The Availability Zones in which to enable fast snapshot restore.
- Parameters:
availabilityZones- The Availability Zones in which to enable fast snapshot restore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
availabilityZones
FastRestoreRule.Builder availabilityZones(String... availabilityZones)
The Availability Zones in which to enable fast snapshot restore.
- Parameters:
availabilityZones- The Availability Zones in which to enable fast snapshot restore.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-