Interface DbBackupConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DbBackupConfiguration.Builder,,DbBackupConfiguration> SdkBuilder<DbBackupConfiguration.Builder,,DbBackupConfiguration> SdkPojo
- Enclosing class:
DbBackupConfiguration
@Mutable
@NotThreadSafe
public static interface DbBackupConfiguration.Builder
extends SdkPojo, CopyableBuilder<DbBackupConfiguration.Builder,DbBackupConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncustomSchedule(String customSchedule) A custom cron schedule expression for the backup.Specifies whether this backup configuration is enabled.retentionDays(Integer retentionDays) The number of days to retain automated backups.The type of automated backup schedule.type(AutomatedDbBackupType type) The type of automated backup schedule.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
-
type
The type of automated backup schedule. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, and CONTINUOUS.
- Parameters:
type- The type of automated backup schedule. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, and CONTINUOUS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of automated backup schedule. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, and CONTINUOUS.
- Parameters:
type- The type of automated backup schedule. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, and CONTINUOUS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retentionDays
The number of days to retain automated backups. Valid values are 1 to 365.
- Parameters:
retentionDays- The number of days to retain automated backups. Valid values are 1 to 365.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
Specifies whether this backup configuration is enabled.
- Parameters:
enabled- Specifies whether this backup configuration is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customSchedule
A custom cron schedule expression for the backup. Required when type is CUSTOM_SCHEDULE.
- Parameters:
customSchedule- A custom cron schedule expression for the backup. Required when type is CUSTOM_SCHEDULE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-