Interface SizingDatabaseBackupConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SizingDatabaseBackupConfiguration.Builder,,SizingDatabaseBackupConfiguration> SdkBuilder<SizingDatabaseBackupConfiguration.Builder,,SizingDatabaseBackupConfiguration> SdkPojo
- Enclosing class:
SizingDatabaseBackupConfiguration
@Mutable
@NotThreadSafe
public static interface SizingDatabaseBackupConfiguration.Builder
extends SdkPojo, CopyableBuilder<SizingDatabaseBackupConfiguration.Builder,SizingDatabaseBackupConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionbackupRules(Collection<SizingBackupRule> backupRules) The backup rules used in the sizing calculation.backupRules(Consumer<SizingBackupRule.Builder>... backupRules) The backup rules used in the sizing calculation.backupRules(SizingBackupRule... backupRules) The backup rules used in the sizing calculation.fullBackupAfterDays(Integer fullBackupAfterDays) The full backup threshold used in the sizing calculation, in days.logChangeRatePercent(Double logChangeRatePercent) The amount of transaction log data that the database generates each day, as a percentage of the database size.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
backupRules
The backup rules used in the sizing calculation.
- Parameters:
backupRules- The backup rules used in the sizing calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupRules
The backup rules used in the sizing calculation.
- Parameters:
backupRules- The backup rules used in the sizing calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupRules
SizingDatabaseBackupConfiguration.Builder backupRules(Consumer<SizingBackupRule.Builder>... backupRules) The backup rules used in the sizing calculation.
This is a convenience method that creates an instance of theSizingBackupRule.Builderavoiding the need to create one manually viaSizingBackupRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackupRules(List<SizingBackupRule>).- Parameters:
backupRules- a consumer that will call methods onSizingBackupRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fullBackupAfterDays
The full backup threshold used in the sizing calculation, in days.
- Parameters:
fullBackupAfterDays- The full backup threshold used in the sizing calculation, in days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logChangeRatePercent
The amount of transaction log data that the database generates each day, as a percentage of the database size. Required when a backup rule has
EnableContinuousBackupset totrue, and not allowed otherwise.- Parameters:
logChangeRatePercent- The amount of transaction log data that the database generates each day, as a percentage of the database size. Required when a backup rule hasEnableContinuousBackupset totrue, and not allowed otherwise.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-